:root{
--bg:#071725;--bg2:#0b2234;--surface:#0f2537;--surface2:#122c41;--text:#f6f8fb;--muted:#a6b7c6;
--line:rgba(104,196,255,.16);--blue:#54c7ff;--blue2:#279fe3;--pink:#ff5e97;--pink2:#e53b7c;
--lime:#bdd416;--orange:#f04a22;--success:#33d17a;--danger:#ff6b6b;--white:#ffffff;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:
radial-gradient(circle at 18% 0%,rgba(39,159,227,.13),transparent 28%),
radial-gradient(circle at 85% 10%,rgba(255,94,151,.08),transparent 26%),
linear-gradient(180deg,var(--bg),#07131e 55%,#06111a);color:var(--text);line-height:1.55;min-height:100vh}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.14;background-image:
linear-gradient(rgba(84,199,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(84,199,255,.05) 1px,transparent 1px);
background-size:46px 46px;mask-image:linear-gradient(to bottom,black,transparent 72%)}
a{color:var(--blue);text-decoration:none}.container{width:min(1140px,calc(100% - 32px));margin:auto}.narrow{width:min(680px,calc(100% - 32px));padding-top:42px}
.site-header,.admin-header{position:sticky;top:0;z-index:20;background:rgba(5,18,29,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:15px;color:#fff}.brand img{width:74px;height:54px;object-fit:cover;object-position:center;border-radius:12px;box-shadow:0 6px 22px rgba(0,0,0,.22)}.brand>div{display:flex;flex-direction:column}.brand strong{font-size:18px;letter-spacing:.01em}.brand span{font-size:12px;color:var(--muted);letter-spacing:.12em;text-transform:uppercase}.header-actions{display:flex;gap:10px}
.hero{padding:76px 0 38px;display:grid;grid-template-columns:1.65fr .85fr;gap:28px;align-items:center}.hero h1{font-size:clamp(38px,6vw,66px);line-height:1.03;margin:14px 0 18px;max-width:860px;letter-spacing:-.035em}.hero h1:after{content:"";display:block;width:120px;height:4px;margin-top:20px;border-radius:99px;background:linear-gradient(90deg,var(--blue),var(--pink))}.hero p{font-size:18px;color:var(--muted);max-width:730px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.card,.mini-card{background:linear-gradient(180deg,rgba(18,44,65,.95),rgba(10,30,45,.95));border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 18px 55px rgba(0,0,0,.2);margin-bottom:26px}.mini-card{margin:0}.branded-mini{position:relative;overflow:hidden}.branded-mini:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(84,199,255,.16);border-radius:50%;right:-60px;top:-70px;box-shadow:0 0 0 30px rgba(255,94,151,.03)}.mini-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,var(--blue),var(--pink));display:flex;align-items:center;justify-content:center;font-weight:900;color:#06111a;margin-bottom:18px}
.pill{display:inline-flex;background:rgba(84,199,255,.1);color:var(--blue);border:1px solid rgba(84,199,255,.25);padding:7px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.06em}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2{margin:4px 0 0;font-size:30px}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--pink);font-weight:800}.secure-note{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:7px 10px}
.grid-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-form .full{grid-column:1/-1}label{display:block;font-weight:700;font-size:13px;color:#d8e4ee}input,select,textarea{width:100%;margin-top:7px;padding:13px 14px;border:1px solid rgba(116,182,224,.22);border-radius:12px;background:#091c2b;color:var(--text);font:inherit;transition:.18s}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#71879a}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(84,199,255,.11)}
.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);border-radius:12px;padding:11px 17px;font-weight:800;cursor:pointer;transition:.18s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:linear-gradient(135deg,var(--blue),#59a9ff);color:#04131f;border-color:transparent;box-shadow:0 8px 24px rgba(84,199,255,.18)}.btn.primary:hover{filter:brightness(1.06)}.btn.ghost{background:transparent;color:#fff}.btn.ghost-dark,.btn.soft{background:rgba(255,255,255,.035);color:var(--text)}.whatsapp-top{background:#1fbf68;color:#fff;border-color:#1fbf68}
.alert{border-radius:14px;padding:15px 17px;margin:18px 0}.alert.error{background:rgba(255,107,107,.08);color:#ff9a9a;border:1px solid rgba(255,107,107,.25)}.alert.success{background:rgba(51,209,122,.08);color:#7cf0ae;border:1px solid rgba(51,209,122,.25)}.muted{color:var(--muted);font-weight:400}.form-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ticket-result{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.status,.priority{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(255,94,151,.1);border:1px solid rgba(255,94,151,.16);color:#ff8ab1;font-size:12px;font-weight:800}
.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;padding:28px 0 18px}.stat{background:linear-gradient(180deg,rgba(18,44,65,.95),rgba(10,30,45,.95));border:1px solid var(--line);border-radius:15px;padding:16px;color:var(--text)}.stat:hover{border-color:rgba(84,199,255,.42)}.stat b{font-size:28px;display:block;color:var(--blue)}.stat span{font-size:12px;color:var(--muted)}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.searchbar{display:flex;gap:10px;flex:1}.searchbar input{margin:0}.table-wrap{overflow:auto;margin-top:18px}table{width:100%;border-collapse:collapse;min-width:900px}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:11px;color:#8fa7bb;text-transform:uppercase;letter-spacing:.08em}td small{display:block;color:var(--muted)}
.top-space{padding-top:28px}.detail-grid{display:grid;grid-template-columns:1.6fr .8fr;gap:22px}.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.description{background:#091c2b;border:1px solid var(--line);border-radius:13px;padding:16px}.file-link{display:block;margin:8px 0}.back{font-weight:800}.login-card{text-align:left}.login-logo{text-align:center;margin-bottom:18px}.login-logo img{max-width:300px;width:72%;border-radius:18px}.admin-brand{display:flex;align-items:center;gap:13px}.admin-brand img{width:64px;height:46px;object-fit:cover;border-radius:10px}.admin-brand>div{display:flex;flex-direction:column}
.whatsapp-float{position:fixed;right:24px;bottom:24px;z-index:30;background:#20bd68;color:#fff;border-radius:999px;padding:11px 16px 11px 10px;display:flex;align-items:center;gap:10px;font-weight:850;box-shadow:0 14px 36px rgba(0,0,0,.3)}.wa-dot{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#128c4f;font-size:11px;font-weight:900}
footer{margin-top:38px;border-top:1px solid var(--line);padding:30px 0;color:var(--muted);font-size:13px}.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-inner div{display:flex;flex-direction:column}.footer-inner b{color:#fff}
@media(max-width:820px){.hero,.detail-grid{grid-template-columns:1fr}.hero{padding-top:48px}.grid-form{grid-template-columns:1fr}.grid-form .full{grid-column:auto}.stats{grid-template-columns:repeat(2,1fr)}.meta-grid{grid-template-columns:1fr 1fr}.toolbar{align-items:stretch;flex-direction:column}.searchbar{flex-direction:column}.header-inner{align-items:flex-start;padding:14px 0}.header-actions{width:100%}.header-actions .btn{flex:1}.brand img{width:60px;height:46px}.brand span{letter-spacing:.06em}.whatsapp-float span:last-child{display:none}.whatsapp-float{padding:9px;right:16px;bottom:16px}.footer-inner{flex-direction:column;align-items:flex-start}}

.full-btn{width:100%}.conversation{display:flex;flex-direction:column;gap:12px;margin:8px 0 24px}.message{max-width:86%;border-radius:16px;padding:14px 16px;border:1px solid var(--line)}.message-customer{align-self:flex-start;background:rgba(84,199,255,.07)}.message-admin{align-self:flex-end;background:rgba(255,94,151,.08);border-color:rgba(255,94,151,.18)}.message-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:7px}.message-head span{font-size:11px;color:var(--muted)}.message-body{white-space:normal}.reply-form{border-top:1px solid var(--line);padding-top:20px}.staff-list{display:flex;flex-direction:column;gap:10px}.staff-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}.staff-row>div:first-child{display:flex;flex-direction:column}.staff-row span{color:var(--muted);font-size:12px}.row-actions{display:flex;gap:8px;align-items:center}.row-actions form{margin:0}.btn.small{padding:7px 10px;font-size:12px}.check-label{display:flex;align-items:center;gap:9px;margin:14px 0}.check-label input{width:auto;margin:0}.sticky-side{position:sticky;top:112px;height:max-content}.customer-grid{grid-template-columns:1.8fr .55fr}.admin-ticket-grid{grid-template-columns:1.7fr .72fr}
@media(max-width:820px){.customer-grid,.admin-ticket-grid{grid-template-columns:1fr}.sticky-side{position:static}.staff-row{align-items:flex-start;flex-direction:column}.row-actions{width:100%;flex-wrap:wrap}.message{max-width:96%}}


/* V7.4 - Ana sayfa kurumsal görünüm */
.site-header .brand{
    min-width:0;
}
.site-header .brand img{
    width:118px;
    height:76px;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
    box-shadow:0 8px 26px rgba(0,0,0,.28);
    flex:0 0 auto;
}
.site-header .brand>div{
    min-width:0;
}
.site-header .brand strong{
    font-size:20px;
    line-height:1.15;
}
.site-header .brand span{
    font-size:12px;
    letter-spacing:.09em;
    margin-top:4px;
}

.corporate-footer{
    margin-top:54px;
    border-top:1px solid var(--line);
    background:linear-gradient(180deg,rgba(7,23,37,.94),rgba(4,14,23,.98));
    color:var(--muted);
}
.footer-grid{
    display:grid;
    grid-template-columns:1.25fr 1fr 1fr;
    gap:34px;
    padding:34px 0 26px;
}
.footer-brand{
    display:flex;
    align-items:center;
    gap:16px;
}
.footer-brand img{
    width:108px;
    height:72px;
    object-fit:cover;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.footer-brand div,
.footer-company,
.footer-contact{
    display:flex;
    flex-direction:column;
    gap:7px;
}
.footer-brand strong,
.footer-company b,
.footer-contact b{
    color:#fff;
}
.footer-brand strong{
    font-size:15px;
    line-height:1.35;
}
.footer-brand span{
    font-size:12px;
}
.footer-company span,
.footer-company a,
.footer-contact a{
    font-size:13px;
    line-height:1.55;
}
.footer-company a,
.footer-contact a{
    color:var(--blue);
    transition:.18s ease;
}
.footer-company a:hover,
.footer-contact a:hover{
    color:#fff;
    transform:translateX(2px);
}
.footer-bottom{
    border-top:1px solid var(--line);
    padding:17px 0 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    font-size:12px;
}
.footer-bottom a{
    color:var(--blue);
    font-weight:700;
}

@media(max-width:820px){
    .site-header .brand img{
        width:86px;
        height:58px;
    }
    .site-header .brand strong{
        font-size:16px;
    }
    .footer-grid{
        grid-template-columns:1fr;
        gap:24px;
    }
    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* V8 - Servis yönetimi ve ileri mobil deneyim */
.form-section-title{display:flex;align-items:center;gap:12px;margin-top:10px;padding:14px 16px;border-radius:14px;background:rgba(84,199,255,.06);border:1px solid var(--line)}
.form-section-title>span{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--pink));color:#06111a;font-weight:900;flex:0 0 auto}
.form-section-title div{display:flex;flex-direction:column}.form-section-title b{font-size:14px;color:#fff}.form-section-title small{font-size:12px;color:var(--muted);font-weight:400}
.device-fields{display:none}.device-fields.is-open{display:block}.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px}.device-grid .full{grid-column:1/-1}
.admin-form-separator{font-size:11px;letter-spacing:.12em;color:var(--blue);font-weight:900;margin:24px 0 10px;padding-top:16px;border-top:1px solid var(--line)}
.detail-actions{display:flex;gap:10px;margin:14px 0}.service-summary,.service-customer-card{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.025)}.service-summary h3{margin-top:0}
.service-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.service-kpi{min-height:78px;padding:14px 16px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.025);display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.service-kpi span{font-size:13px;line-height:1.3;color:var(--muted);font-weight:700}.service-kpi b{font-size:28px;line-height:1;color:var(--blue);margin:0;flex:0 0 auto}
.history-list{display:flex;flex-direction:column;gap:10px}.history-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025);color:var(--text)}.history-item>div{display:flex;flex-direction:column;gap:4px}.history-item small,.history-item span{color:var(--muted)}
input,select,textarea{min-height:48px}textarea{min-height:96px}.btn{min-height:44px}

@media(max-width:820px){
  body{font-size:15px}
  .container{width:min(100% - 22px,1140px)}
  .site-header{position:relative}
  .header-inner{padding:12px 0;gap:12px}
  .site-header .brand{width:100%;gap:10px}
  .site-header .brand img{width:94px;height:64px}
  .site-header .brand strong{font-size:16px}
  .site-header .brand span{font-size:10px;letter-spacing:.04em}
  .header-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
  .header-actions .btn{width:100%;padding:11px 9px}
  .hero{padding:34px 0 24px;gap:18px}
  .hero h1{font-size:36px;line-height:1.05;margin-top:10px}
  .hero p{font-size:16px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .hero-actions .btn{width:100%}
  .card,.mini-card{padding:19px;border-radius:17px}
  .section-head{align-items:flex-start;flex-direction:column;gap:8px}
  .section-head h2{font-size:25px}
  .grid-form,.device-grid{grid-template-columns:1fr;gap:14px}
  .grid-form .full,.device-grid .full{grid-column:auto}
  label{font-size:13px}
  input,select,textarea{font-size:16px;padding:14px 13px;min-height:52px} /* iOS zoom önleme */
  textarea{min-height:120px}
  .form-actions{display:grid;grid-template-columns:1fr}
  .form-actions .btn{width:100%;min-height:52px;font-size:15px}
  .form-section-title{padding:12px}
  .form-section-title small{line-height:1.35}
  .whatsapp-float{width:52px;height:52px;justify-content:center;padding:0}
  .wa-dot{width:34px;height:34px}
  .stats{grid-template-columns:repeat(2,1fr);gap:9px}
  .stat{padding:13px}.stat b{font-size:24px}
  .service-kpis{grid-template-columns:repeat(2,1fr);gap:9px}
  .service-kpi{min-height:70px;padding:12px 13px}.service-kpi b{font-size:24px}
  .meta-grid{grid-template-columns:1fr}
  .admin-ticket-grid,.customer-grid{grid-template-columns:1fr}
  .sticky-side{position:static}
  .conversation{gap:9px}.message{max-width:100%;padding:12px}.message-head{flex-direction:column;gap:2px}
  .history-item{align-items:flex-start;flex-direction:column}
  .corporate-footer{margin-top:34px}.footer-grid{padding-top:26px}.footer-brand{align-items:flex-start}.footer-brand img{width:92px;height:62px}
}
@media(max-width:420px){
  .container{width:min(100% - 16px,1140px)}
  .hero h1{font-size:31px}
  .card{padding:16px}
  .site-header .brand img{width:82px;height:56px}
  .site-header .brand strong{font-size:15px}
  .header-actions{grid-template-columns:1fr 1fr}
  .stats,.service-kpis{grid-template-columns:1fr 1fr}
}


/* V8.1 - Dinamik servis kabul alanları */
#deviceFields[hidden]{
    display:none !important;
}
#deviceFields.is-open{
    display:block !important;
}


/* V9 - Teklif / müşteri onayı */
.quote-admin-card{border-color:rgba(84,199,255,.28)}
.quote-total-box{display:flex;flex-direction:column;gap:4px;padding:18px;margin:0 0 20px;border:1px solid rgba(84,199,255,.28);border-radius:16px;background:linear-gradient(135deg,rgba(84,199,255,.10),rgba(255,94,151,.05))}
.quote-total-box span{font-size:11px;color:var(--muted);letter-spacing:.08em;font-weight:800}.quote-total-box strong{font-size:30px;color:var(--blue)}.quote-total-box small{color:var(--muted)}
.quote-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.quote-form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.quote-help{max-width:55%;font-size:12px;color:var(--muted)}
.quote-badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(84,199,255,.10);border:1px solid rgba(84,199,255,.25);color:var(--blue);font-size:12px;font-weight:900}
.customer-quote-card{margin-top:18px;padding:22px;border-radius:18px;background:linear-gradient(180deg,rgba(18,44,65,.98),rgba(9,28,43,.98));border:1px solid rgba(84,199,255,.35);box-shadow:0 16px 40px rgba(0,0,0,.16)}
.quote-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.quote-card-head h2{margin:4px 0 0;font-size:26px}
.quote-lines{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.02)}.quote-lines>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border-bottom:1px solid var(--line)}.quote-lines>div:last-child{border-bottom:0}.quote-lines span{color:var(--muted)}.quote-lines strong{color:#fff}.quote-lines .quote-grand-total{background:rgba(84,199,255,.10);padding:16px 14px}.quote-lines .quote-grand-total span{color:#d8eefa;font-weight:900}.quote-lines .quote-grand-total strong{font-size:24px;color:var(--blue)}
.quote-note{margin-top:14px;padding:14px;border-radius:12px;background:#091c2b;border:1px solid var(--line);color:var(--muted)}.quote-note b{color:#fff}
.quote-consent{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.quote-consent p{color:var(--muted);font-size:13px}.quote-decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.quote-decision-actions form{margin:0}.quote-decision-actions .btn{width:100%;min-height:50px}.quote-approve{background:#1fbf68!important;color:#fff!important;border-color:#1fbf68!important}.quote-reject{background:rgba(255,107,107,.10)!important;color:#ff9a9a!important;border-color:rgba(255,107,107,.35)!important}
@media(max-width:820px){
 .quote-grid{grid-template-columns:1fr}
 .quote-form-footer{align-items:stretch;flex-direction:column}.quote-help{max-width:none}.quote-form-footer .btn{width:100%}
 .quote-card-head{flex-direction:column}.quote-card-head h2{font-size:23px}
 .quote-lines>div{gap:10px}.quote-lines .quote-grand-total{align-items:flex-start;flex-direction:column}.quote-lines .quote-grand-total strong{font-size:27px}
 .quote-decision-actions{grid-template-columns:1fr}.customer-quote-card{padding:17px}
}


/* V9.1 - Online destek / servis kabul fiyatlandırma ayrımı */
.remote-price-card{border-color:rgba(92,210,157,.28)}
.remote-price-intro{margin:-4px 0 18px;line-height:1.65}
.remote-quote-grid{grid-template-columns:1fr 1fr}
.remote-customer-price{border-color:rgba(92,210,157,.32)}
.remote-price-notice{margin-top:14px;padding:13px 14px;border-radius:12px;background:rgba(92,210,157,.07);border:1px solid rgba(92,210,157,.20);font-size:12px;line-height:1.55;color:var(--muted)}
@media(max-width:820px){.remote-quote-grid{grid-template-columns:1fr}}


/* V9.2 - Gelişmiş admin filtreleme */
.advanced-filter{
    display:grid;
    grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(145px,.75fr)) auto;
    gap:12px;
    align-items:end;
    width:100%;
}
.advanced-filter label{
    font-size:11px;
    color:var(--muted);
    font-weight:800;
}
.advanced-filter input,
.advanced-filter select{
    margin-top:6px;
}
.filter-submit{
    display:flex;
    align-items:flex-end;
}
.filter-submit .btn{
    min-height:48px;
    white-space:nowrap;
}

@media(max-width:1050px){
    .advanced-filter{
        grid-template-columns:1fr 1fr;
    }
    .filter-search{
        grid-column:1/-1;
    }
    .filter-submit .btn{
        width:100%;
    }
}
@media(max-width:620px){
    .advanced-filter{
        grid-template-columns:1fr;
    }
    .filter-search{
        grid-column:auto;
    }
    .filter-submit{
        width:100%;
    }
    .filter-submit .btn{
        width:100%;
        min-height:52px;
    }
}


/* V9.3 - Güvenli talep silme */
.danger-zone{
    margin-top:26px;
    padding-top:6px;
    border-top:1px solid rgba(255,107,107,.22);
}
.danger-zone p{
    font-size:12px;
    line-height:1.55;
    color:#ffb3b3;
}
.danger-zone .danger-title{
    color:#ff8d8d;
    border-top:0;
    padding-top:0;
}
.danger-zone input{
    border-color:rgba(255,107,107,.35);
}
.danger-btn{
    width:100%;
    margin-top:10px;
    background:rgba(255,76,76,.12)!important;
    border-color:rgba(255,76,76,.45)!important;
    color:#ff9a9a!important;
}
.danger-btn:hover{
    background:rgba(255,76,76,.20)!important;
}

/* V9.4 Security / Turnstile */
.hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.turnstile-wrap{display:flex;flex-direction:column;gap:9px;padding:14px 0 4px}.cf-turnstile{max-width:100%}.btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:640px){.turnstile-wrap{align-items:stretch}.cf-turnstile{width:100%}}


/* V9.5 - Kategori Yönetimi */
.category-admin-grid{grid-template-columns:minmax(300px,.8fr) minmax(480px,1.4fr)}
.category-list{display:flex;flex-direction:column;gap:10px}
.category-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}
.category-row.is-passive{opacity:.58}
.category-main{display:flex;align-items:center;gap:12px;min-width:0}
.category-main>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.category-main b{color:#fff;word-break:break-word}
.category-main span{font-size:12px;color:var(--muted)}
.category-order{display:flex!important;width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;background:rgba(84,199,255,.09);border:1px solid rgba(84,199,255,.2);color:var(--blue)!important;font-weight:900;flex:0 0 auto}
.category-delete{color:#ff9a9a!important;border-color:rgba(255,76,76,.35)!important}
@media(max-width:900px){
 .category-admin-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 .category-row{align-items:flex-start;flex-direction:column}
 .category-row .row-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
 .category-row .row-actions .btn{width:100%}
}

/* V9.6 - Kurumsal Açık / Koyu Tema */
.theme-toggle{position:fixed;right:18px;top:18px;z-index:999;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border-radius:999px;border:1px solid rgba(28,88,122,.18);background:rgba(255,255,255,.9);color:#17344a;box-shadow:0 8px 24px rgba(21,51,73,.12);backdrop-filter:blur(10px);cursor:pointer;font-weight:800;font-size:12px;transition:.2s ease}
.theme-toggle:hover{transform:translateY(-1px)}.theme-toggle .theme-icon{font-size:17px}.theme-toggle .theme-label{white-space:nowrap}
body.customer-theme{--bg:#edf5f9;--panel:#fff;--panel2:#f6fbfe;--text:#17344a;--muted:#60798b;--line:#d7e6ef;--blue:#168bc2;--pink:#d75a91;--green:#229c67;background:radial-gradient(circle at 15% 5%,rgba(38,168,220,.10),transparent 34%),radial-gradient(circle at 90% 15%,rgba(215,90,145,.07),transparent 30%),linear-gradient(180deg,#f6fbfe 0%,#edf5f9 45%,#eaf2f7 100%);color:var(--text)}
.customer-theme .site-header,.customer-theme .admin-header{background:rgba(245,251,254,.92);border-bottom:1px solid var(--line);box-shadow:0 8px 28px rgba(29,77,105,.06);backdrop-filter:blur(12px)}
.customer-theme .brand strong,.customer-theme .admin-brand b,.customer-theme h1,.customer-theme h2,.customer-theme h3,.customer-theme .card b,.customer-theme .section-head h2{color:#15364d}
.customer-theme .brand span,.customer-theme .admin-brand span,.customer-theme .muted,.customer-theme label,.customer-theme small{color:#678091}
.customer-theme .card,.customer-theme .mini-card,.customer-theme .service-summary,.customer-theme .service-customer-card,.customer-theme .customer-quote-card{background:rgba(255,255,255,.95);border-color:#d6e6ef;box-shadow:0 18px 45px rgba(29,77,105,.10)}
.customer-theme input,.customer-theme select,.customer-theme textarea{background:#f9fcfe;color:#17344a;border-color:#cbdde7}
.customer-theme input::placeholder,.customer-theme textarea::placeholder{color:#8aa0ae}
.customer-theme input:focus,.customer-theme select:focus,.customer-theme textarea:focus{border-color:#2fa8d7;box-shadow:0 0 0 3px rgba(47,168,215,.10)}
.customer-theme .btn.soft,.customer-theme .btn.ghost,.customer-theme .btn.ghost-dark{background:#f2f8fb;color:#173f59;border-color:#ccdee8}
.customer-theme .pill,.customer-theme .status,.customer-theme .priority,.customer-theme .quote-badge{background:#eef8fc;color:#137da9;border-color:#c9e6f2}
.customer-theme .form-section-title{background:linear-gradient(135deg,rgba(22,153,210,.08),rgba(215,90,145,.05));border-color:#d2e5ef}.customer-theme .form-section-title b{color:#17344a}
.customer-theme .description,.customer-theme .quote-note,.customer-theme .remote-price-notice{background:#f5fafc;color:#4f6879;border-color:#d5e5ed}
.customer-theme .quote-lines{background:#fbfdfe;border-color:#d5e6ee}.customer-theme .quote-lines>div{border-color:#dce9ef}.customer-theme .quote-lines strong{color:#17344a}.customer-theme .quote-lines .quote-grand-total{background:#edf8fc}.customer-theme .quote-lines .quote-grand-total span{color:#28536d}
.customer-theme .message-customer{background:#edf8fc;border-color:#cfe7f1}.customer-theme .message-admin{background:#fff5f9;border-color:#f0d7e2}.customer-theme .conversation .message-body{color:#26485f}
.customer-theme .corporate-footer{background:linear-gradient(180deg,#e8f2f7,#dfeaf0);border-top-color:#cbdde6;color:#5f7888}.customer-theme .footer-brand strong,.customer-theme .footer-company b,.customer-theme .footer-contact b{color:#17344a}.customer-theme .footer-bottom{border-top-color:#c9dce6}
body.customer-theme[data-theme="dark"]{--bg:#071725;--panel:#0f2537;--panel2:#0b1f2f;--text:#eaf2f8;--muted:#9db2c2;--line:#24445d;--blue:#55c9ff;--pink:#ff78a7;--green:#6ee7b7;background:#071725;color:var(--text)}
.customer-theme[data-theme="dark"] .site-header,.customer-theme[data-theme="dark"] .admin-header{background:rgba(7,23,37,.94);border-bottom-color:#24445d;box-shadow:none}
.customer-theme[data-theme="dark"] .brand strong,.customer-theme[data-theme="dark"] .admin-brand b,.customer-theme[data-theme="dark"] h1,.customer-theme[data-theme="dark"] h2,.customer-theme[data-theme="dark"] h3,.customer-theme[data-theme="dark"] .card b,.customer-theme[data-theme="dark"] .section-head h2{color:#fff}
.customer-theme[data-theme="dark"] .brand span,.customer-theme[data-theme="dark"] .admin-brand span,.customer-theme[data-theme="dark"] .muted,.customer-theme[data-theme="dark"] label,.customer-theme[data-theme="dark"] small{color:#9db2c2}
.customer-theme[data-theme="dark"] .card,.customer-theme[data-theme="dark"] .mini-card,.customer-theme[data-theme="dark"] .service-summary,.customer-theme[data-theme="dark"] .service-customer-card,.customer-theme[data-theme="dark"] .customer-quote-card{background:#0f2537;border-color:#24445d;box-shadow:none}
.customer-theme[data-theme="dark"] input,.customer-theme[data-theme="dark"] select,.customer-theme[data-theme="dark"] textarea{background:#0b1f2f;color:#eaf2f8;border-color:#24445d}
.customer-theme[data-theme="dark"] .btn.soft,.customer-theme[data-theme="dark"] .btn.ghost,.customer-theme[data-theme="dark"] .btn.ghost-dark{background:rgba(255,255,255,.03);color:#eaf2f8;border-color:#24445d}
.customer-theme[data-theme="dark"] .pill,.customer-theme[data-theme="dark"] .status,.customer-theme[data-theme="dark"] .priority,.customer-theme[data-theme="dark"] .quote-badge{background:rgba(84,199,255,.10);color:#55c9ff;border-color:rgba(84,199,255,.24)}
.customer-theme[data-theme="dark"] .form-section-title{background:rgba(84,199,255,.06);border-color:#24445d}.customer-theme[data-theme="dark"] .form-section-title b{color:#fff}
.customer-theme[data-theme="dark"] .description,.customer-theme[data-theme="dark"] .quote-note,.customer-theme[data-theme="dark"] .remote-price-notice{background:#091c2b;color:#9db2c2;border-color:#24445d}
.customer-theme[data-theme="dark"] .quote-lines{background:rgba(255,255,255,.02);border-color:#24445d}.customer-theme[data-theme="dark"] .quote-lines>div{border-color:#24445d}.customer-theme[data-theme="dark"] .quote-lines strong{color:#fff}.customer-theme[data-theme="dark"] .quote-lines .quote-grand-total{background:rgba(84,199,255,.10)}.customer-theme[data-theme="dark"] .quote-lines .quote-grand-total span{color:#d8eefa}
.customer-theme[data-theme="dark"] .message-customer{background:#0b2d42;border-color:#24536e}.customer-theme[data-theme="dark"] .message-admin{background:#2b1630;border-color:#54304f}.customer-theme[data-theme="dark"] .conversation .message-body{color:#eaf2f8}
.customer-theme[data-theme="dark"] .corporate-footer{background:linear-gradient(180deg,rgba(7,23,37,.94),rgba(4,14,23,.98));border-top-color:#24445d;color:#9db2c2}.customer-theme[data-theme="dark"] .footer-brand strong,.customer-theme[data-theme="dark"] .footer-company b,.customer-theme[data-theme="dark"] .footer-contact b{color:#fff}.customer-theme[data-theme="dark"] .footer-bottom{border-top-color:#24445d}
.customer-theme[data-theme="dark"] .theme-toggle{background:rgba(11,31,47,.92);color:#eaf2f8;border-color:#24445d;box-shadow:0 8px 24px rgba(0,0,0,.22)}
@media(max-width:820px){.theme-toggle{top:auto;right:14px;bottom:14px;min-height:46px;padding:9px 12px}.theme-toggle .theme-label{display:none}.theme-toggle .theme-icon{font-size:20px}.customer-theme .card,.customer-theme .mini-card,.customer-theme .customer-quote-card{box-shadow:0 10px 28px rgba(29,77,105,.08)}}
@media(max-width:420px){.theme-toggle{right:10px;bottom:10px;width:46px;height:46px;padding:0;justify-content:center}}


/* V9.7 - Finansal özet KPI kartları */
.financial-kpis{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:0 0 18px;
}
.financial-kpi{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
    padding:18px 20px;
    border:1px solid var(--line);
    border-radius:17px;
    background:linear-gradient(135deg,rgba(84,199,255,.07),rgba(255,120,167,.035));
}
.financial-kpi-icon{
    width:48px;
    height:48px;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(84,199,255,.10);
    border:1px solid rgba(84,199,255,.20);
    color:var(--blue);
    font-size:18px;
    font-weight:900;
}
.financial-kpi-body{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:3px;
}
.financial-kpi-body>span{
    color:var(--muted);
    font-size:12px;
    font-weight:800;
    letter-spacing:.02em;
}
.financial-kpi-body>b{
    color:#fff;
    font-size:27px;
    line-height:1.15;
    overflow-wrap:anywhere;
}
.financial-kpi-body>small{
    color:var(--muted);
    font-size:11px;
    line-height:1.4;
}
@media(max-width:820px){
    .financial-kpis{grid-template-columns:1fr;gap:10px}
    .financial-kpi{padding:15px}
    .financial-kpi-body>b{font-size:24px}
}
@media(max-width:420px){
    .financial-kpi{align-items:flex-start;gap:12px}
    .financial-kpi-icon{width:42px;height:42px;border-radius:12px}
    .financial-kpi-body>b{font-size:21px}
}


/* V9.8 - Talep listesi fiyatlandırma durumu */
.pricing-state{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:5px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
}
.pricing-state.priced{
    color:#83efb8;
    background:rgba(35,180,111,.10);
    border:1px solid rgba(35,180,111,.28);
}
.pricing-state.unpriced{
    color:#b8c7d2;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.10);
}

@media(max-width:980px){
    .pricing-state{
        font-size:10px;
        padding:5px 7px;
    }
}


/* V9.9 - Fiyatlandırma filtresi */
.advanced-filter{
    grid-template-columns:minmax(240px,1.55fr) repeat(4,minmax(135px,.72fr)) auto;
}
@media(max-width:1180px){
    .advanced-filter{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .advanced-filter .filter-search{
        grid-column:1/-1;
    }
}
@media(max-width:620px){
    .advanced-filter{
        grid-template-columns:1fr;
    }
    .advanced-filter .filter-search{
        grid-column:auto;
    }
}


/* V9.10 - Atanmış personel yazışma kimliği */
.message-author-note{
    margin:-4px 0 16px;
    padding:10px 12px;
    border:1px solid rgba(84,199,255,.18);
    border-radius:11px;
    background:rgba(84,199,255,.055);
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}
.message-author-note strong{color:var(--blue)}
.message-author-note span{display:block;margin-top:3px}


/* V9.11 - AnyDesk uzak bağlantı alanı */
.remote-access-fields[hidden]{display:none!important}
.remote-access-card{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:10px;
    padding:16px;
    border:1px solid rgba(84,199,255,.22);
    border-radius:15px;
    background:rgba(84,199,255,.045);
}
.anydesk-warning,
.anydesk-track-note{
    display:flex;
    align-items:flex-start;
    gap:11px;
    padding:12px 13px;
    border-radius:12px;
    border:1px solid rgba(255,190,72,.30);
    background:rgba(255,190,72,.08);
}
.anydesk-warning>span{
    width:28px;height:28px;display:flex;align-items:center;justify-content:center;
    flex:0 0 auto;border-radius:50%;font-weight:900;
    background:rgba(255,190,72,.15);color:#ffd37a;
}
.anydesk-warning>div,
.anydesk-track-note{color:var(--muted)}
.anydesk-warning b,
.anydesk-track-note b{color:#ffd37a}
.anydesk-warning small,
.anydesk-track-note span{display:block;margin-top:3px;line-height:1.5}
.admin-anydesk-note{
    margin:-2px 0 12px;padding:9px 11px;border-radius:10px;
    background:rgba(255,190,72,.06);border:1px solid rgba(255,190,72,.18);
    color:var(--muted);font-size:12px
}
.admin-anydesk-note b{color:#ffd37a}
.customer-theme:not([data-theme="dark"]) .remote-access-card{
    background:#f5fbfe;border-color:#cfe5ef
}
.customer-theme:not([data-theme="dark"]) .anydesk-warning,
.customer-theme:not([data-theme="dark"]) .anydesk-track-note{
    background:#fff8e8;border-color:#ead8a9;color:#6f6040
}
.customer-theme:not([data-theme="dark"]) .anydesk-warning>span{
    background:#ffedbd;color:#8b691f
}
.customer-theme:not([data-theme="dark"]) .anydesk-warning b,
.customer-theme:not([data-theme="dark"]) .anydesk-track-note b{
    color:#755719
}
@media(max-width:620px){
    .remote-access-card{padding:13px}
    .anydesk-warning{gap:9px}
}


/* V9.13 - BilişimPost Destek Asistanı */
.support-assistant{position:relative;z-index:1200}
.assistant-fab{
    position:fixed;
    right:18px;
    bottom:88px;
    z-index:1201;
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:48px;
    padding:9px 14px 9px 9px;
    border-radius:999px;
    border:1px solid rgba(84,199,255,.28);
    background:linear-gradient(135deg,#0f2d43,#123b55);
    color:#fff;
    box-shadow:0 12px 34px rgba(0,0,0,.22);
    cursor:pointer;
    font-weight:800;
}
.assistant-fab-icon{
    width:30px;height:30px;display:flex;align-items:center;justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg,var(--blue),var(--pink));
    color:#06111a;
    font-weight:900;
}
.assistant-fab-label{font-size:12px;white-space:nowrap}
.assistant-panel{
    position:fixed;
    right:18px;
    bottom:148px;
    z-index:1202;
    width:min(390px,calc(100vw - 28px));
    max-height:min(640px,calc(100vh - 190px));
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:20px;
    border:1px solid var(--line);
    background:var(--panel);
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    opacity:0;
    transform:translateY(10px) scale(.985);
    transition:.16s ease;
}
.assistant-panel.is-open{opacity:1;transform:translateY(0) scale(1)}
.assistant-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:13px 14px;
    border-bottom:1px solid var(--line);
    background:linear-gradient(135deg,rgba(84,199,255,.08),rgba(255,120,167,.045));
}
.assistant-brand-mini{display:flex;align-items:center;gap:10px;min-width:0}
.assistant-brand-mini img{width:48px;height:36px;object-fit:cover;border-radius:9px}
.assistant-brand-mini div{display:flex;flex-direction:column;min-width:0}
.assistant-brand-mini b{font-size:13px;color:var(--text)}
.assistant-brand-mini span{font-size:10px;color:var(--muted)}
.assistant-close{
    width:34px;height:34px;border-radius:10px;border:1px solid var(--line);
    background:rgba(255,255,255,.035);color:var(--text);font-size:22px;cursor:pointer
}
.assistant-body{overflow:auto;padding:14px}
.assistant-message{
    padding:13px 14px;border-radius:15px;
    border:1px solid var(--line);
    background:rgba(84,199,255,.045);
    color:var(--muted);
    font-size:13px;line-height:1.55
}
.assistant-message b{color:var(--text)}
.assistant-message p{margin:6px 0 0}
.assistant-message ul{margin:8px 0 0;padding-left:18px}
.assistant-message li{margin:5px 0}
.assistant-quick-title{margin:14px 0 8px;font-size:11px;font-weight:900;letter-spacing:.06em;color:var(--muted)}
.assistant-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.assistant-quick-grid button,.assistant-action{
    border:1px solid var(--line);
    background:rgba(255,255,255,.035);
    color:var(--text);
    border-radius:12px;
    padding:10px 11px;
    min-height:44px;
    cursor:pointer;
    font-size:12px;
    text-align:left;
    font-weight:700
}
.assistant-quick-grid button:hover,.assistant-action:hover{border-color:rgba(84,199,255,.38);background:rgba(84,199,255,.07)}
.assistant-response{margin-top:10px}
.assistant-action{display:inline-flex;align-items:center;margin-top:11px;color:var(--blue)}
.assistant-footer{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:10px 13px;border-top:1px solid var(--line);
    color:var(--muted);font-size:10px
}
.assistant-form-link{color:var(--blue);font-weight:800;white-space:nowrap}

/* Açık tema */
.customer-theme:not([data-theme="dark"]) .assistant-fab{
    background:rgba(255,255,255,.96);
    color:#17344a;
    border-color:#cfe3ed;
    box-shadow:0 12px 32px rgba(29,77,105,.16)
}
.customer-theme:not([data-theme="dark"]) .assistant-panel{
    background:#fff;border-color:#d4e5ed;box-shadow:0 24px 65px rgba(29,77,105,.18)
}
.customer-theme:not([data-theme="dark"]) .assistant-head{background:linear-gradient(135deg,#eef9fd,#fff5f9)}
.customer-theme:not([data-theme="dark"]) .assistant-message{background:#f5fbfe;border-color:#d5e7ef}
.customer-theme:not([data-theme="dark"]) .assistant-quick-grid button,
.customer-theme:not([data-theme="dark"]) .assistant-action,
.customer-theme:not([data-theme="dark"]) .assistant-close{background:#f7fbfd;border-color:#d5e5ed;color:#17344a}

@media(max-width:820px){
    .assistant-fab{
        right:14px;
        bottom:76px;
        min-width:48px;
        width:48px;
        height:48px;
        padding:0;
        justify-content:center
    }
    .assistant-fab-label{display:none}
    .assistant-panel{
        right:10px;
        bottom:134px;
        width:calc(100vw - 20px);
        max-height:calc(100vh - 155px);
        border-radius:18px
    }
    .assistant-quick-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
    .assistant-fab{right:10px;bottom:68px}
    .assistant-panel{right:6px;bottom:126px;width:calc(100vw - 12px)}
    .assistant-body{padding:12px}
    .assistant-head{padding:11px 12px}
}


/* V9.14 - Faturalandırma hatırlatma */
.invoice-reminder{
    margin:0 0 18px;
    padding:15px 16px;
    border-radius:17px;
    border:1px solid rgba(255,190,72,.28);
    background:linear-gradient(135deg,rgba(255,190,72,.075),rgba(84,199,255,.035));
}
.invoice-reminder-head{
    display:flex;
    align-items:center;
    gap:13px;
}
.invoice-reminder-icon{
    width:42px;height:42px;display:flex;align-items:center;justify-content:center;
    flex:0 0 auto;border-radius:13px;
    background:rgba(255,190,72,.12);
    border:1px solid rgba(255,190,72,.24);
    color:#ffd176;font-size:20px;font-weight:900
}
.invoice-reminder-title{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.invoice-reminder-title>span{font-size:10px;letter-spacing:.10em;color:#d8aa58;font-weight:900}
.invoice-reminder-title>b{font-size:15px;color:#fff}
.invoice-reminder-title>small{font-size:11px;color:var(--muted)}
.invoice-reminder-filter{margin-left:auto;white-space:nowrap}
.invoice-reminder-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-top:12px
}
.invoice-reminder-row{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:9px 11px;border-radius:11px;border:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.025);color:var(--text)
}
.invoice-reminder-row>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.invoice-reminder-row b{font-size:12px;color:var(--blue)}
.invoice-reminder-row span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.invoice-reminder-row strong{font-size:12px;color:#ffd176;white-space:nowrap}
.invoice-reminder-more{font-size:11px;color:var(--muted);padding:4px 2px}
.invoice-state{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:28px;padding:5px 9px;border-radius:999px;
    font-size:10px;font-weight:900;white-space:nowrap
}
.invoice-state.invoiced{color:#82ecb5;background:rgba(35,180,111,.10);border:1px solid rgba(35,180,111,.26)}
.invoice-state.pending{color:#ffd176;background:rgba(255,190,72,.09);border:1px solid rgba(255,190,72,.27)}
.invoice-state.neutral{color:var(--muted);background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}
.invoice-status-card{border-color:rgba(255,190,72,.20)}
.invoice-status-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
.invoice-status-summary>div{padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025);display:flex;flex-direction:column;gap:4px}
.invoice-status-summary span{font-size:10px;color:var(--muted);font-weight:800}
.invoice-status-summary strong{font-size:14px;color:#fff}
.invoice-status-actions{margin:0}
.invoice-mark-btn{background:rgba(35,180,111,.12)!important;border-color:rgba(35,180,111,.30)!important;color:#82ecb5!important}
.invoice-status-note{margin:9px 0 0;font-size:10px;color:var(--muted)}
.advanced-filter{grid-template-columns:minmax(210px,1.4fr) repeat(5,minmax(120px,.68fr)) auto}

@media(max-width:1180px){
    .advanced-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
    .advanced-filter .filter-search{grid-column:1/-1}
}
@media(max-width:820px){
    .invoice-reminder-head{align-items:flex-start;flex-wrap:wrap}
    .invoice-reminder-filter{margin-left:55px}
    .invoice-reminder-list{grid-template-columns:1fr}
    .invoice-status-summary{grid-template-columns:1fr}
}
@media(max-width:620px){
    .advanced-filter{grid-template-columns:1fr}
    .advanced-filter .filter-search{grid-column:auto}
    .invoice-reminder{padding:13px}
    .invoice-reminder-filter{margin-left:0;width:100%}
}


/* V9.15 - Yazışma görsel / dosya ekleri */
.message-attachment-picker{
    margin-top:10px;
    padding:12px;
    border:1px dashed rgba(84,199,255,.28);
    border-radius:12px;
    background:rgba(84,199,255,.035);
}
.message-attachment-picker input{
    display:block;
    width:100%;
    margin-top:7px;
    min-height:44px;
}
.message-attachment-picker>span{
    display:block;
    margin-top:6px;
    color:var(--muted);
    font-size:10px;
    font-weight:500;
}
.message-attachment{
    margin-top:10px;
}
.message-image-link{
    display:block;
    width:min(100%,420px);
    border-radius:13px;
    overflow:hidden;
    border:1px solid var(--line);
    background:rgba(255,255,255,.025);
}
.message-image-link img{
    display:block;
    width:100%;
    max-height:320px;
    object-fit:contain;
    background:rgba(0,0,0,.10);
}
.message-attachment-name{
    margin-top:5px;
    color:var(--muted);
    font-size:10px;
    word-break:break-word;
}
.message-file-card{
    display:flex;
    align-items:center;
    gap:10px;
    width:min(100%,420px);
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:12px;
    background:rgba(255,255,255,.025);
    color:var(--text);
}
.message-file-icon{
    width:38px;height:38px;display:flex;align-items:center;justify-content:center;
    flex:0 0 auto;border-radius:9px;
    background:rgba(255,90,90,.10);
    border:1px solid rgba(255,90,90,.20);
    color:#ff9d9d;font-size:10px;font-weight:900
}
.message-file-card>span:last-child{
    display:flex;flex-direction:column;min-width:0
}
.message-file-card b{
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px
}
.message-file-card small{color:var(--muted);font-size:10px;margin-top:2px}
.customer-theme:not([data-theme="dark"]) .message-image-link,
.customer-theme:not([data-theme="dark"]) .message-file-card{
    background:#f8fcfe;border-color:#d4e5ed
}
@media(max-width:620px){
    .message-image-link,.message-file-card{width:100%}
    .message-image-link img{max-height:260px}
}
