@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0d2038;--navy2:#122c48;--orange:#f0a24b;--paper:#f8fafc;--ink:#142a43;--muted:#63758a;--line:#e4eaf0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:#fff}button,input,textarea,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}[hidden]{display:none!important}.top{height:92px;display:flex;justify-content:space-between;align-items:center;padding:0 max(5%,calc((100vw - 1220px)/2));border-bottom:1px solid #e8edf2;background:#fff;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:13px;font-size:24px;font-weight:800;letter-spacing:-1px}.brand b{color:#e48a2c}.brand small{display:block;font-size:10px;letter-spacing:.1px;font-weight:500;color:var(--muted);margin-top:2px}.brand-mark{display:grid;place-items:center;width:47px;height:47px;border-radius:14px;background:var(--navy);color:#fff;font-size:29px}.brand-mark span{color:var(--orange)}nav{display:flex;align-items:center;gap:28px;font-weight:700;font-size:13px}nav a:hover{color:#dc882c}.btn{background:var(--orange);color:#14283c;border:0;border-radius:11px;padding:15px 23px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:16px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px);background:#f5b76c}.btn.small{padding:12px 18px}.btn.secondary{background:#fff;border:1px solid #d9e2eb}.btn.light{background:#fff}.btn.full{width:100%}.hero{background:var(--navy);color:#fff;min-height:530px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden}.hero-copy{padding:92px 5% 85px max(7%,calc((100vw - 1170px)/2));max-width:780px}.eyebrow{color:#e99d45;font-size:11px;font-weight:800;letter-spacing:2.3px}.hero h1{font-family:Manrope,sans-serif;font-size:clamp(36px,4.2vw,63px);line-height:1.14;letter-spacing:-2.5px;margin:20px 0}.hero h1 em{color:var(--orange);font-style:normal}.hero-copy>p{font-size:17px;line-height:1.8;color:#b7c6d6;max-width:550px}.actions{display:flex;gap:12px;margin:30px 0}.trust{display:flex;flex-wrap:wrap;gap:16px;color:#c6d2df;font-size:12px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 55% 48%,#274968 0,#122c48 44%,#0d2038 72%);min-height:400px}.question-icon{width:255px;height:255px;display:grid;place-items:center;border:2px solid #f4ae5e;border-radius:65px;transform:rotate(-9deg);font-family:Manrope;font-size:200px;line-height:1;color:#f4ae5e;font-weight:800;box-shadow:0 0 100px #e6a14b22}.float{position:absolute;background:#fff;color:var(--navy);border-radius:14px;padding:15px 18px;box-shadow:0 20px 50px #0003;font-weight:800;font-size:13px;z-index:1}.float.one{top:22%;left:3%;transform:rotate(-7deg)}.float.two{bottom:22%;right:8%;transform:rotate(7deg)}.hero-label{position:absolute;bottom:24px;color:#d4e1ef44;font-size:12px;letter-spacing:5px;font-weight:800}.section{max-width:1220px;margin:auto;padding:85px 5%}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:32px}.section h2,.cta h2{font-family:Manrope;font-size:clamp(26px,3vw,39px);letter-spacing:-1.4px;margin:12px 0}.section-head p{color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px 21px;text-align:left;transition:all .2s;min-height:138px}.category:hover{border-color:#f1b56b;transform:translateY(-3px);box-shadow:0 12px 28px #152b4012}.cat-icon{display:grid;place-items:center;width:44px;height:44px;background:#fff3e5;border-radius:12px;font-size:23px;margin-bottom:18px}.category strong{font-size:14px}.category p{color:var(--muted);font-size:12px;margin:7px 0 0}.how{background:#f7f9fc;max-width:none;padding-left:max(5%,calc((100vw - 1100px)/2));padding-right:max(5%,calc((100vw - 1100px)/2))}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.steps article{padding:30px;border-radius:17px;background:#fff;border:1px solid var(--line)}.steps strong{font-size:30px;color:#e8a253}.steps h3{margin:15px 0 6px}.steps p{color:var(--muted);line-height:1.7}.cta{text-align:center;background:var(--navy2);color:white;padding:70px 20px}.cta p{color:#c5d0dc}.cta button{margin-top:15px}footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:30px 5%;color:var(--muted);font-size:12px;flex-wrap:wrap}footer strong{color:var(--ink);font-size:19px}.account{padding-top:65px}.tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.tabs button,.mode button{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px 17px;font-weight:800;color:var(--ink)}.tabs button.active,.mode button.active{background:var(--navy);color:#fff}.panel{max-width:760px;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:30px}.panel h3{margin-top:0}label{display:block;font-size:13px;font-weight:800;margin:17px 0}input,textarea,select{width:100%;padding:14px 15px;border:1px solid #d6e0e9;border-radius:10px;margin-top:8px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#e99d45;box-shadow:0 0 0 3px #f2b56a22}.stack{display:grid;gap:15px}.item{border:1px solid var(--line);border-radius:15px;padding:22px;background:#fff}.item h3{margin:7px 0}.item p{line-height:1.7;white-space:pre-wrap}.meta{font-size:12px;color:var(--muted)}.pill{font-size:11px;font-weight:800;border-radius:20px;padding:6px 10px;background:#eaf1f8;display:inline-block}.pill.pending{background:#fff2db;color:#a96b16}.pill.answered{background:#e2f5e9;color:#1b8050}.pill.closed{background:#ececf0;color:#68707b}.answer{background:#eff6fd;border-left:3px solid #6da4d5;padding:15px;margin-top:15px;border-radius:7px}.admin-toolbar{display:flex;justify-content:space-between;align-items:center}.admin-toolbar select{max-width:200px}.reply textarea{margin:15px 0}.modal{position:fixed;inset:0;background:#081c31b9;z-index:9;display:grid;place-items:center;padding:20px}.modal-card{width:min(100%,470px);background:white;border-radius:20px;padding:34px;position:relative;max-height:90vh;overflow:auto}.modal-heading h2{font-size:29px;margin:10px 0 20px}.close{position:absolute;top:15px;right:18px;border:0;background:transparent;font-size:30px}.mode{display:flex;gap:6px;flex-wrap:wrap}.mode button{font-size:12px;padding:9px 12px}.hint{font-size:12px;color:var(--muted)}.toast{position:fixed;right:20px;bottom:20px;background:var(--navy);color:white;padding:16px 22px;border-radius:12px;z-index:20;max-width:380px;box-shadow:0 12px 35px #0003}.toast.error{background:#9b2d2d}@media(max-width:850px){.top{height:auto;padding:16px 5%;gap:10px}.brand{font-size:19px}.brand small{font-size:9px}nav{gap:10px}nav a{display:none}.hero{grid-template-columns:1fr}.hero-copy{padding:65px 6% 45px}.hero-art{min-height:290px}.question-icon{width:160px;height:160px;border-radius:40px;font-size:130px}.float.one{top:15%}.float.two{bottom:14%}.category-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr}.section{padding:60px 5%}.section-head{display:block}.section-head p{margin-top:10px}}@media(max-width:480px){.category-grid{gap:9px}.category{padding:17px 13px;min-height:125px}.cat-icon{margin-bottom:11px}.category strong{font-size:12px}.category p{font-size:11px}.trust{gap:10px}.hero h1{letter-spacing:-1.5px}.actions{flex-wrap:wrap}.float{font-size:10px;padding:11px}.modal-card{padding:23px}}/* Security notice is styled in index.html to keep it visually attached to the form. */

.account-navigation{display:flex;gap:8px;margin:0 0 14px}
.category-heading{font-size:1.35rem;margin:12px 0 6px;color:#172b45}
.category-intro{color:#64748b;margin:0 0 20px}
.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.category-detail-head{display:flex;align-items:center;gap:14px;padding:18px 0}
.category-detail-head h3{margin:0 0 5px}.category-detail-head p{margin:0;color:#64748b}
.category-detail-head .cat-icon{font-size:2rem}
.conversation{display:grid;gap:10px;margin:16px 0}
.chat-message{padding:12px 14px;border-radius:14px;background:#f1f5f9;max-width:92%}
.chat-message.mine{margin-left:auto;background:#fff2d6}
.chat-message .chat-meta{font-size:.78rem;color:#64748b;margin-bottom:5px}
.chat-message p{white-space:pre-wrap;margin:0}
.message-compose{display:grid;gap:10px;margin-top:14px}
.message-compose textarea{width:100%;min-height:90px}
.conversation-closed{padding:10px 12px;border-radius:10px;background:#fef2f2;color:#991b1b}
@media(max-width:600px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* İbrahim'e Sor kategori arayüzü: siyah-altın tasarım */
.account-shell{min-height:100vh;background:#050505;color:#fff;font-family:'DM Sans',Arial,sans-serif;background-image:radial-gradient(ellipse at 50% 0,rgba(112,78,12,.28),transparent 48%)}
.account-top{background:#080808;border-bottom:1px solid #5e4815;color:#fff}
.account-brand{color:#fff}.account-brand b{color:#e0b52d}
.logout-btn{border-color:#b88d19;color:#f2d36a}
.account-shell .section{max-width:1040px;padding:32px 28px 56px}
.account-shell .section-head{margin-bottom:18px}
.account-shell .section-head h2{color:#fff;margin:8px 0}
.account-shell .section-head p{color:#b7b7b7}
.account-navigation{justify-content:space-between;margin:0 0 18px}
.account-navigation .btn{width:48%;border:1px solid #a78017;background:linear-gradient(145deg,#222,#050505);color:#f4d56b;border-radius:12px}
.account-shell .tabs{gap:8px;margin-bottom:24px}
.account-shell .tabs button{background:linear-gradient(145deg,#202020,#080808);border:1px solid #705510;color:#eee;border-radius:12px}
.account-shell .tabs button.active{background:linear-gradient(145deg,#5b4510,#171108);border-color:#e2b52a;color:#ffe38a}
.category-heading{font-size:1.45rem!important;letter-spacing:1.5px;color:#fff!important;margin:20px 0 24px!important}
.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.category{min-height:142px!important;border:1.5px solid #806112!important;border-radius:25px!important;background:linear-gradient(155deg,#242424,#080808)!important;color:#fff!important;text-align:center!important;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 8px!important;box-shadow:0 8px 22px #0009,inset 0 1px #ffffff18}
.category:hover{border-color:#f0d36d!important;transform:translateY(-2px)}
.category .cat-icon{display:block;background:none!important;width:auto;height:auto;font-size:42px!important;margin:0 0 12px!important}
.category strong{font-size:clamp(13px,2vw,18px)!important;letter-spacing:1px;color:#fff}
.category p{display:none!important}
.category-page-title{display:flex;align-items:center;gap:16px;margin:8px 0 24px}
.category-page-title h3{font-size:22px;letter-spacing:1.4px;margin:0;color:#fff}
.back-arrow{border:0;background:none;color:#e0ad17;font-size:40px;line-height:1;padding:0 4px;cursor:pointer}
.category-detail-head{display:block;padding:20px 22px!important;border:1.5px solid #725510;border-radius:24px;background:linear-gradient(145deg,#202020,#090909);margin-bottom:22px}
.category-detail-head p{color:#fff!important;font-size:18px;line-height:1.7;margin:0}
.subcategory-list{display:grid;gap:14px}
.subcategory{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;padding:19px 22px;border:2px solid #e0c45e;border-radius:24px;background:linear-gradient(145deg,#222,#050505);color:#fff;font-size:18px;font-weight:800;letter-spacing:.4px}
.subcategory span{color:#f0d36d;font-size:28px;line-height:1}
.subcategory:active{transform:scale(.985)}
.account-shell .panel{max-width:none;background:linear-gradient(145deg,#1b1b1b,#080808);border:1.5px solid #806112;border-radius:20px;color:#fff;padding:22px}
.account-shell .panel h3{color:#f5d875}
.account-shell label{color:#eee}
.account-shell input,.account-shell textarea,.account-shell select{background:#101010;color:#fff;border:1px solid #725510}
.account-shell .security-notice{background:#211b0b;color:#f5e6b8;border-color:#b48b22}
.account-shell .security-title{color:#f6d46b}
.account-shell .security-notice p{color:#f0e7d1}
.account-shell .security-check{color:#eee}
.account-shell .btn{background:linear-gradient(135deg,#f8e18a,#c49316);color:#161108;border:0}
.account-shell .btn.secondary{background:#161616;border:1px solid #99761b;color:#f4d875}
.account-shell .item{background:linear-gradient(145deg,#202020,#090909);border:1px solid #705510;color:#fff}
.account-shell .item p,.account-shell .meta{color:#c7c0ae}
.account-shell .chat-message{background:#292929;color:#fff}.account-shell .chat-message.mine{background:#3a2e11}
.account-shell .chat-message .chat-meta{color:#d8c78e}
.account-footer{background:#080808;color:#8d815f;border-top:1px solid #3d3218}
@media(max-width:600px){.account-shell .section{padding:24px 16px 40px}.category{min-height:112px!important;border-radius:20px!important}.category .cat-icon{font-size:34px!important}.category-page-title h3{font-size:19px}.subcategory{font-size:15px;padding:17px 18px}.category-detail-head p{font-size:16px}}

/* İlk açılış ekranı açıklama metni */
.welcome-copy{max-width:650px;margin:0 auto}
.welcome-copy p{margin:0 auto 14px;max-width:650px}
.welcome-copy .privacy-copy{font-size:14px;color:#a9a397}
@media(max-width:480px){
  .welcome-copy p{font-size:14px;line-height:1.72;margin-bottom:12px}
  .welcome-copy .privacy-copy{font-size:12px}
}


/* GLOBAL ACCOUNT THEME FIX — siyah zemin, beyaz metin, gold vurgu */
html, body { background:#050505 !important; color:#f7f7f7 !important; }
body { background:#050505 !important; }
.account-shell,
.account-shell main,
.account-shell .section,
.account-shell .account-content,
.account-shell .content,
.account-shell .workspace,
.account-shell .dashboard,
.account-shell .main-content {
  background:#050505 !important;
  color:#f7f7f7 !important;
}
.account-shell .section,
.account-shell .section * {
  color:inherit;
}
.account-shell .section-head h1,
.account-shell .section-head h2,
.account-shell .section-head h3,
.account-shell h1,
.account-shell h2,
.account-shell h3,
.account-shell h4,
.account-shell .section-title {
  color:#ffffff !important;
}
.account-shell .section-head p,
.account-shell p,
.account-shell small,
.account-shell .muted,
.account-shell .description,
.account-shell .empty-state {
  color:#d0d0d0 !important;
}
.account-shell .eyebrow,
.account-shell .section-kicker,
.account-shell .gold,
.account-shell strong,
.account-shell .highlight {
  color:#e5bd45 !important;
}
.account-shell .panel,
.account-shell .card,
.account-shell .item,
.account-shell .list-item,
.account-shell .question-card,
.account-shell .answer-card,
.account-shell .notification,
.account-shell .admin-card,
.account-shell .table-wrap {
  background:linear-gradient(145deg,#202020,#090909) !important;
  color:#f7f7f7 !important;
  border:1px solid #80651b !important;
  box-shadow:0 8px 24px #0008 !important;
}
.account-shell table,
.account-shell thead,
.account-shell tbody,
.account-shell tr,
.account-shell td,
.account-shell th {
  background:#111111 !important;
  color:#f7f7f7 !important;
  border-color:#554414 !important;
}
.account-shell input,
.account-shell textarea,
.account-shell select {
  background:#111111 !important;
  color:#ffffff !important;
  border:1px solid #80651b !important;
  caret-color:#f0d36d;
}
.account-shell input::placeholder,
.account-shell textarea::placeholder {
  color:#a9a9a9 !important;
  opacity:1;
}
.account-shell label { color:#eeeeee !important; }
.account-shell button:not(.btn):not(.logout-btn):not(.back-arrow) {
  background:#171717;
  color:#f5d875;
  border-color:#80651b;
}
.account-shell a { color:#f0d36d; }
.account-shell .status,
.account-shell .notice,
.account-shell .alert {
  background:#211b0b !important;
  color:#f5e6b8 !important;
  border-color:#b48b22 !important;
}
.account-footer,
.account-shell footer {
  background:#080808 !important;
  color:#a99b76 !important;
}


/* MESAJLAŞMA EKRANI — beyaz alanları kaldır, siyah/gold görünümü sabitle */
.account-shell .conversation,
.account-shell .message-compose,
.account-shell .message-compose label,
.account-shell #myQuestions,
.account-shell #adminQuestions,
.account-shell #myQuestions > *,
.account-shell #adminQuestions > * {
  background: transparent !important;
  color: #f7f7f7 !important;
}
.account-shell .conversation .chat-message,
.account-shell .chat-message {
  background: linear-gradient(145deg,#242424,#111111) !important;
  color: #ffffff !important;
  border: 1px solid #665018 !important;
  box-shadow: none !important;
}
.account-shell .conversation .chat-message.mine,
.account-shell .chat-message.mine {
  background: linear-gradient(145deg,#382d12,#211a0b) !important;
  color: #ffffff !important;
  border: 1px solid #b18b26 !important;
}
.account-shell .chat-message p,
.account-shell .chat-message .chat-meta {
  color: #ffffff !important;
}
.account-shell .chat-message .chat-meta {
  color: #e4c45f !important;
}
.account-shell .message-compose,
.account-shell .message-compose label {
  color: #ffffff !important;
}
.account-shell .message-compose textarea,
.account-shell .conversation textarea,
.account-shell textarea[name="body"] {
  background: #101010 !important;
  color: #ffffff !important;
  border: 1px solid #80651b !important;
  border-radius: 12px !important;
}
.account-shell .message-compose textarea::placeholder {
  color: #a9a9a9 !important;
}
.account-shell .conversation-closed {
  background: #211b0b !important;
  color: #f5e6b8 !important;
  border: 1px solid #b48b22 !important;
}
.account-shell .item,
.account-shell .item * {
  color: #f7f7f7;
}
.account-shell .item {
  background: linear-gradient(145deg,#202020,#090909) !important;
}


/* Yönetici gelen kutusu: ince satırlı başlık listesi */
.admin-inbox-list{display:grid;gap:0;border-top:1px solid #5d4918}
.admin-inbox-row{
 width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:13px 14px;text-align:left;border:0!important;border-bottom:1px solid #4b3c19!important;
 border-radius:0!important;background:#0b0b0b!important;color:#fff!important;
}
.admin-inbox-row:hover,.admin-inbox-row.selected{background:#191508!important}
.admin-inbox-main{display:grid;gap:4px;min-width:0;flex:1}
.admin-inbox-title{font-size:14px;font-weight:700;color:#f4d875!important;overflow-wrap:anywhere}
.admin-inbox-meta,.admin-inbox-preview{font-size:11px;color:#c7c0ae!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-inbox-side{display:flex;align-items:flex-end;flex-direction:column;gap:4px;flex-shrink:0}
.admin-inbox-status{font-size:10px;color:#e5c65d!important}
.admin-inbox-date{font-size:10px;color:#999!important}
.admin-inbox-arrow{font-size:22px;line-height:1;color:#e5bd45!important}
.admin-thread-view{margin-top:18px;padding-top:16px;border-top:1px solid #80651b}
.admin-thread-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px}
.admin-thread-heading h3{margin:2px 0 5px;color:#fff}
.admin-thread-heading p{margin:0;color:#c7c0ae;font-size:12px}
@media(max-width:600px){
 .admin-inbox-row{padding:11px 9px;gap:8px}
 .admin-inbox-title{font-size:12px}
 .admin-inbox-meta,.admin-inbox-preview,.admin-inbox-date{font-size:10px}
 .admin-inbox-side{max-width:92px}
}

/* Kullanıcının Sorularım sekmesi: ince satırlı liste ve açılan konuşma */
.account-shell #myQuestions .admin-inbox-list{border-top:1px solid #5d4918}
.account-shell #myQuestions .admin-inbox-row{width:100%;min-height:64px}
.account-shell #myQuestions .admin-inbox-title{color:#f4d875!important}
.account-shell #myQuestions .admin-inbox-preview{max-width:100%}
.mine-thread-view{display:grid;gap:14px}
.mine-thread-view>.btn{justify-self:start}
