:root{
  --bg:#f3f7ff;--card:#ffffff;--text:#162334;--muted:#74829a;--line:#d8e4fb;
  --blue:#1f73e8;--blue2:#195fce;--blue3:#2c7cff;--dark:#154b9e;
  --ok:#31a46b;--err:#df5b6d;--warn:#f3a426;--soft:#eaf2ff;
  --radius:20px;--shadow:0 10px 24px rgba(31,115,232,.10);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);padding-bottom:86px}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.wrap{width:100%;max-width:980px;margin:0 auto;padding:94px 18px 8px}.appbar{position:fixed;top:0;left:0;right:0;height:78px;background:var(--blue);color:#fff;z-index:50;box-shadow:0 4px 18px rgba(31,115,232,.22)}.appbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px}.app-logo{display:flex;align-items:center;color:#fff}.logo-mark{display:none}.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:72px;background:#fff;border-top:1px solid #dbe6fb;display:grid;grid-template-columns:repeat(5,1fr);z-index:60;box-shadow:0 -8px 18px rgba(31,115,232,.08)}.bottom-nav a,.bottom-nav button{appearance:none;border:0;background:transparent;color:#8a96ac;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:800;padding:0;cursor:pointer;width:100%;height:100%}.bottom-nav span{font-size:25px;line-height:1}.bottom-nav .active,.bottom-nav a.active{color:var(--blue2)}.nav-form{margin:0}.fab-nav span{width:56px;height:56px;border-radius:999px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:32px;margin-top:-28px;box-shadow:0 10px 20px rgba(31,115,232,.35)}.fab-nav b{margin-top:-2px;max-width:58px;line-height:1.05;text-align:center}.card{background:var(--card);border:1px solid #dce8ff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;margin-bottom:16px}.hero{background:var(--blue2);color:#fff;border-radius:0 0 28px 28px;margin:-20px -18px 18px;padding:22px 20px 24px;box-shadow:none}.hero .muted{color:rgba(255,255,255,.75)}.hero .page-kicker{display:none}.head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.head h2,.card h2{margin:0 0 14px;font-size:20px;font-weight:600}.h1{font-size:30px;line-height:1.12;font-weight:500;margin:0;letter-spacing:-.03em}.muted{color:var(--muted);font-weight:500}.hero-actions,.row-actions{display:flex;gap:10px;flex-wrap:wrap}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--blue2);color:#fff;margin:-18px -18px 18px;border-radius:0 0 28px 28px;padding:18px 0}.quick-actions a,.quick-actions form{min-height:82px;display:flex;align-items:center;justify-content:center;border-right:1px solid rgba(255,255,255,.38);text-align:center;color:#fff}.quick-actions a:last-child,.quick-actions form:last-child{border-right:0}.quick-actions button{border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:500}.quick-actions .qa{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:15px}.quick-actions .qa span{font-size:34px;line-height:1}.grid,.grid3,.grid4{display:grid;gap:14px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}.full{grid-column:1/-1}.metric{background:#fff;border:1px solid #dce8ff;border-radius:18px;padding:16px;box-shadow:var(--shadow);min-height:98px}.metric .label{color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.01em}.metric .value{font-size:25px;font-weight:800;margin-top:7px;letter-spacing:-.03em;color:var(--dark)}.metric .sub{color:#9aa3aa;font-size:12px;margin-top:3px}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#eaf2ff;color:var(--blue2);font-weight:800;font-size:12px}.pill.ok{background:#e5f8e9;color:#2f8b42}.pill.err{background:#ffe8eb;color:#b93f4b}.pill.warn{background:#fff2df;color:#b56a0b}.flash{padding:13px 14px;border-radius:16px;font-weight:600;margin-bottom:12px}.flash.ok{background:#e5f8e9;color:#216d32}.flash.err{background:#ffe8eb;color:#9e2733}.flash.warn{background:#fff2df;color:#925304}label{display:block;color:var(--blue2);font-size:13px;font-weight:700;margin:0 0 6px}.inp,select,textarea{width:100%;border:1px solid #d7e5ff;border-radius:18px;background:#fff;color:#222;padding:17px 16px;font-size:18px;outline:none;box-shadow:none;min-height:58px}textarea{min-height:112px;resize:vertical}.inp::placeholder,textarea::placeholder{color:#8f969e}.inp:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px rgba(31,115,232,.14);border-color:#9ec0ff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:8px;padding:12px 16px;font-weight:700;cursor:pointer;background:#dce8ff;color:#1b3c6e;white-space:nowrap;min-height:46px}.btn.pri,.btn.ok{background:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(31,115,232,.24)}.btn.err{background:var(--err);color:#fff}.btn.warn{background:var(--warn);color:#fff}.btn.out{background:#fff;color:var(--blue2);border:1px solid #cfe0ff}.btn.sm{font-size:13px;padding:8px 12px;min-height:36px}.btn.block{width:100%}.section-title{display:flex;align-items:center;gap:10px;margin:22px 0 12px}.section-title h2{margin:0;font-size:24px;font-weight:500}.section-title .ico{width:34px;height:34px;border-radius:999px;background:var(--blue3);color:#fff;display:grid;place-items:center;font-weight:700}.form-panel{background:transparent;border:0;padding:0;margin-bottom:16px}.form-panel .grid>div,.form-panel .grid3>div{background:transparent}.lookup-row{display:flex;gap:9px;align-items:center}.lookup-row .inp{flex:1}.searchbar{display:grid;grid-template-columns:1fr auto;gap:10px;background:#fff;border-radius:18px;padding:0;box-shadow:none}.searchbar .inp{box-shadow:none}.searchbar select{grid-column:1/-1}.table-wrap{width:100%;overflow:auto}.tbl{width:100%;border-collapse:separate;border-spacing:0 8px}.tbl th{font-size:12px;text-align:left;color:#7d8993;padding:6px}.tbl td{background:#fff;padding:12px 8px;border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6}.tbl td:first-child{border-left:1px solid #eef2f6;border-radius:14px 0 0 14px}.tbl td:last-child{border-right:1px solid #eef2f6;border-radius:0 14px 14px 0}.mobile-list{display:none}.invoice-card{background:#fff;border-radius:20px;padding:16px;margin-bottom:12px;box-shadow:var(--shadow);border:1px solid #dce8ff}.invoice-line{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.invoice-name{font-size:19px;font-weight:700}.invoice-meta{color:#8a949e;margin-top:4px;line-height:1.35}.invoice-amount{font-weight:800;text-align:right}.invoice-actions{display:flex;gap:8px;margin-top:12px}.item-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#fff;border-radius:20px;padding:12px;margin-bottom:12px}.item-row input:first-child{grid-column:1/-1}.item-row .btn.err{grid-column:1/-1;border-radius:16px}.totalbox{display:grid;grid-template-columns:1fr 280px;gap:12px}.totals{background:#fff;border-radius:20px;padding:16px}.totals div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf2f6}.totals div:last-child{font-size:19px;font-weight:800;border-bottom:0}.totals span{color:#8a949e}.detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-box{background:#fff;border-radius:18px;padding:15px}.detail-box b{display:block;color:var(--blue2);font-size:13px;font-weight:500;margin-bottom:6px}.split{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.status-strip{display:flex;gap:8px;flex-wrap:wrap}.status-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;color:#5f6b75}.status-dot{width:9px;height:9px;border-radius:999px;background:#9aa3aa}.status-chip.ok .status-dot{background:var(--ok)}.status-chip.err .status-dot{background:var(--err)}.status-chip.warn .status-dot{background:var(--warn)}.status-chip.pri .status-dot{background:var(--blue3)}.empty{padding:34px;text-align:center;color:#555;font-weight:500}.login{min-height:100vh;display:grid;place-items:center;padding:22px;background:linear-gradient(180deg,var(--blue),#edf4ff 58%)}.login .card{width:min(430px,94vw);padding:26px;border-radius:26px;box-shadow:0 12px 30px rgba(0,0,0,.10)}.login-logo{display:grid;place-items:center;width:62px;height:62px;border-radius:22px;background:var(--blue3);color:#fff;font-size:30px;margin-bottom:14px}.login .h1{font-weight:600;margin-bottom:18px}
@media(max-width:860px){body{padding-bottom:82px}.wrap{padding:78px 20px 24px}.grid,.grid3,.grid4,.split,.totalbox,.detail-list{grid-template-columns:1fr}.hero{padding-top:18px}.h1{font-size:31px}.head{align-items:flex-start;flex-direction:column}.hero-actions,.row-actions{width:100%}.row-actions .btn,.row-actions form,.row-actions form .btn{width:100%}.tbl{min-width:820px}.desktop-table{display:none}.mobile-list{display:block}.metric{box-shadow:none}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(4,1fr)}.btn{border-radius:7px}.form-panel{margin-bottom:24px}.card{padding:16px}.searchbar{grid-template-columns:1fr}.lookup-row{align-items:stretch}.lookup-row .btn{min-width:116px}.app-logo span:last-child{max-width:168px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-user span{display:none}}
@media(max-width:480px){.wrap{padding-left:20px;padding-right:20px}.grid4{grid-template-columns:1fr 1fr}.quick-actions .qa{font-size:14px}.quick-actions .qa span{font-size:30px}.invoice-name{font-size:18px}.invoice-actions .btn{flex:1}.hero-actions .btn{flex:1}.appbar{height:70px}.bottom-nav{height:72px}.bottom-nav b{font-size:10px}.fab-nav span{width:58px;height:58px}.inp,select,textarea{font-size:17px}.section-title h2{font-size:22px}}
@media(min-width:861px){.bottom-nav{max-width:980px;left:50%;transform:translateX(-50%);border-radius:24px 24px 0 0}.appbar-inner{max-width:980px;margin:0 auto}.wrap{padding-bottom:100px}.hero{border-radius:0 0 30px 30px}}
@media print{.appbar,.bottom-nav,.row-actions,.btn{display:none!important}.wrap{padding:0;max-width:none}.card,.hero{box-shadow:none;border-radius:0}.hero{color:#000;background:#fff}}
.app-user form{margin:0}.app-user button.mini-link{background:transparent;color:#fff;cursor:pointer}

.app-logo img{display:block;height:50px;width:auto;max-width:min(340px,72vw)}
.dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue2);margin-bottom:4px}
.dashboard-title{margin:0;font-size:28px;line-height:1.08;font-weight:800;letter-spacing:-.03em}
.user-menu{position:relative}
.user-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center}
.user-menu summary::-webkit-details-marker{display:none}
.avatar-badge{width:40px;height:40px;border-radius:999px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);display:grid;place-items:center;color:#fff;font-weight:900;font-size:15px;box-shadow:0 6px 14px rgba(0,0,0,.08)}
.avatar-badge.large{width:46px;height:46px;background:var(--blue);border-color:transparent}
.user-menu-panel{position:absolute;right:0;top:52px;width:min(250px,80vw);background:#fff;border-radius:18px;padding:12px;box-shadow:0 16px 30px rgba(31,41,51,.18);display:grid;gap:8px;color:var(--text)}
.user-meta{display:flex;align-items:center;gap:10px;padding:4px 4px 10px;border-bottom:1px solid #edf2f6}
.user-meta strong{display:block;font-size:15px}
.user-meta small{display:block;color:#7d8993;margin-top:2px}
.menu-btn{appearance:none;border:0;background:#eef4ff;border-radius:14px;padding:12px 14px;text-align:left;color:#1b3c6e;font-weight:800;cursor:pointer;display:flex;width:100%}
.menu-btn:hover{background:#e6efff}
.menu-btn.danger{background:#fff1f2;color:#b42335}
.site-note{max-width:980px;margin:0 auto;padding:8px 18px 96px;color:#3561a3;font-size:12px;font-weight:700;text-align:center}
.login-brand{margin-bottom:10px}
.login-brand img{display:block;height:58px;width:auto;max-width:320px}
@media(max-width:860px){
  .app-logo img{height:40px;max-width:220px}
  .dashboard-head{padding:16px}
  .dashboard-title{font-size:24px}
  .site-note{padding-bottom:92px;font-size:11.5px}
}
@media(max-width:480px){
  .appbar{height:74px}
  .app-logo img{height:36px;max-width:200px}
  .avatar-badge{width:38px;height:38px}
  .user-menu-panel{right:-4px;top:48px}
  .bottom-nav b{font-size:9.5px}
  .fab-nav b{max-width:62px}
  .site-note{padding-left:24px;padding-right:24px}
}

.page-head,.dashboard-head,.eyebrow,.dashboard-title,.status-strip,.status-chip,.status-dot{display:none!important}
.head h2,.card h2{color:var(--dark)}
.flash{border:1px solid #dce8ff;box-shadow:var(--shadow)}
.tbl td,.tbl th{border-color:#dce8ff}
.appbar-inner,.wrap,.site-note{max-width:980px}
.appbar-inner{margin:0 auto}
.bottom-nav .active,.bottom-nav a.active{color:var(--blue)}
.metric.pri,.metric.ok,.metric.warn{background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
.metric .sub{color:#6f82a0;font-weight:700}
@media(max-width:860px){
  .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v27 bottom navigation redesign */
body{padding-bottom:98px}
.wrap{padding-bottom:10px}
.bottom-nav-fancy{height:80px;background:#fff;border-top:1px solid #e2e8f5;box-shadow:0 -10px 24px rgba(22,35,52,.08);grid-template-columns:repeat(5,1fr);padding:0 4px 2px}
.bottom-nav-fancy .nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;padding:10px 2px 8px;color:#93a1b7;font-weight:800}
.bottom-nav-fancy .nav-label{font-size:11px;line-height:1.05;text-align:center;letter-spacing:-.01em}
.bottom-nav-fancy .nav-ico{display:grid;place-items:center;width:24px;height:24px;color:currentColor}
.bottom-nav-fancy .nav-ico svg{display:block;width:22px;height:22px}
.bottom-nav-fancy .nav-item.active{color:var(--blue)}
.bottom-nav-fancy .nav-center{justify-content:center;gap:5px;padding-top:0}
.bottom-nav-fancy .nav-ico-center{width:46px;height:46px;border-radius:999px;background:linear-gradient(180deg,#3a85ff 0%,#1f73e8 100%);color:#fff;box-shadow:0 10px 20px rgba(31,115,232,.28);border:3px solid #eef4ff;transform:translateY(-12px)}
.bottom-nav-fancy .nav-center .nav-label{margin-top:-8px;color:var(--blue)}
.bottom-nav-fancy .nav-center.active .nav-ico-center{background:linear-gradient(180deg,#347dff 0%,#1b67e0 100%)}
.homepage-grid{margin-top:2px}
@media(max-width:860px){
  body{padding-bottom:96px}
  .wrap{padding-bottom:6px}
  .bottom-nav-fancy{height:78px}
}
@media(max-width:480px){
  body{padding-bottom:94px}
  .bottom-nav-fancy{height:78px;padding-inline:2px}
  .bottom-nav-fancy .nav-label{font-size:10px}
  .bottom-nav-fancy .nav-ico-center{width:44px;height:44px}
  .bottom-nav-fancy .nav-ico svg{width:21px;height:21px}
}
@media(min-width:861px){
  .bottom-nav-fancy{max-width:980px;left:50%;transform:translateX(-50%);border-radius:22px 22px 0 0}
}


/* v28 invoice filters */
.date-filter-row{display:flex;gap:8px;overflow-x:auto;padding:0 2px 10px;margin-top:2px;scrollbar-width:none}
.date-filter-row::-webkit-scrollbar{display:none}
.date-chip{flex:0 0 auto;border:1px solid #cfe0ff;background:#fff;color:var(--blue2);border-radius:999px;padding:10px 14px;font-size:13px;font-weight:800;box-shadow:0 6px 14px rgba(31,115,232,.08)}
.date-chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.date-chip.clear{color:#6f7c91}
.invoice-filter-card,.date-range-card,.invoice-results-card{padding:14px}
.invoice-filter-form{display:grid;grid-template-columns:1.4fr .8fr .8fr auto;gap:10px;align-items:center}
.date-range-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
.invoice-results-card .tbl th:nth-child(6),.invoice-results-card .tbl td:nth-child(6){text-align:center}
.pagination-card{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 4px}
.page-btn{background:#fff;border:1px solid #cfe0ff;border-radius:999px;padding:10px 14px;color:var(--blue2);font-weight:800;box-shadow:0 6px 14px rgba(31,115,232,.08)}
.page-btn.disabled{opacity:.45;pointer-events:none}
.page-info{color:#47617f;font-weight:800;font-size:13px}
@media(max-width:860px){
  .invoice-filter-form{grid-template-columns:1fr 1fr}
  .invoice-filter-form .inp:first-child{grid-column:1/-1}
  .invoice-filter-form .btn{grid-column:1/-1;width:100%}
  .date-range-form{grid-template-columns:1fr}
  .date-range-form .btn{width:100%}
}
@media(max-width:480px){
  .date-chip{padding:9px 12px;font-size:12px}
  .invoice-filter-card,.date-range-card,.invoice-results-card{padding:12px}
}


/* v29 custom date picker */

.date-chip-icon{display:grid;place-items:center;padding:9px 12px;min-width:44px}
.date-chip-icon svg{width:18px;height:18px}
.custom-date-card{display:none;padding:14px}
.custom-date-card.open{display:block}
.custom-date-mode{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.mode-pill{position:relative;display:flex;align-items:center;justify-content:center;background:#f6f9ff;border:1px solid #d8e6ff;color:#5b7090;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:800;cursor:pointer;min-height:42px}
.mode-pill input{position:absolute;opacity:0;pointer-events:none}
.mode-pill.active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(31,115,232,.18)}
.custom-panel.hide{display:none}
.custom-panel label{margin-bottom:6px}
.range-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.custom-date-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.invoice-filter-card,.invoice-results-card{padding:14px}
.invoice-filter-form{display:grid;grid-template-columns:1.4fr .8fr .8fr auto;gap:10px;align-items:center}
.invoice-results-card .tbl th:nth-child(5),.invoice-results-card .tbl td:nth-child(5){text-align:center}
@media(max-width:860px){
  .custom-date-card{padding:12px}
  .range-panel{grid-template-columns:1fr}
  .custom-date-actions{flex-direction:column}
  .custom-date-actions .btn{width:100%}
}


/* v30 cleanup */
.date-chip.clear{display:none!important}


/* v32 item dropdowns and discounts */
.item-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.item-row .full-row{grid-column:1/-1}
.item-row select.inp{padding-right:38px}
.item-row .btn.err{grid-column:1/-1;border-radius:16px}
@media(min-width:861px){
  .item-row{grid-template-columns:2fr repeat(3,1fr) repeat(3,1fr) 1fr;}
  .item-row .full-row{grid-column:1/-1}
}
@media(max-width:480px){
  .item-row{gap:8px;padding:10px}
}

.page-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}


/* Mobilde logo küçülmesin */
.appbar-inner{
  min-height:72px;
}
.app-logo{
  flex:0 0 auto;
  min-width:260px;
  max-width:none;
}
.app-logo img{
  width:260px;
  max-width:none;
  height:auto;
}
@media(max-width:520px){
  .appbar-inner{
    min-height:76px;
    gap:10px;
  }
  .app-logo{
    min-width:260px !important;
    width:260px !important;
    max-width:none !important;
    flex-shrink:0 !important;
  }
  .app-logo img{
    width:260px !important;
    max-width:none !important;
    height:auto !important;
  }
  .user-menu{
    flex:0 0 auto;
  }
}


.subscription-two{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.subscription-plan-card{
  margin-bottom:0;
}
.payment-method-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:12px 0;
}
.payment-method-box label{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:10px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:center;
}
@media(max-width:520px){
  .subscription-two{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .subscription-two .metric{
    padding:12px 8px;
  }
  .subscription-two .metric .value{
    font-size:20px;
    line-height:1.1;
  }
  .subscription-plan-card{
    padding:12px;
  }
  .subscription-plan-card h2{
    font-size:18px;
  }
  .payment-method-box{
    grid-template-columns:1fr;
  }
  .payment-method-box label{
    font-size:13px;
    padding:9px 7px;
  }
}


/* Yeni ana sayfa abonelik üst alanı */
.home-sub-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.home-sub-box{background:#fff;border:1px solid #dce8ff;border-radius:18px;box-shadow:var(--shadow);padding:14px}.home-sub-box .label{color:var(--muted);font-size:12px;font-weight:800}.home-sub-box .value{margin-top:6px;font-size:18px;font-weight:900;color:var(--text)}
/* Yeni abonelik sayfası */
.subscription-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#ffffff,#edf5ff)}.subscription-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:340px}.subscription-hero-stats div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px}.subscription-hero-stats span{display:block;color:var(--muted);font-size:12px;font-weight:800}.subscription-hero-stats b{display:block;margin-top:6px;font-size:18px}.subscription-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.subscription-title-row p{margin:0}.subscription-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.subscription-choice{border:1px solid #dce8ff;border-radius:20px;background:#fff;box-shadow:var(--shadow);padding:16px}.subscription-choice-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.subscription-choice-head strong{display:block;font-size:24px}.subscription-choice-head small{display:block;color:var(--muted);font-weight:800;margin-top:4px}.subscription-choice-head b{font-size:20px;color:var(--blue2)}.payment-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.payment-choice label{border:1px solid var(--line);border-radius:14px;padding:10px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900;background:#f8fbff}
/* Destek modal ve iletişim */
.support-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.support-head h2{margin:0}.support-plus-btn{width:46px;height:46px;border-radius:999px;border:0;background:var(--blue);color:#fff;font-size:30px;line-height:1;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(31,115,232,.25)}.support-footer-info{margin:18px auto 20px;text-align:center;color:var(--muted);line-height:1.55;font-size:13px}.support-footer-info b,.support-footer-info span{display:block}.support-modal{display:none;position:fixed;inset:0;z-index:200}.support-modal.open{display:block}.support-modal-bg{position:absolute;inset:0;background:rgba(10,22,40,.45)}.support-modal-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,520px);background:#fff;border-radius:22px;padding:18px;box-shadow:0 20px 60px rgba(0,0,0,.25)}.support-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.support-modal-head h2{margin:0}.support-modal-head button{width:38px;height:38px;border-radius:999px;border:0;background:#eef4ff;color:var(--text);font-size:28px;line-height:1;cursor:pointer}
@media(max-width:620px){.home-sub-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-sub-box{padding:10px 8px;border-radius:14px}.home-sub-box .label{font-size:10px;line-height:1.15}.home-sub-box .value{font-size:13px;line-height:1.15}.subscription-hero{display:block}.subscription-hero-stats{min-width:0;margin-top:14px}.subscription-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subscription-choice{padding:12px;border-radius:16px}.subscription-choice-head{display:block}.subscription-choice-head strong{font-size:20px}.subscription-choice-head b{display:block;margin-top:8px;font-size:17px}.payment-choice{grid-template-columns:1fr;gap:7px}.payment-choice label{font-size:13px;padding:8px}}


/* Faturalar arama alanı düzeni */
.invoice-filter-form{
  grid-template-columns:1fr 1fr auto !important;
}
.invoice-filter-form input[name="tax_no"]{
  min-width:0;
}
@media(max-width:860px){
  .invoice-filter-form{
    grid-template-columns:1fr 1fr !important;
  }
  .invoice-filter-form .btn{
    grid-column:1/-1;
    width:100%;
  }
}


/* Canlı fatura toplamları */
.live-total-panel{
  display:grid;
  gap:10px;
  background:#fff;
  border:1px solid #dce8ff;
  border-radius:20px;
  padding:16px;
  box-shadow:var(--shadow);
}
.live-total-panel div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #edf2f6;
  padding:8px 0;
}
.live-total-panel div:last-child{
  border-bottom:0;
}
.live-total-panel span{
  color:var(--muted);
  font-weight:800;
}
.live-total-panel b{
  font-size:18px;
  color:var(--dark);
}
.live-total-panel .grand b{
  font-size:24px;
  color:var(--blue2);
}

/* Duyuru panosu */
.announcement-board{
  position:relative;
  margin-top:16px;
  border-radius:26px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  border:1px solid #cfe0ff;
  background:linear-gradient(135deg,#f7fbff 0%,#eaf3ff 50%,#ffffff 100%);
  box-shadow:0 14px 30px rgba(38,97,180,.10), inset 0 1px 0 rgba(255,255,255,.9);
  overflow:hidden;
}
.announcement-board::before,
.announcement-board::after{
  content:"";
  position:absolute;
  top:16px;
  width:16px;
  height:16px;
  border-radius:999px;
  background:radial-gradient(circle at 35% 35%, #ffffff 0 22%, #dce9ff 24%, #92b7f7 58%, #5d8fe8 100%);
  box-shadow:0 3px 8px rgba(39,88,163,.18);
  z-index:2;
}
.announcement-board::before{ left:18px; }
.announcement-board::after{ right:18px; }
.announcement-board > div:first-child{
  flex:1 1 auto;
  position:relative;
  background:linear-gradient(180deg,#ffffff 0%,#f4f8ff 100%);
  border:1px solid #d7e5ff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 6px 16px rgba(52,106,193,.08);
}
.announcement-board h2{
  margin:0 0 8px;
  font-size:22px;
  color:#1f5cb8;
}
.announcement-board p{
  margin:0;
  color:#294160;
  line-height:1.6;
  white-space:pre-line;
}
.announcement-kicker{
  display:none;
}
.announcement-board .btn{
  align-self:stretch;
  min-width:132px;
  border-radius:18px;
  font-weight:900;
  box-shadow:0 10px 18px rgba(31,115,232,.18);
}
@media(max-width:640px){
  .announcement-board{
    display:block;
    padding:14px;
  }
  .announcement-board > div:first-child{
    padding:14px;
  }
  .announcement-board h2{
    font-size:20px;
  }
  .announcement-board .btn{
    margin-top:14px;
    width:100%;
    min-width:0;
  }
}


/* Destek kayıtları kart görünümü */
.support-card-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.support-ticket-card{
  display:block;
  background:linear-gradient(135deg,#ffffff,#f3f8ff);
  border:1px solid #dce8ff;
  border-radius:20px;
  padding:15px;
  box-shadow:var(--shadow);
}
.support-ticket-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.support-ticket-no{
  color:var(--blue2);
  font-weight:900;
}
.support-ticket-card h3{
  margin:0 0 12px;
  color:var(--text);
  font-size:18px;
  line-height:1.25;
}
.support-ticket-date{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}
.support-legal-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:14px 0;
}
.support-legal-links button{
  border:1px solid #cfe0ff;
  background:#fff;
  color:var(--blue2);
  border-radius:16px;
  padding:13px 10px;
  font-weight:900;
  box-shadow:0 6px 14px rgba(31,115,232,.08);
  cursor:pointer;
}
.legal-modal-card{
  max-height:82vh;
  overflow:auto;
}
.legal-modal-content{
  line-height:1.6;
  color:var(--text);
  background:#f7fbff;
  border:1px solid #dce8ff;
  border-radius:16px;
  padding:14px;
}
@media(max-width:620px){
  .support-card-list{
    grid-template-columns:1fr;
  }
  .support-legal-links{
    grid-template-columns:1fr;
  }
}

/* Mobil üst logo/metin büyütme */
@media(max-width:520px){
  .appbar{
    height:92px !important;
  }
  .wrap{
    padding-top:108px !important;
  }
  .appbar-inner{
    min-height:92px !important;
    padding-left:8px !important;
    padding-right:8px !important;
    gap:6px !important;
  }
  .app-logo{
    width:calc(100vw - 72px) !important;
    min-width:290px !important;
    max-width:340px !important;
    flex:1 1 auto !important;
  }
  .app-logo img{
    width:100% !important;
    max-width:340px !important;
    min-width:290px !important;
    height:auto !important;
  }
  .avatar-badge{
    width:42px !important;
    height:42px !important;
    font-size:15px !important;
  }
}

/* GİB direct SMS modal */
.gib-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center;z-index:9999;padding:18px}
.gib-modal-backdrop.open{display:flex}
.gib-modal-card{width:min(560px,100%);background:#fff;border-radius:24px;box-shadow:0 24px 70px rgba(15,23,42,.25);overflow:hidden}
.gib-modal-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:20px 20px 12px;border-bottom:1px solid rgba(15,23,42,.08)}
.gib-modal-head h2{margin:0;font-size:22px}
.gib-modal-head p{margin:6px 0 0;color:#64748b;font-size:14px;line-height:1.35}
.gib-modal-close{border:0;background:#f1f5f9;color:#0f172a;border-radius:999px;width:38px;height:38px;font-size:24px;line-height:1;cursor:pointer}
.gib-modal-body{padding:18px 20px 20px}
.gib-direct-summary{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:14px}
.gib-direct-summary div{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fafc;border:1px solid rgba(15,23,42,.07);border-radius:16px;padding:12px 14px}
.gib-direct-summary span{color:#64748b;font-size:13px}
.gib-direct-summary b{color:#0f172a;text-align:right}
.inline-logout-form{display:inline;margin:0;padding:0}
.inline-logout-form button{font:inherit}
.user-menu-panel .inline-logout-form{display:block;width:100%}
.user-menu-panel .inline-logout-form .menu-btn{width:100%;text-align:left}
@media(max-width:640px){.gib-modal-card{border-radius:20px}.gib-modal-head,.gib-modal-body{padding-left:16px;padding-right:16px}}

.homepage-grid .money-value{display:flex;align-items:baseline;gap:5px;white-space:nowrap;line-height:1.05}
.homepage-grid .money-value small{font-size:13px;font-weight:800;color:#6f82a0;letter-spacing:0;margin-left:1px}
@media(max-width:480px){.homepage-grid .money-value{font-size:22px}.homepage-grid .money-value small{font-size:12px}}

/* v33 mobile keyboard: giriş alanlarında alt menü ekran ortasına çıkmasın */
@media(max-width:860px){
  body:has(input:focus), body:has(textarea:focus), body:has(select:focus){padding-bottom:18px}
  body:has(input:focus) .bottom-nav, body:has(textarea:focus) .bottom-nav, body:has(select:focus) .bottom-nav{display:none!important}
}
.note-grid{display:grid;grid-template-columns:1fr;gap:10px}.extra-security-box{border:1px dashed #f0b429;border-radius:16px;padding:12px;margin-bottom:12px;background:#fffdf5}.bulk-sign-link-card{margin-bottom:12px}.invoice-actions form{margin:0;display:inline-flex}.invoice-actions{flex-wrap:wrap}

/* Onboarding / ayarlar ekleri */
.onboarding-login .card{width:min(94vw,760px)}
.legal-checks{display:grid;gap:8px;margin-top:12px;font-size:14px;color:var(--text)}
.legal-checks label{display:flex;gap:8px;align-items:flex-start;line-height:1.35}
.legal-checks input{margin-top:2px}


/* GİB profil önizleme modalı - taşma/kaydırma düzeltmesi */
.gib-preview-modal.open{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:16px;
  overflow-y:auto;
  overscroll-behavior:contain;
  touch-action:pan-y;
}
.gib-preview-modal .support-modal-bg{
  position:fixed;
}
.gib-preview-modal .support-modal-card{
  position:relative;
  left:auto;
  top:auto;
  transform:none;
  width:min(96vw,760px);
  height:calc(100dvh - 32px);
  max-height:calc(100vh - 32px);
  min-height:0;
  margin:auto 0;
  padding:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.gib-preview-modal .support-modal-head{
  padding:16px 18px;
  margin:0;
  border-bottom:1px solid rgba(15,23,42,.08);
  flex:0 0 auto;
}
.gib-preview-content{
  padding:14px 18px;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  flex:1 1 auto;
  min-height:0;
}
.gib-preview-table{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.gib-preview-table>div{
  border:1px solid rgba(15,23,42,.09);
  border-radius:12px;
  padding:10px 12px;
  background:#f8fafc;
  min-width:0;
}
.gib-preview-table b{
  display:block;
  font-size:12px;
  color:#64748b;
  margin-bottom:4px;
}
.gib-preview-table span{
  display:block;
  color:#0f172a;
  font-weight:700;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.gib-preview-actions{
  position:relative;
  bottom:auto;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 18px;
  background:#fff;
  border-top:1px solid rgba(15,23,42,.08);
  box-shadow:0 -8px 18px rgba(15,23,42,.04);
  flex:0 0 auto;
}
@media(max-width:640px){
  .gib-preview-modal.open{padding:8px;}
  .gib-preview-modal .support-modal-card{width:100%;height:calc(100dvh - 16px);max-height:calc(100vh - 16px);border-radius:18px;}
  .gib-preview-modal .support-modal-head{padding:14px;}
  .gib-preview-modal .support-modal-head h2{font-size:17px;}
  .gib-preview-content{padding:12px;}
  .gib-preview-table{grid-template-columns:1fr;}
  .gib-preview-actions{padding:12px;display:grid;grid-template-columns:1fr 1fr;}
  .gib-preview-actions .btn{width:100%;}
}

html.gib-preview-open-page, body.gib-preview-open-page{overflow:hidden!important;}

/* v39 hazır not seçimi: select odakta alt menü kaybolmasın */
@supports selector(body:has(select:focus)){
  @media(max-width:760px){
    body:has(select:focus){padding-bottom:94px!important;}
    body:has(select:focus) .bottom-nav{display:grid!important;}
  }
}

/* v39 profil menüsü altından açılan ayarlar: kart + modal görünümü */
.settings-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.settings-tile{appearance:none;border:1px solid #dce8ff;background:#fff;border-radius:22px;box-shadow:var(--shadow);padding:18px;text-align:left;cursor:pointer;min-height:170px;display:flex;flex-direction:column;gap:9px;color:var(--text)}
.settings-tile:hover{border-color:#a9c8ff;transform:translateY(-1px)}
.settings-tile-ico{width:46px;height:46px;border-radius:16px;background:#edf4ff;display:grid;place-items:center;font-size:24px}
.settings-tile strong{font-size:18px;color:var(--blue2);line-height:1.2}
.settings-tile small{color:var(--muted);font-weight:700;line-height:1.35}
.settings-modal{display:none;position:fixed;inset:0;z-index:220}
.settings-modal.open{display:block}
.settings-modal-bg{position:absolute;inset:0;background:rgba(10,22,40,.48)}
.settings-modal-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,920px);height:min(88vh,760px);background:#fff;border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.26);display:flex;flex-direction:column;overflow:hidden}
.settings-modal-card-sm{width:min(94vw,660px);height:auto;max-height:88vh}
.settings-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid rgba(15,23,42,.08);background:#fff;flex:0 0 auto}
.settings-modal-head h2{margin:0 0 4px;font-size:20px}
.settings-modal-head p{margin:0}
.settings-modal-head button{width:40px;height:40px;border-radius:999px;border:0;background:#eef4ff;color:var(--text);font-size:28px;line-height:1;cursor:pointer;flex:0 0 auto}
.settings-modal-body{padding:18px 20px;overflow:auto;-webkit-overflow-scrolling:touch;flex:1 1 auto;background:#fbfdff}
.settings-modal-toolbar{display:flex;justify-content:flex-end;margin-bottom:14px}
.settings-modal-open-page{overflow:hidden!important}
@media(max-width:760px){
  .settings-card-grid{grid-template-columns:1fr;gap:10px}
  .settings-tile{min-height:132px;padding:16px;border-radius:18px}
  .settings-modal-card,.settings-modal-card-sm{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100vh - 16px);border-radius:18px}
  .settings-modal-head{padding:14px}
  .settings-modal-head h2{font-size:18px}
  .settings-modal-body{padding:14px}
  .settings-modal-toolbar .btn{width:100%}
}


/* v40 çoklu hazır fatura notu seçimi */
.note-template-picker{display:flex;flex-wrap:wrap;gap:8px;border:1px solid #dce8ff;background:#fbfdff;border-radius:16px;padding:10px;min-height:48px}
.note-template-pill{border:1px solid #bfd5ff;background:#fff;color:var(--blue2);font-weight:800;border-radius:999px;padding:9px 12px;cursor:pointer}
.note-template-pill.used{background:#edf4ff;border-color:#80aefe}
@media(max-width:760px){.note-template-picker{gap:7px}.note-template-pill{width:100%;text-align:left}}


.note-template-setting{border:1px solid #e4edff;border-radius:18px;padding:12px;background:#fbfdff}
.cancel-request-list{display:grid;gap:12px}.cancel-request-card{margin-bottom:0}.settings-modal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.settings-modal-toolbar .small{font-size:12px}
.inp[readonly]{background:#f8fbff;color:#607086}

/* Final UI polish updates */
.settings-hidden-toolbar{height:0;margin:0;padding:0;overflow:hidden}
.invoice-top-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;column-gap:16px;align-items:stretch}
.invoice-top-action-grid .btn{white-space:normal;text-align:center;font-size:13px;line-height:1.15;padding:10px 8px;min-height:44px;border-radius:14px}
.bulk-draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.bulk-select-all{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce8ff;border-radius:14px;padding:10px 12px;color:var(--blue2);font-weight:800;margin-bottom:6px}
.bulk-draft-card{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #dce8ff;border-radius:18px;padding:14px;margin:0;color:var(--text);box-shadow:var(--shadow);cursor:pointer}
.bulk-draft-card input{margin-top:3px;min-width:18px;min-height:18px}
.bulk-draft-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.bulk-draft-main b{font-size:15px;line-height:1.2;color:var(--dark);word-break:break-word}
.bulk-draft-main small{font-size:12px;color:var(--muted);font-weight:800}
.bulk-draft-main em{font-size:11px;color:#7d8993;font-style:normal;word-break:break-all;line-height:1.25}
.note-template-pill.used{border-color:#8ab6ff;background:#edf4ff;color:var(--blue2)}
@media(max-width:560px){.bulk-draft-grid{grid-template-columns:1fr}.invoice-top-action-grid{grid-template-columns:1fr 1fr;gap:12px;column-gap:12px}.invoice-top-action-grid .btn{font-size:12px;padding:9px 6px}}

/* v43 fatura aksiyonları sağ okla kayar görünüm ve üst buton boşluğu */
.invoice-top-action-grid{gap:18px!important;column-gap:18px!important}
@media(max-width:560px){.invoice-top-action-grid{gap:14px!important;column-gap:14px!important}}
.invoice-card-swipe{position:relative;overflow:hidden;padding:0}
.invoice-swipe-track{position:relative;min-height:118px;background:#fff}
.invoice-card-main{position:relative;z-index:2;background:#fff;padding:16px 48px 16px 16px;min-height:118px;transition:transform .25s ease;border-radius:20px}
.invoice-action-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:4;width:34px;height:54px;border:0;border-radius:16px;background:#edf4ff;color:var(--blue2);font-size:28px;font-weight:900;line-height:1;box-shadow:0 6px 14px rgba(31,115,232,.12);cursor:pointer}
.invoice-action-drawer{position:absolute;right:0;top:0;bottom:0;width:146px;background:#f8fbff;border-left:1px solid #dce8ff;padding:10px 8px;display:flex;flex-direction:column;gap:7px;justify-content:center;z-index:1}
.invoice-action-drawer .btn,.invoice-action-drawer form,.invoice-action-drawer form .btn{width:100%;margin:0;display:flex}
.invoice-action-drawer .btn{font-size:12px;padding:7px 8px;min-height:34px;border-radius:10px;white-space:normal;line-height:1.1;text-align:center}
.invoice-card-swipe.actions-open .invoice-card-main{transform:translateX(-146px)}
.invoice-card-swipe.actions-open .invoice-action-toggle{right:150px;background:var(--blue);color:#fff;transform:translateY(-50%) rotate(180deg)}
.invoice-right-summary{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
@media(min-width:861px){.invoice-card-swipe{padding:16px}.invoice-card-main{padding:0;min-height:0}.invoice-action-toggle,.invoice-action-drawer{display:none!important}.invoice-card-swipe .invoice-card-main{transform:none!important}}
.bulk-draft-amount{font-size:13px;color:var(--blue2);font-weight:900;line-height:1.2}
.invoice-swipe-track{min-height:168px}
.invoice-card-main{min-height:168px}
.invoice-action-drawer{justify-content:flex-start;overflow-y:auto;-webkit-overflow-scrolling:touch}
.invoice-action-drawer .btn{min-height:32px}

/* v44 admin uygulama ayarları: kart + modal */
.admin-settings-grid .settings-tile{min-height:132px}
.admin-settings-grid .settings-tile strong{font-size:17px}
@media(max-width:760px){.admin-settings-grid .settings-tile{min-height:112px}}

/* v44 toplu imzalama seçimlerinde alt menü kaybolmasın */
@supports selector(body:has(.bulk-sign-form input[type="checkbox"]:focus)){
  @media(max-width:860px){
    body:has(.bulk-sign-form input[type="checkbox"]:focus){padding-bottom:94px!important;}
    body:has(.bulk-sign-form input[type="checkbox"]:focus) .bottom-nav{display:grid!important;}
  }
}
.bulk-sign-form{padding-bottom:96px}

/* Yeni fatura adım sihirbazı */
.invoice-wizard-card{overflow:visible}
.invoice-wizard-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:18px;position:relative}
.invoice-wizard-progress:before{content:"";position:absolute;left:8%;right:8%;top:20px;height:3px;background:#e5e7eb;border-radius:999px;z-index:0}
.wizard-progress-step{position:relative;z-index:1;border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px;color:#64748b;cursor:pointer;text-align:center;font:inherit;min-width:0}
.wizard-progress-step span{width:40px;height:40px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:2px solid #e2e8f0;color:#64748b;font-weight:800;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.wizard-progress-step b{font-size:12px;line-height:1.2;font-weight:700;white-space:normal;max-width:110px}
.wizard-progress-step.active span{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 10px 22px rgba(37,99,235,.28)}
.wizard-progress-step.active b{color:#1d4ed8}
.wizard-progress-step.done span{background:#16a34a;border-color:#16a34a;color:#fff}
.wizard-progress-step.done b{color:#15803d}
.invoice-wizard-step{display:block;animation:wizardFade .18s ease-out}
html.js-enabled .invoice-wizard-step{display:none}
html.js-enabled .invoice-wizard-step.active{display:block!important}
@keyframes wizardFade{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.wizard-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;position:sticky;bottom:78px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);padding:10px;border-radius:16px;box-shadow:0 10px 26px rgba(15,23,42,.08);z-index:8}
.wizard-nav .btn{min-width:104px;justify-content:center}
.invoice-complete-panel .gib-direct-summary{margin-bottom:12px}
@media(max-width:720px){
  .invoice-wizard-progress{gap:4px;margin:0 -4px 14px;overflow-x:auto;padding:0 2px 8px;scrollbar-width:none}
  .invoice-wizard-progress::-webkit-scrollbar{display:none}
  .invoice-wizard-progress:before{left:34px;right:34px;top:18px}
  .wizard-progress-step{min-width:66px;gap:4px}
  .wizard-progress-step span{width:36px;height:36px;font-size:13px}
  .wizard-progress-step b{font-size:10px;max-width:72px}
  .wizard-nav{bottom:72px;padding:8px;gap:8px}
  .wizard-nav .btn{min-width:88px;padding-left:12px;padding-right:12px;font-size:13px}
}

.top-action-btn{display:flex;align-items:center;justify-content:center;gap:8px}.top-action-btn .btn-ico{font-size:16px;line-height:1}.top-action-btn span:last-child{display:inline-block}.country-note{font-size:12px;color:#64748b}


.invoice-subcode-panel{background:#fff;border:1px solid #dce8ff;border-radius:18px;padding:12px}
.invoice-subcode-panel .inp+ .inp{margin-top:10px}
.extra-tax-row{display:none;grid-column:1/-1;grid-template-columns:1.4fr .8fr .8fr;gap:10px;background:#f8fbff;border:1px dashed #cfe0ff;border-radius:16px;padding:10px}
.extra-tax-row.open{display:grid}
.tax-toggle-btn{grid-column:1/-1;border-radius:16px}
.top-action-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.top-action-btn .btn-ico{font-size:16px;line-height:1}
@media(max-width:560px){
  .extra-tax-row.open{grid-template-columns:1fr}
  .tax-toggle-btn{min-height:40px;font-size:13px}
  .top-action-btn .btn-ico{font-size:15px}
}


.top-action-btn .sms-mail-ico{width:24px;height:24px;min-width:24px;border-radius:9px;background:linear-gradient(135deg,#fde68a,#f59e0b);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(245,158,11,.28)}
.top-action-btn .sms-mail-ico svg{width:15px;height:15px;stroke:#7c2d12;stroke-width:2.2;fill:none}
@media(max-width:560px){.top-action-btn .sms-mail-ico{width:22px;height:22px;min-width:22px}.top-action-btn .sms-mail-ico svg{width:14px;height:14px}}


.cancel-filter-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
.cancel-request-list{display:grid;gap:12px}
.cancel-request-card{margin-bottom:0}
.cancel-card-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
.cancel-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:20px;background:#fff2df;color:#b56a0b;border:1px solid #ffe0b0}
.cancel-icon.ok{background:#e5f8e9;color:#2f8b42;border-color:#bcecc7}
.cancel-icon.err{background:#ffe8eb;color:#b93f4b;border-color:#ffcbd2}
.cancel-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.cancel-card-grid>div{background:#f8fbff;border:1px solid #e4edff;border-radius:14px;padding:10px}
.cancel-card-grid .full{grid-column:1/-1}
.cancel-card-grid span{display:block;font-size:12px;font-weight:800;color:#64748b;margin-bottom:4px}
.cancel-card-grid b{font-size:14px;color:#172033}
.cancel-card-grid .break{word-break:break-all}
@media(max-width:560px){
  .cancel-filter-form{grid-template-columns:1fr}
  .cancel-card-head{grid-template-columns:auto 1fr;align-items:start}
  .cancel-card-head .pill{grid-column:1/-1;justify-self:start}
  .cancel-card-grid{grid-template-columns:1fr}
}


.sms-mail-ico{width:24px;height:24px;min-width:24px;border-radius:9px;background:linear-gradient(135deg,#fde68a,#f59e0b);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(245,158,11,.28);vertical-align:middle}
.sms-mail-ico svg{width:15px;height:15px;stroke:#7c2d12;stroke-width:2.2;fill:none}
.bulk-sign-title{display:flex;align-items:center;gap:8px}
.live-total-panel #liveExtraTaxRow{display:none}
@media(max-width:560px){.sms-mail-ico{width:22px;height:22px;min-width:22px}.sms-mail-ico svg{width:14px;height:14px}}
