
:root{--nav:#0b1f3f;--nav2:#123260;--gold:#d5b46a;--bg:#f4f7fb;--card:#fff;--text:#172033;--muted:#748096;--primary:#2764e7}
body{background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif}
.meliva-nav{background:linear-gradient(90deg,var(--nav),var(--nav2));box-shadow:0 3px 18px rgba(5,20,45,.18)}
.brand-wrap{display:flex;align-items:center;gap:8px}.brand-wrap .crown{color:var(--gold);font-size:20px}.brand-wrap b{font-family:Georgia,serif;font-style:italic;font-size:24px}.brand-wrap small{display:block;font-size:8px;letter-spacing:3px;color:#dbe5f5}
.nav-link{color:#dce7f7!important;border-radius:9px;margin:0 2px}.nav-link:hover{background:rgba(255,255,255,.09)}
.panel,.kpi-card,.login-card{background:var(--card);border:1px solid #e7ebf2;border-radius:18px;box-shadow:0 7px 24px rgba(32,56,85,.07);padding:20px}
.panel-head{margin-bottom:16px}.panel-head h5{margin:0}
.kpi-card{height:100%}.kpi-icon{width:42px;height:42px;border-radius:12px;background:#edf3ff;color:var(--primary);display:grid;place-items:center;font-size:20px;margin-bottom:14px}.kpi-value{font-size:1.55rem;font-weight:750;margin-top:4px}
.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px}.quick-btn{border:1px solid #e4eaf3;background:#fff;border-radius:15px;padding:20px 12px;text-decoration:none;color:var(--text);display:flex;flex-direction:column;align-items:center;gap:9px;transition:.2s}.quick-btn:hover{transform:translateY(-2px);border-color:#a9c0f4;box-shadow:0 7px 18px rgba(39,100,231,.1)}.quick-btn i{font-size:25px;color:var(--primary)}
.table>thead th{color:#68758b;font-size:.82rem;text-transform:uppercase;letter-spacing:.35px;border-bottom-color:#e8edf4}.table td{vertical-align:middle}
.permission-check{display:inline-block;border:1px solid #dce3ee;border-radius:10px;padding:8px 12px;margin:4px;background:#fafcff}
.report-tabs{display:flex;gap:10px;flex-wrap:wrap}.report-tabs a{text-decoration:none;padding:10px 15px;border-radius:11px;background:#fff;border:1px solid #e1e7f0;color:var(--text)}.report-tabs a.active{background:var(--primary);color:white;border-color:var(--primary)}
.login-bg{background:radial-gradient(circle at top,#183866,#07152d)}.login-card{padding:35px}.login-card h1{font-family:Georgia,serif;font-style:italic}.login-crown{color:var(--gold);font-size:29px}.tracking{letter-spacing:5px;font-size:10px;color:#77849b}
.form-control,.form-select{border-radius:10px;border-color:#dce3ed;padding:.67rem .8rem}.btn{border-radius:10px}
@media(max-width:767px){main{padding:18px!important}.kpi-value{font-size:1.25rem}.panel{padding:15px}.quick-grid{grid-template-columns:repeat(2,1fr)}}


:root{--sidebar-width:270px}
body{overflow-x:hidden}
.meliva-sidebar{width:var(--sidebar-width)!important;background:linear-gradient(180deg,#0b1f3f 0%,#07162f 100%);color:#fff;position:fixed;inset:0 auto 0 0;z-index:1040;border:0}
.meliva-sidebar .offcanvas-header{height:82px;padding:18px 24px}
.meliva-sidebar .brand-wrap{color:#fff}.meliva-sidebar .brand-wrap b{color:#fff}.meliva-sidebar .brand-wrap small{color:#9eacc2}
.sidebar-nav{padding:14px 13px;overflow-y:auto}
.sidebar-nav a{display:flex;align-items:center;gap:13px;color:#bdc9dc;text-decoration:none;padding:12px 14px;margin:3px 0;border-radius:11px;font-weight:550;transition:.18s}
.sidebar-nav a i{font-size:18px;width:22px;text-align:center}
.sidebar-nav a:hover{color:#fff;background:rgba(255,255,255,.07)}
.sidebar-nav a.active{color:#fff;background:linear-gradient(90deg,#2764e7,#3477f5);box-shadow:0 8px 20px rgba(39,100,231,.28)}
.sidebar-section{font-size:10px;letter-spacing:1.5px;color:#71829d;padding:20px 14px 7px;font-weight:700}
.sidebar-user{display:flex;align-items:center;gap:11px;padding:17px 18px;border-top:1px solid rgba(255,255,255,.09);background:rgba(0,0,0,.08)}
.sidebar-user small{color:#8999b1}.user-avatar{width:38px;height:38px;border-radius:11px;background:#d5b46a;color:#0b1f3f;display:grid;place-items:center;font-weight:800}.logout-icon{color:#9dabc0;padding:7px}.logout-icon:hover{color:#fff}
.app-content{margin-left:var(--sidebar-width);min-height:100vh}
.topbar{height:68px;background:#fff;border-bottom:1px solid #e6ebf2;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:1020}
.topbar-product{font-weight:700;color:#18345f}.topbar-date{font-size:.84rem;color:#77849a}
.mobile-menu-btn{display:none;position:fixed;top:14px;left:14px;z-index:1035;border:0;background:#17365f;color:#fff;width:42px;height:42px;border-radius:11px;font-size:22px}
.page-narrow{max-width:900px;margin:auto}
@media(min-width:992px){.meliva-sidebar{transform:none!important;visibility:visible!important}}
@media(max-width:991.98px){.app-content{margin-left:0}.mobile-menu-btn{display:block}.topbar{padding-left:70px}.meliva-sidebar{position:fixed}.topbar-product{display:none}}


/* V4 — İlk tasarımdaki premium logo ve alta sabit kullanıcı alanı */
.meliva-sidebar{
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.meliva-brand-header{
  min-height:118px!important;
  height:auto!important;
  padding:20px 20px 17px!important;
  border-bottom:1px solid rgba(213,180,106,.18)!important;
  background:
    radial-gradient(circle at 20% 0%,rgba(213,180,106,.13),transparent 44%),
    rgba(255,255,255,.015);
  flex:0 0 auto;
}
.meliva-premium-logo{
  display:flex;
  align-items:center;
  gap:13px;
  color:#fff;
  min-width:0;
}
.meliva-premium-logo:hover{color:#fff}
.meliva-emblem{
  position:relative;
  width:58px;
  height:58px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(213,180,106,.75);
  border-radius:50%;
  background:
    linear-gradient(145deg,rgba(213,180,106,.16),rgba(213,180,106,.025)),
    #091a35;
  box-shadow:
    inset 0 0 0 4px #091a35,
    inset 0 0 0 5px rgba(213,180,106,.25),
    0 8px 22px rgba(0,0,0,.24);
}
.emblem-letter{
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  line-height:1;
  font-weight:700;
  font-style:italic;
  color:#f1d795;
  transform:translateY(3px);
  text-shadow:0 1px 10px rgba(213,180,106,.25);
}
.emblem-crown{
  position:absolute;
  top:-9px;
  left:50%;
  transform:translateX(-50%);
  color:#e4c474;
  font-size:20px;
  line-height:1;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.meliva-wordmark{
  display:flex;
  flex-direction:column;
  min-width:0;
  transform:translateY(1px);
}
.meliva-name{
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  line-height:1;
  font-weight:700;
  font-style:italic;
  letter-spacing:.2px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.25);
}
.meliva-subtitle{
  margin-top:7px;
  color:#d8bd7a;
  font-size:8px;
  line-height:1;
  font-weight:700;
  letter-spacing:3.05px;
  white-space:nowrap;
}
.meliva-sidebar>.offcanvas-body{
  flex:1 1 auto;
  min-height:0;
  height:calc(100vh - 118px);
  overflow:hidden;
}
.sidebar-nav{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(213,180,106,.28) transparent;
}
.sidebar-nav::-webkit-scrollbar{width:5px}
.sidebar-nav::-webkit-scrollbar-thumb{
  background:rgba(213,180,106,.28);
  border-radius:10px;
}
.sidebar-nav a.active{
  position:relative;
  background:rgba(255,255,255,.075);
  color:#fff;
  box-shadow:none;
}
.sidebar-nav a.active:before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:0 5px 5px 0;
  background:#d5b46a;
  box-shadow:0 0 12px rgba(213,180,106,.45);
}
.sidebar-nav a.active i{color:#e5c675}
.sidebar-account{
  flex:0 0 auto;
  margin-top:auto;
  padding:10px 13px 14px;
  border-top:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(4,15,34,.15),rgba(4,15,34,.72));
}
.sidebar-account-label{
  padding:0 7px 7px;
  color:#667994;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.6px;
}
.sidebar-user-card{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:66px;
  padding:10px 10px;
  border:1px solid rgba(213,180,106,.15);
  border-radius:14px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.sidebar-user-card .user-avatar{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:50%;
  background:linear-gradient(145deg,#edd38f,#b88e3f);
  color:#102342;
  box-shadow:0 4px 13px rgba(0,0,0,.23);
}
.user-details{
  min-width:0;
  flex:1 1 auto;
}
.user-details b{
  color:#f6f8fb;
  font-size:.88rem;
  font-weight:650;
}
.user-details small{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:3px;
  color:#91a1b8;
  font-size:.73rem;
}
.status-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#61c58b;
  box-shadow:0 0 8px rgba(97,197,139,.65);
}
.logout-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#9eacc0;
  text-decoration:none;
}
.logout-icon:hover{
  color:#fff;
  background:rgba(220,53,69,.18);
}
@media(max-width:991.98px){
  .meliva-brand-header{min-height:108px!important}
  .meliva-sidebar>.offcanvas-body{height:calc(100vh - 108px)}
}

/* V5 approved navy-gold design */
:root{--navy:#031d3f;--navy2:#06152e;--gold:#d1a51d;--gold-light:#f7e4a1;--paper:#f4f7fb;--ink:#08224a}
body.meliva-app{background:var(--paper);color:var(--ink);font-family:Arial,sans-serif}
.meliva-sidebar{width:296px!important;background:linear-gradient(180deg,#05244d,#03142d)!important}
.approved-logo{height:236px;position:relative;border-bottom:1px solid rgba(218,178,55,.55);overflow:hidden;flex:0 0 236px}
.approved-logo img{width:296px;height:236px;display:block;object-fit:cover}
.approved-logo .btn-close{position:absolute;right:12px;top:12px}
.meliva-sidebar>.offcanvas-body{height:calc(100vh - 236px)!important}
.sidebar-nav{padding:16px 12px!important}
.sidebar-nav a,.sidebar-parent{display:flex;align-items:center;gap:16px;color:#f3f5fa;padding:13px 16px;border-radius:0 10px 10px 0;margin:3px 0;font-size:16px;text-decoration:none}
.sidebar-nav a i,.sidebar-parent i{color:#d8ae29;font-size:21px;width:25px;text-align:center}
.sidebar-nav a.active{background:linear-gradient(90deg,rgba(205,157,16,.15),rgba(218,172,35,.86))!important;color:#fff!important;border-left:4px solid #e4bb3b}
.sidebar-nav a.active:before{display:none!important}
.sidebar-child{padding-left:48px!important;font-size:15px!important}
.sidebar-parent{font-weight:700;margin-top:4px}
.sidebar-account{margin:12px;border:1px solid #b98b15;border-radius:13px!important;background:rgba(1,14,33,.55)!important;padding:12px!important;display:flex;align-items:center;gap:12px}
.sidebar-account .user-avatar{width:46px;height:46px;border:1px solid #d9b64e;background:#f8f8f8!important;color:#c99919!important;display:grid;place-items:center;font-size:25px}
.sidebar-account .user-details{display:flex;flex-direction:column;flex:1}.sidebar-account b{color:#fff}.sidebar-account small{color:#d0d7e4}
.sidebar-account .logout-icon{color:#d6a61e;font-size:22px}
.app-content{margin-left:296px!important}.topbar{height:82px!important;background:#fff!important;padding:0 32px!important}
.topbar-title{font-family:Georgia,serif;font-size:30px;font-weight:700;color:#051d43}.topbar-right{display:flex;align-items:center;gap:20px}.top-user{width:42px;height:42px;border-radius:50%;background:#05244d;color:#e3b937;display:grid;place-items:center}
.premium-stat,.premium-panel{background:#fff;border:1px solid #cfdaea;border-radius:15px;box-shadow:0 4px 14px rgba(13,44,84,.08)}
.premium-stat{padding:20px;position:relative;min-height:205px}.stat-icon{width:58px;height:58px;border-radius:14px;background:#fff5cf;color:#a77700;display:grid;place-items:center;font-size:28px;margin-bottom:12px}.stat-label{font-family:Georgia,serif;font-size:20px;font-weight:700}.stat-value{font-family:Georgia,serif;font-size:34px;font-weight:700;color:#ac7b00;margin-top:5px}.stat-link{text-align:right;color:#8b6200;margin-top:15px;border-radius:18px;background:#fff8e3;padding:6px 10px}
.premium-panel{padding:0;overflow:hidden}.premium-panel-head{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;border-bottom:1px solid #dbe3ef}.premium-panel-head h4{font-family:Georgia,serif;font-weight:700;margin:0}.premium-panel-head h4 i{color:#ae7e00;margin-right:9px}.premium-panel-head span{color:#9c7000;font-weight:700}
.premium-table th{background:#f1f5fa;color:#0c2144;padding:13px 15px}.premium-table td{padding:13px 15px;border-color:#e0e6ef}.premium-table a{color:#092859;text-decoration:none}
.type-badge,.status-badge,.active-pill{border-radius:16px;padding:5px 13px;font-weight:700}.type-badge.income,.status-badge,.active-pill{background:#ddf6df;color:#176d2d}.type-badge.expense{background:#ffe2dc;color:#a52e20}
.quick-panel{background:#fff;border:4px solid #05244d;border-radius:18px;overflow:hidden}.quick-panel-title{background:#05244d;color:#fff;font-family:Georgia,serif;font-size:23px;font-weight:700;padding:18px}.quick-panel-title i{color:#e7b729;margin-right:8px}.quick-panel a,.quick-panel button{display:flex;width:calc(100% - 30px);margin:14px 15px;padding:15px;border:0;border-radius:12px;background:linear-gradient(90deg,#fff1bc,#fff8e6);color:#09224a;text-decoration:none;font-weight:700;align-items:center;gap:14px;text-align:left}.quick-panel a i,.quick-panel button i{font-size:23px;color:#9b7000}
.analysis-wrap{height:235px;display:flex;align-items:flex-end;justify-content:center;gap:70px;padding:25px}.analysis-col{display:flex;flex-direction:column;align-items:center;gap:6px}.analysis-bar{width:135px;border-radius:9px 9px 0 0;background:#073477}.analysis-bar.expense{background:linear-gradient(#dfb72d,#ba8400)}
.page-heading h2{font-family:Georgia,serif;font-weight:700}.page-heading p{color:#65758e}.add-panel{padding:0 22px 22px}.add-panel .premium-panel-head{margin:0 -22px 18px}.premium-primary{background:#052b66;color:#fff;border:none}.premium-primary:hover{background:#031d49;color:#fff}.list-toolbar{display:flex;justify-content:space-between;align-items:center;padding:18px 20px}.list-search{border:1px solid #cfd8e5;border-radius:8px;padding:8px 13px;display:flex;align-items:center;gap:8px}.list-search input{border:0;outline:0;background:transparent}.icon-action{width:38px;height:38px;display:inline-grid;place-items:center;border:1px solid #d2dbe7;border-radius:8px;background:#fff;margin-left:6px}.icon-action.view{color:#0c6df2}.icon-action.edit{color:#e59500}.icon-action.delete{color:#f13d3d}
@media(max-width:991.98px){.app-content{margin-left:0!important}.approved-logo,.approved-logo img{width:296px}.topbar{padding-left:70px!important}.topbar-title{font-size:22px}}

/* V6 - User-approved light dashboard */
:root{--v6navy:#071d3c;--v6blue:#1d46a2;--v6bg:#f7f9fc;--v6line:#e7ebf2;--v6text:#101827}
body.meliva-v6{background:var(--v6bg);color:var(--v6text);font-family:Inter,Arial,sans-serif}.v6-sidebar{position:fixed;inset:0 auto 0 0;width:250px!important;background:linear-gradient(180deg,#0a2348,#071830);color:white;z-index:1040;overflow:hidden}.v6-logo{height:210px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(255,255,255,.08);position:relative;padding:14px}.v6-logo img{max-width:215px;max-height:185px;object-fit:contain;filter:brightness(0) invert(1);opacity:.96}.v6-logo .btn-close{position:absolute;right:12px;top:12px}.v6-sidebar>.offcanvas-body{height:calc(100vh - 210px);overflow:hidden}.v6-nav{padding:14px 12px;overflow:auto;flex:1}.v6-nav a{display:flex;align-items:center;gap:14px;padding:12px 14px;margin:3px 0;border-radius:10px;color:#f4f7fc;text-decoration:none;font-size:15px}.v6-nav a i{font-size:19px;width:23px}.v6-nav a:hover{background:rgba(255,255,255,.06)}.v6-nav a.active{background:linear-gradient(90deg,#183b84,#234caa);box-shadow:0 5px 14px rgba(17,58,139,.35)}.v6-user{margin:12px;padding:12px;border-radius:10px;background:rgba(255,255,255,.07);display:flex;align-items:center;gap:10px}.v6-user .avatar{width:38px;height:38px;border-radius:50%;background:white;color:#8792a5;display:grid;place-items:center;font-size:22px}.v6-user div:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.v6-user b{font-size:13px}.v6-user small{color:#bdc6d5;font-size:11px}.v6-user>a{color:white}.v6-content{margin-left:250px;min-height:100vh}.v6-topbar{height:74px;background:white;border-bottom:1px solid var(--v6line);display:flex;align-items:center;gap:28px;padding:0 34px;position:sticky;top:0;z-index:1020}.welcome{font-weight:700;white-space:nowrap}.v6-search{max-width:430px;flex:1;margin:auto;position:relative}.v6-search input{width:100%;border:1px solid #dce2eb;border-radius:9px;padding:11px 42px 11px 15px;outline:none}.v6-search i{position:absolute;right:15px;top:12px}.v6-actions{display:flex;gap:20px;font-size:20px}.date-row{display:flex;justify-content:flex-end;margin-bottom:14px}.date-row span{background:white;border:1px solid var(--v6line);padding:9px 15px;border-radius:9px}.v6-kpi{background:white;border:1px solid var(--v6line);border-radius:14px;padding:17px;min-height:154px;box-shadow:0 4px 16px rgba(16,39,75,.04)}.kpi-top{display:flex;gap:13px}.kpi-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:22px;flex:0 0 50px}.kpi-icon.purple{background:#ece8ff;color:#674ee8}.kpi-icon.green{background:#e4f7e9;color:#12a64a}.kpi-icon.orange{background:#fff0d7;color:#f39a07}.kpi-icon.blue{background:#e3f0ff;color:#1471da}.kpi-icon.red{background:#ffe7e7;color:#ec3d3d}.kpi-top>div:last-child{display:flex;flex-direction:column}.kpi-top span{font-size:12px}.kpi-top strong{font-size:23px;margin:3px 0}.kpi-top small{color:#667085;font-size:10px}.spark{height:34px;margin-top:11px;display:flex;align-items:flex-end;gap:4px}.spark span{flex:1;border-radius:4px 4px 0 0;background:#2dbd62}.spark.blue span{background:#2f86f6}.spark.red span{background:#ff5b52}.spark span:nth-child(1){height:35%}.spark span:nth-child(2){height:60%}.spark span:nth-child(3){height:28%}.spark span:nth-child(4){height:50%}.spark span:nth-child(5){height:38%}.spark span:nth-child(6){height:74%}.spark span:nth-child(7){height:55%}.v6-panel{background:white;border:1px solid var(--v6line);border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(16,39,75,.04);height:100%}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--v6line)}.panel-title h5{margin:0;font-size:16px;font-weight:700}.panel-title a,.panel-title span{border:1px solid var(--v6line);padding:7px 12px;border-radius:8px;color:#344054;text-decoration:none;font-size:12px}.v6-table th,.v6-table td{padding:12px 15px;font-size:12px;border-color:var(--v6line)}.v6-table th{background:#fafbfc}.v6-table a{text-decoration:none;color:#111827}.v6-table .remaining{color:#ef4444}.v6-table tfoot th{font-weight:800}.v6-chart{padding:15px 20px 18px;height:320px}.legend{display:flex;align-items:center;gap:8px;font-size:11px}.legend b{width:9px;height:9px;border-radius:2px;display:inline-block}.legend .g{background:#48bd5b}.legend .r{background:#f44336;margin-left:12px}.bars{height:225px;display:flex;align-items:flex-end;gap:8px;border-left:1px solid #e4e9f0;border-bottom:1px solid #e4e9f0;padding:10px}.bars div{flex:1;height:100%;display:flex;align-items:flex-end;gap:2px}.bars i,.bars em{display:block;width:50%;border-radius:3px 3px 0 0}.bars i{background:#52bf60}.bars em{background:#ef4a3f}.axis{display:flex;justify-content:space-between;font-size:10px;padding:7px 5px}.quick-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.quick-row button,.quick-row a{border:1px solid var(--v6line);background:white;border-radius:12px;padding:14px;display:flex;align-items:center;gap:11px;color:#111827;text-decoration:none;text-align:left}.quick-row>*>i{width:40px;height:40px;border-radius:10px;color:white;display:grid;place-items:center;font-size:18px}.quick-row i.purple{background:#6c55dd}.quick-row i.green{background:#19a74a}.quick-row i.red{background:#f04444}.quick-row i.blue{background:#166dda}.quick-row i.orange{background:#f2a000}.quick-row span{display:flex;flex-direction:column}.quick-row b{font-size:12px}.quick-row small{font-size:9px;color:#667085;margin-top:3px}@media(max-width:1199px){.quick-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:991.98px){.v6-content{margin-left:0}.v6-topbar{padding-left:70px}.v6-sidebar{position:fixed}.v6-logo{height:190px}.v6-sidebar>.offcanvas-body{height:calc(100vh - 190px)}}@media(max-width:650px){.v6-search,.v6-actions{display:none}.quick-row{grid-template-columns:1fr}.v6-kpis .col-md-6{width:100%}}

/* V7 compact dashboard, accounting group and PDF preview */
.v6-logo{height:132px!important;padding:8px!important}
.v6-logo img{max-width:155px!important;max-height:118px!important}
.v6-sidebar>.offcanvas-body{height:calc(100vh - 132px)!important}
.v6-nav{padding:8px 10px!important}
.v6-nav a{padding:8px 12px!important;margin:1px 0!important;font-size:13px!important;gap:11px!important}
.v6-nav a i{font-size:16px!important;width:20px!important}
.nav-group-title{display:flex;align-items:center;gap:11px;padding:9px 12px 5px;color:#8fa2c2;font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.nav-group-title i{color:#d0a538}
.v6-nav .nav-child{padding-left:32px!important;color:#dce5f3}
.v6-user{padding:8px!important;margin:7px 10px!important}
.v6-user .avatar{width:32px!important;height:32px!important;font-size:17px!important}
.v6-topbar{height:62px!important;padding:0 28px!important}
.v6-content main{padding-top:12px!important;padding-bottom:12px!important}
.date-row{margin-bottom:8px!important}.date-row span{padding:6px 11px!important;font-size:11px}
.quick-top .quick-row{grid-template-columns:repeat(5,1fr);gap:9px}
.quick-top .quick-row button,.quick-top .quick-row a{padding:9px 11px;border-radius:10px}
.quick-top .quick-row>*>i{width:32px;height:32px;font-size:14px}
.quick-top .quick-row b{font-size:11px}.quick-top .quick-row small{display:none}
.v6-kpis{margin-bottom:10px!important}.v6-kpis.row{--bs-gutter-y:10px;--bs-gutter-x:10px}
.v6-kpi{min-height:105px!important;padding:11px!important;border-radius:11px!important}
.kpi-icon{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:17px!important}
.kpi-top{gap:9px!important}.kpi-top span{font-size:10px!important}.kpi-top strong{font-size:18px!important;margin:1px 0!important}.kpi-top small{font-size:8px!important}
.spark{height:18px!important;margin-top:5px!important}
.v6-panel .panel-title{padding:10px 13px!important}.panel-title h5{font-size:13px!important}
.v6-table th,.v6-table td{padding:7px 10px!important;font-size:10px!important}
.v6-chart{height:225px!important;padding:9px 14px!important}.bars{height:155px!important}
.pdf-preview-modal{height:92vh}.pdf-preview-frame{width:100%;height:calc(92vh - 62px);border:0;background:#596273}
.empty-state{text-align:center;padding:70px 20px}.empty-state i{font-size:55px;color:#8ca0bd}.empty-state h4{margin-top:15px}
@media(max-width:1199px){.quick-top .quick-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:991.98px){.v6-logo{height:125px!important}.v6-sidebar>.offcanvas-body{height:calc(100vh - 125px)!important}.quick-top .quick-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.quick-top .quick-row{grid-template-columns:1fr 1fr}}

/* V8 — Kullanıcı temaları ve muhasebe menüsü */
.nav-accounting{display:flex;align-items:center;gap:11px;min-height:37px;padding:8px 12px;margin:1px 0;color:#f2f5fa;font-size:13px;font-weight:400;border-radius:8px}
.nav-accounting>i:first-child{width:20px;text-align:center;font-size:16px;color:#fff}
.nav-accounting .nav-arrow{margin-left:auto;width:auto;font-size:11px;color:#9eacc3}
.v6-nav .nav-child{padding-left:43px!important}
.list-toolbar-title{display:flex;align-items:center;gap:8px;font-weight:700;color:#10294e}
.theme-label{display:inline-flex;padding:4px 9px;border-radius:14px;font-size:11px;font-weight:700}
.theme-label.theme-light{background:#edf2f8;color:#314763}.theme-label.theme-dark{background:#17243a;color:#fff}
.theme-label.theme-ocean{background:#dff5f8;color:#08727d}.theme-label.theme-warm{background:#fff0dc;color:#9a5312}
.theme-label.theme-offwhite{background:#f4f0e7;color:#655a49}.theme-label.theme-beige{background:#eadbc6;color:#745331}.theme-label.theme-bluewhite{background:#e6f3fb;color:#24648a}
.theme-label.theme-black{background:#050505;color:#fff}.theme-label.theme-white{background:#fff;color:#172033;border:1px solid #d9e0e9}

body.theme-dark{background:#101827;color:#e7edf7}
body.theme-dark .v6-content,body.theme-dark main{background:#101827}
body.theme-dark .v6-topbar,body.theme-dark .panel,body.theme-dark .premium-panel,body.theme-dark .v6-kpi,body.theme-dark .v6-panel,body.theme-dark .modal-content{background:#182235!important;color:#e7edf7;border-color:#2a3952!important}
body.theme-dark .table{--bs-table-bg:#182235;--bs-table-color:#e7edf7;--bs-table-border-color:#2a3952}
body.theme-dark .table th{background:#202e45!important;color:#f5f7fb}
body.theme-dark .form-control,body.theme-dark .form-select{background:#121c2c;color:#fff;border-color:#35455e}
body.theme-dark .text-muted{color:#9facbf!important}
body.theme-dark .v6-search{background:#121c2c;border-color:#35455e}
body.theme-dark .v6-search input{color:#fff}
body.theme-dark .list-toolbar-title{color:#e7edf7}

body.theme-ocean{background:#edf9fa;color:#123d48}
body.theme-ocean .v6-sidebar{background:linear-gradient(180deg,#063d4e,#062b3b)!important}
body.theme-ocean .v6-nav a.active{background:#087f8d!important}
body.theme-ocean .v6-topbar,body.theme-ocean .panel,body.theme-ocean .premium-panel,body.theme-ocean .v6-kpi,body.theme-ocean .v6-panel{border-color:#c8e7e9}
body.theme-ocean .premium-primary,body.theme-ocean .btn-primary{background:#087f8d;border-color:#087f8d}

body.theme-warm{background:#fff8ef;color:#4a321f}
body.theme-warm .v6-sidebar{background:linear-gradient(180deg,#55321f,#332116)!important}
body.theme-warm .v6-nav a.active{background:#b86c2e!important}
body.theme-warm .v6-topbar,body.theme-warm .panel,body.theme-warm .premium-panel,body.theme-warm .v6-kpi,body.theme-warm .v6-panel{border-color:#ead6bf}
body.theme-warm .premium-primary,body.theme-warm .btn-primary{background:#a95e26;border-color:#a95e26}

body.theme-offwhite{background:#f4f1e9;color:#283444}
body.theme-offwhite .v6-content,body.theme-offwhite main{background:#f4f1e9}
body.theme-offwhite .v6-sidebar{background:radial-gradient(circle at 15% 4%,rgba(255,252,243,.95) 0,rgba(244,239,226,.72) 10%,transparent 30%),linear-gradient(145deg,#eee9dc 0%,#a9a69f 16%,#35465d 43%,#17263b 72%,#0e1b2e 100%)!important;box-shadow:inset -14px 0 28px rgba(3,12,25,.28),8px 0 24px rgba(17,31,49,.18)!important}
body.theme-offwhite .v6-sidebar .v6-nav a,body.theme-offwhite .v6-sidebar .nav-accounting{color:#fff;text-shadow:0 1px 2px rgba(3,12,25,.65)}
body.theme-offwhite .v6-topbar,body.theme-offwhite .panel,body.theme-offwhite .premium-panel,body.theme-offwhite .v6-kpi,body.theme-offwhite .v6-panel,body.theme-offwhite .modal-content{background:#fffdf8!important;border-color:#e2dccf!important}
body.theme-offwhite .v6-nav a.active,body.theme-offwhite .premium-primary,body.theme-offwhite .btn-primary{background:#8c7354!important;border-color:#8c7354!important}

body.theme-beige{background:#eee4d6;color:#423326}
body.theme-beige .v6-content,body.theme-beige main{background:#eee4d6}
body.theme-beige .v6-sidebar{background:linear-gradient(180deg,#574636,#3e3025)!important}
body.theme-beige .v6-topbar,body.theme-beige .panel,body.theme-beige .premium-panel,body.theme-beige .v6-kpi,body.theme-beige .v6-panel,body.theme-beige .modal-content{background:#fbf5ec!important;border-color:#d9c6ae!important}
body.theme-beige .v6-nav a.active,body.theme-beige .premium-primary,body.theme-beige .btn-primary{background:#9a7048!important;border-color:#9a7048!important}

body.theme-bluewhite{background:#eef7fc;color:#183c57}
body.theme-bluewhite .v6-content,body.theme-bluewhite main{background:#eef7fc}
body.theme-bluewhite .v6-sidebar{background:linear-gradient(180deg,#174b6d,#10354f)!important}
body.theme-bluewhite .v6-topbar,body.theme-bluewhite .panel,body.theme-bluewhite .premium-panel,body.theme-bluewhite .v6-kpi,body.theme-bluewhite .v6-panel,body.theme-bluewhite .modal-content{background:#fff!important;border-color:#cfe4f1!important}
body.theme-bluewhite .v6-nav a.active,body.theme-bluewhite .premium-primary,body.theme-bluewhite .btn-primary{background:#287dab!important;border-color:#287dab!important}

body.theme-black{background:#050505;color:#f5f5f5}body.theme-black .v6-content,body.theme-black main{background:#050505}body.theme-black .v6-sidebar{background:linear-gradient(180deg,#000,#0b0b0b)!important}body.theme-black .v6-topbar,body.theme-black .panel,body.theme-black .premium-panel,body.theme-black .v6-kpi,body.theme-black .v6-panel,body.theme-black .modal-content,body.theme-black .cash-status-panel{background:#111!important;color:#f5f5f5;border-color:#2a2a2a!important}body.theme-black .table{--bs-table-bg:#111;--bs-table-color:#f5f5f5;--bs-table-border-color:#2a2a2a}body.theme-black .table th{background:#181818!important;color:#fff}body.theme-black .form-control,body.theme-black .form-select{background:#090909;color:#fff;border-color:#383838}body.theme-black .text-muted{color:#aaa!important}body.theme-black .v6-nav a.active,body.theme-black .premium-primary,body.theme-black .btn-primary{background:#343434!important;border-color:#555!important}
body.theme-white{background:#fff;color:#172033}body.theme-white .v6-content,body.theme-white main{background:#fff}body.theme-white .v6-sidebar{background:linear-gradient(180deg,#f9fbfd,#eef2f6)!important;border-right:1px solid #dce3eb}body.theme-white .v6-sidebar .v6-nav a,body.theme-white .v6-sidebar .nav-accounting{color:#1d3048;text-shadow:none}body.theme-white .v6-sidebar .v6-nav a.active{background:#dfeaf5!important;color:#123f73}body.theme-white .v6-topbar,body.theme-white .panel,body.theme-white .premium-panel,body.theme-white .v6-kpi,body.theme-white .v6-panel,body.theme-white .modal-content{background:#fff!important;border-color:#e1e7ee!important;box-shadow:0 6px 20px rgba(28,49,72,.05)}
body.theme-white .v6-logo img{filter:none!important;opacity:1!important}body.theme-white .v6-logo{border-bottom-color:#dce3eb}body.theme-white .v6-logo .btn-close{filter:none!important}
body.theme-white .v6-sidebar .nav-accounting>i:first-child,
body.theme-white .v6-sidebar .nav-accounting .nav-arrow{
  color:#1d3048!important;
}
body.theme-white .v6-sidebar .nav-accounting{
  background:#e8eef5;
  border:1px solid #d4dee9;
  font-weight:400;
}
body.theme-white .v6-sidebar .v6-nav .nav-child{
  color:#304760!important;
}

/* V9 — Kurumsal giriş ekranı */
.meliva-login-page{
  min-height:100vh;
  margin:0;
  background:#f7f3ed;
  color:#0d2547;
  font-family:Arial,sans-serif;
}
.login-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(420px,1.1fr) minmax(430px,.9fr);
}
.login-brand-panel{
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:40px;
  background:
    radial-gradient(circle at 18% 18%,rgba(112,148,176,.17),transparent 34%),
    radial-gradient(circle at 82% 72%,rgba(182,160,132,.16),transparent 31%),
    linear-gradient(145deg,#fbf8f3,#f1ece4);
}
.login-brand-panel:before,
.login-brand-panel:after{
  content:"";
  position:absolute;
  width:460px;
  height:460px;
  border-radius:50%;
  border:1px solid rgba(15,48,82,.06);
}
.login-brand-panel:before{left:-190px;top:-170px}
.login-brand-panel:after{right:-210px;bottom:-180px}
.login-brand-inner{
  position:relative;
  z-index:1;
  max-width:560px;
  width:100%;
  text-align:center;
}
.login-logo-frame{
  position:relative;
  width:min(360px,76%);
  min-height:290px;
  margin:0 auto;
  display:grid;
  place-items:center;
  padding:38px 34px;
  overflow:hidden;
  border:1px solid rgba(23,59,105,.14);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(251,248,243,.7));
  box-shadow:
    0 26px 55px rgba(17,38,66,.1),
    inset 0 0 0 6px rgba(255,255,255,.42);
}
.login-logo-frame:before{
  content:"";
  position:absolute;
  left:28px;
  right:28px;
  top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#b8a085,transparent);
}
.login-logo-frame:after{
  content:"";
  position:absolute;
  width:130px;
  height:130px;
  right:-58px;
  bottom:-62px;
  border:1px solid rgba(184,160,133,.16);
  border-radius:50%;
}
.login-logo{
  position:relative;
  z-index:1;
  width:230px;
  max-width:100%;
  max-height:205px;
  object-fit:contain;
  filter:drop-shadow(0 18px 28px rgba(17,38,66,.13));
  animation:loginLogoIn .65s ease-out both;
}
.login-brand-copy{
  margin-top:30px;
}
.login-brand-copy h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(28px,3vw,44px);
  font-weight:700;
  letter-spacing:.5px;
  color:#122f50;
}
.login-brand-copy p{
  margin:11px auto 0;
  max-width:390px;
  color:#75879b;
  font-size:15px;
  line-height:1.6;
}
.login-form-panel{
  position:relative;
  display:grid;
  place-items:center;
  padding:48px;
  background:#fff;
  box-shadow:-18px 0 55px rgba(18,42,72,.08);
}
.login-card{
  width:min(440px,100%);
  padding:36px;
  border:1px solid #e3e8ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 65px rgba(21,49,82,.11);
  animation:loginCardIn .55s ease-out both;
}
.login-card-head{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:28px;
}
.login-card-head h2{
  margin:0;
  color:#0d294e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:29px;
  font-weight:700;
}
.login-card-head p{
  margin:5px 0 0;
  color:#7b899b;
  font-size:14px;
}
.login-icon{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  border-radius:15px;
  color:#173b69;
  background:linear-gradient(145deg,#eef4fb,#dae7f5);
  font-size:24px;
}
.login-card .form-label{
  color:#243a58;
  font-size:13px;
  font-weight:700;
}
.login-input-group{
  display:flex;
  align-items:center;
  min-height:50px;
  padding:0 13px;
  border:1px solid #d8e0ea;
  border-radius:12px;
  background:#fbfcfe;
  transition:.18s;
}
.login-input-group:focus-within{
  border-color:#567ea8;
  box-shadow:0 0 0 4px rgba(55,100,148,.1);
  background:#fff;
}
.login-input-group>i{
  color:#8192a7;
  font-size:17px;
}
.login-input-group .form-control{
  border:0;
  box-shadow:none;
  background:transparent;
  min-height:48px;
}
.password-toggle{
  border:0;
  background:transparent;
  color:#788ba2;
  padding:7px;
}
.login-submit{
  min-height:50px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#123968,#0a2850);
  color:#fff;
  font-weight:700;
  box-shadow:0 10px 25px rgba(13,50,91,.22);
}
.login-submit:hover{
  background:linear-gradient(135deg,#0d315d,#061f43);
  color:#fff;
  transform:translateY(-1px);
}
.login-security{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  margin-top:20px;
  color:#8a98aa;
  font-size:11px;
}
.login-footer{
  position:absolute;
  left:0;
  right:0;
  bottom:22px;
  text-align:center;
  color:#9aa5b3;
  font-size:11px;
}
@keyframes loginLogoIn{
  from{opacity:0;transform:translateY(12px) scale(.98)}
  to{opacity:1;transform:none}
}
@keyframes loginCardIn{
  from{opacity:0;transform:translateX(16px)}
  to{opacity:1;transform:none}
}
@media(max-width:900px){
  .login-shell{grid-template-columns:1fr}
  .login-brand-panel{min-height:310px;padding:25px}
  .login-logo-frame{width:min(300px,70%);min-height:220px;padding:26px}
  .login-logo{width:180px;max-height:160px}
  .login-brand-copy{margin-top:17px}
  .login-brand-copy h1{font-size:28px}
  .login-form-panel{padding:34px 20px 68px}
}
@media(max-width:520px){
  .login-brand-panel{min-height:280px}
  .login-logo-frame{width:230px;min-height:175px;padding:20px;border-radius:18px}
  .login-logo{width:145px;max-height:130px}
  .login-brand-copy h1{font-size:23px}
  .login-brand-copy p{font-size:12px}
  .login-card{padding:25px 20px;border-radius:17px}
}

/* V10 — Otel günlük çamaşır matrisi */
.monthly-summary{display:inline-block;padding:10px 14px;border-radius:10px;background:#eef4fb;color:#173c67}
.laundry-matrix-panel{padding:0;overflow:hidden}
.laundry-help{padding:10px 15px;background:#edf5ff;color:#315a86;font-size:12px;border-bottom:1px solid #d8e5f3}
.laundry-matrix-wrap{max-height:62vh}
.laundry-matrix{width:max-content;min-width:100%;font-size:11px}
.laundry-matrix th,.laundry-matrix td{min-width:43px;padding:5px!important;text-align:center;vertical-align:middle;border-color:#dbe3ee}
.laundry-matrix thead th{position:sticky;top:0;z-index:5;background:#0c2e59;color:#fff}
.laundry-matrix .sticky-product{position:sticky;left:0;z-index:4;min-width:165px;max-width:165px;text-align:left;background:#fff}
.laundry-matrix thead .sticky-product{z-index:7;background:#0c2e59}
.laundry-matrix tfoot .sticky-product{background:#fff2c8}
.laundry-matrix .product-name{font-weight:700;color:#18385e}
.laundry-matrix .day-input{width:37px;height:31px;padding:2px;border:1px solid transparent;border-radius:5px;text-align:center;background:transparent}
.laundry-matrix .day-input:hover,.laundry-matrix .day-input:focus{border-color:#6d94bf;background:#fff;outline:none;box-shadow:0 0 0 2px rgba(61,112,164,.12)}
.laundry-matrix .summary-col,.laundry-matrix .row-qty,.laundry-matrix .price-cell,.laundry-matrix .row-total{min-width:88px;background:#f7f9fc}
.laundry-matrix .row-total{min-width:110px;color:#0b5f36}
.price-button{border:0;background:#fff1c9;color:#795600;border-radius:6px;padding:5px 7px;font-weight:700;white-space:nowrap}
.laundry-matrix tfoot th,.laundry-matrix tfoot td{position:sticky;bottom:0;z-index:5;background:#fff2c8;font-weight:800}
.laundry-savebar{display:flex;justify-content:flex-end;padding:13px 16px;border-top:1px solid #dbe3ee;background:#fff}
body.theme-dark .monthly-summary{background:#243650;color:#e8eff8}
body.theme-dark .laundry-matrix .sticky-product{background:#182235;color:#e7edf7}
body.theme-dark .laundry-matrix .summary-col,body.theme-dark .laundry-matrix .row-qty,body.theme-dark .laundry-matrix .price-cell,body.theme-dark .laundry-matrix .row-total{background:#202e45}
body.theme-dark .laundry-matrix .day-input{color:#fff}
body.theme-dark .laundry-savebar{background:#182235}
@media(max-width:700px){.laundry-matrix .sticky-product{min-width:130px;max-width:130px}.laundry-matrix th,.laundry-matrix td{min-width:40px}}

/* V12 — İlave tema seçenekleri */
.theme-label.theme-emerald{background:#dff5eb;color:#0d704b}.theme-label.theme-purple{background:#eee5ff;color:#6333a0}
.theme-label.theme-rose{background:#ffe6eb;color:#a43854}.theme-label.theme-graphite{background:#e5e8ec;color:#303943}
body.theme-emerald{background:#eef9f4;color:#183e32}body.theme-emerald .v6-sidebar{background:linear-gradient(180deg,#064a38,#073328)!important}
body.theme-emerald .v6-nav a.active{background:#11825f!important}body.theme-emerald .premium-primary,body.theme-emerald .btn-primary{background:#0e7a59;border-color:#0e7a59}
body.theme-purple{background:#f6f2fc;color:#35274d}body.theme-purple .v6-sidebar{background:linear-gradient(180deg,#40205f,#29173e)!important}
body.theme-purple .v6-nav a.active{background:#7545a5!important}body.theme-purple .premium-primary,body.theme-purple .btn-primary{background:#70429e;border-color:#70429e}
body.theme-rose{background:#fff4f6;color:#512d38}body.theme-rose .v6-sidebar{background:linear-gradient(180deg,#6d263d,#421826)!important}
body.theme-rose .v6-nav a.active{background:#b34d6a!important}body.theme-rose .premium-primary,body.theme-rose .btn-primary{background:#aa4663;border-color:#aa4663}
body.theme-graphite{background:#edf0f3;color:#26313c}body.theme-graphite .v6-sidebar{background:linear-gradient(180deg,#242d37,#151b22)!important}

/* Mobile navigation: keep the drawer above its backdrop and the title clear of the toggle. */
@media(max-width:991.98px){
  .v6-sidebar{
    z-index:1055!important;
  }
  .offcanvas-backdrop{
    z-index:1050!important;
  }
  .mobile-menu-btn{
    z-index:1060!important;
  }
  .v6-topbar{
    padding:0 14px 0 76px!important;
    min-width:0;
  }
  .v6-topbar .welcome{
    min-width:0;
    max-width:100%;
    white-space:normal;
    line-height:1.2;
    font-size:15px;
  }
  .v6-sidebar.show~.v6-content .mobile-menu-btn,
  body:has(.v6-sidebar.show)>.mobile-menu-btn{
    visibility:hidden;
    pointer-events:none;
  }
}
body.theme-graphite .v6-nav a.active{background:#566574!important}body.theme-graphite .premium-primary,body.theme-graphite .btn-primary{background:#4d5d6c;border-color:#4d5d6c}

/* V14 ekran düzenlemeleri */
.page-heading h2,.page-title-standard{font-family:Inter,Arial,sans-serif!important;font-size:1.75rem!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;margin-bottom:.25rem}.daily-kpi{display:flex;flex-direction:column;gap:6px}.daily-kpi>i{font-size:24px;color:#145da0}.daily-kpi small{color:#667085}.daily-kpi strong{font-size:1.25rem}.cash-day-card{background:#fff;border:1px solid #e2e8f0;border-left:4px solid #64748b;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:5px;height:100%}.cash-day-card strong{font-size:1.15rem}.cash-day-card.success{border-left-color:#198754}.cash-day-card.danger{border-left-color:#dc3545}.cash-day-card.primary{border-left-color:#0d6efd}.cash-day-card.warning{border-left-color:#ffc107}.cash-day-card.info{border-left-color:#0dcaf0}body.theme-dark .cash-day-card{background:#182235;border-color:#2a3952}


/* V15 — Tüm sayfalarda ortak tipografi */
:root{--meliva-font:"Segoe UI",Inter,Arial,sans-serif}
body,button,input,select,textarea,.form-control,.form-select,.btn,.table,.modal,.dropdown-menu{font-family:var(--meliva-font)!important}
h1,h2,h3,h4,h5,h6,.page-heading h2,.page-title-standard,.panel-head h5,.panel-title h5,.premium-panel-head h4,.quick-panel-title,.stat-label,.stat-value,.topbar-title{font-family:var(--meliva-font)!important;font-style:normal!important;letter-spacing:0!important}
h1{font-size:2rem}h2,.page-title-standard{font-size:1.75rem!important}h3{font-size:1.5rem}h4{font-size:1.25rem}h5{font-size:1rem}
.report-tabs{display:flex;gap:8px;flex-wrap:wrap}.report-tabs a{font-family:var(--meliva-font);font-size:.86rem;padding:9px 12px;border-radius:9px;white-space:nowrap}
.report-table th,.report-table td{font-size:.84rem;vertical-align:middle}.report-table th{white-space:nowrap}


/* V16 — Raporlar için kırılımlı sol menü */
.nav-report-root,.nav-report-group{margin:1px 0;color:#f4f7fc}
.nav-report-root summary,.nav-report-group summary{list-style:none;cursor:pointer;user-select:none}
.nav-report-root summary::-webkit-details-marker,.nav-report-group summary::-webkit-details-marker{display:none}
.nav-report-main{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:400;transition:background .18s ease}
.nav-report-main>span,.nav-report-group summary>span{display:flex;align-items:center;gap:11px;min-width:0}
.nav-report-main>span>i{font-size:16px;width:20px;text-align:center}
.nav-report-main:hover,.nav-report-main.active{background:rgba(255,255,255,.07)}
.nav-report-main.active{background:linear-gradient(90deg,#183b84,#234caa);box-shadow:0 5px 14px rgba(17,58,139,.24)}
.nav-report-arrow{font-size:11px;transition:transform .2s ease;color:#aebbd0}
.nav-report-root[open]>.nav-report-main .nav-report-arrow{transform:rotate(180deg)}
.nav-report-content{padding:4px 0 4px 14px}
.nav-report-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:7px;color:#dce5f3;font-size:12px;font-weight:600}
.nav-report-group>summary:hover{background:rgba(255,255,255,.055)}
.nav-report-group>summary span>i{width:16px;text-align:center;font-size:13px;color:#aebbd0}
.nav-report-group>summary>i{font-size:9px;color:#8fa0b8;transition:transform .2s ease}
.nav-report-group[open]>summary>i{transform:rotate(90deg)}
.nav-report-links{position:relative;margin:2px 0 5px 16px;padding-left:9px;border-left:1px solid rgba(255,255,255,.13)}
.v6-nav .nav-report-links a{position:relative;padding:6px 9px!important;margin:1px 0!important;border-radius:7px;font-size:11.5px!important;color:#cbd6e6;line-height:1.25;gap:0!important}
.v6-nav .nav-report-links a:before{content:"";position:absolute;left:-10px;top:50%;width:7px;border-top:1px solid rgba(255,255,255,.18)}
.v6-nav .nav-report-links a:hover{color:#fff;background:rgba(255,255,255,.06)}
.v6-nav .nav-report-links a.active{color:#fff;background:rgba(46,103,216,.72);box-shadow:none;font-weight:700}
body.theme-ocean .nav-report-main.active{background:#087f8d!important}
body.theme-warm .nav-report-main.active{background:#b86c2e!important}
body.theme-emerald .nav-report-main.active{background:#11825f!important}
body.theme-purple .nav-report-main.active{background:#7545a5!important}
body.theme-rose .nav-report-main.active{background:#b34d6a!important}
body.theme-graphite .nav-report-main.active{background:#566574!important}
body.theme-white .v6-sidebar .nav-report-root,
body.theme-white .v6-sidebar .nav-report-group{
  color:#1d3048!important;
}
body.theme-white .v6-sidebar .nav-report-main{
  color:#1d3048!important;
  background:#e8eef5;
  border:1px solid #d4dee9;
  font-weight:400;
}
body.theme-white .v6-sidebar .nav-report-main>span>i,
body.theme-white .v6-sidebar .nav-report-arrow,
body.theme-white .v6-sidebar .nav-report-group>summary,
body.theme-white .v6-sidebar .nav-report-group>summary span>i,
body.theme-white .v6-sidebar .nav-report-group>summary>i{
  color:#304760!important;
}
body.theme-white .v6-sidebar .nav-report-content{
  color:#304760!important;
}
body.theme-white .v6-sidebar .nav-report-links{
  border-left-color:#bdcad8;
}
body.theme-white .v6-sidebar .v6-nav .nav-report-links a{
  color:#304760!important;
}
body.theme-white .v6-sidebar .v6-nav .nav-report-links a:before{
  border-top-color:#bdcad8;
}
body.theme-white .v6-sidebar .v6-nav .nav-report-links a:hover{
  color:#123f73!important;
  background:#e5edf6;
}
body.theme-white .v6-sidebar .v6-user{
  background:#e8eef5;
  color:#1d3048;
  border:1px solid #d4dee9;
}
body.theme-white .v6-sidebar .v6-user small,
body.theme-white .v6-sidebar .v6-user>a{
  color:#526981!important;
}

/* V18 — Rapor sayfasında yalnızca aktif kategori görünür */
.report-section-label{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:.92rem;color:var(--text-muted,#667085)}
.report-section-label i{font-size:1rem}

/* V21 — Oteller sayfası Dashboard liste görünümü */
.customer-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.customer-page-heading p{margin:5px 0 0;color:#667085;font-size:13px}
.hotel-summary-cards .v6-kpi.compact{min-height:118px;padding:16px}
.hotel-summary-cards .v6-kpi.compact .kpi-top strong{font-size:21px}
.hotel-dashboard-panel{height:auto}
.hotel-list-title{gap:16px;flex-wrap:wrap}
.hotel-list-title h5{font-size:16px!important}
.dashboard-list-search{margin-left:auto;min-width:260px;position:relative}
.dashboard-list-search input{width:100%;height:38px;border:1px solid var(--v6line);border-radius:8px;padding:8px 12px 8px 36px;font-size:12px;outline:none;background:#fff}
.dashboard-list-search i{position:absolute;left:13px;top:10px;color:#98a2b3}
.hotel-dashboard-table th,.hotel-dashboard-table td{padding:12px 15px!important;font-size:12px!important;vertical-align:middle}
.hotel-dashboard-table .hotel-name-cell a{display:flex;align-items:center;gap:10px;font-weight:700;color:#111827}
.hotel-list-icon{width:32px;height:32px;border-radius:9px;background:#e8effc;color:#174da3;display:inline-grid;place-items:center;flex:0 0 32px}
.hotel-dashboard-table .collected-amount{color:#149447;font-weight:650}
.hotel-dashboard-table .remaining{color:#ef4444;font-weight:750}
.hotel-dashboard-table .actions-cell{white-space:nowrap}
.active-pill.passive-pill{background:#f2f4f7;color:#667085}
.hotel-dashboard-table tfoot th{background:#fafbfc;border-top:2px solid var(--v6line);font-weight:800}
@media(max-width:767px){.customer-page-heading{align-items:flex-start;flex-direction:column}.dashboard-list-search{width:100%;min-width:0}.hotel-summary-cards .v6-kpi.compact{min-height:105px}.hotel-dashboard-table{min-width:780px}}

/* Company creation flow */
.company-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.company-toolbar .btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:9px;font-weight:700}
.hotel-list-title{justify-content:flex-start!important;gap:16px;flex-wrap:wrap}.customer-list-controls{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex:1;flex-wrap:wrap}.dashboard-list-search{margin-left:auto}.show-passive-toggle{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#526078;white-space:nowrap}.show-passive-toggle input{width:17px;height:17px;accent-color:#123f73}.sortable-balance{cursor:pointer;user-select:none}.sortable-balance i{font-size:11px;margin-left:4px;color:#8090a7}

/* Paket Takibi: hızlı giriş ve önceki gün kartları */
.package-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}.package-history{background:linear-gradient(155deg,#f8fbff,#eef3f9);border:1px solid #dce5ef;border-radius:14px;padding:13px;box-shadow:0 10px 24px rgba(31,55,82,.08)}.package-history-title{display:flex;align-items:center;gap:8px;margin-bottom:11px;color:#173b66;font-size:12px;font-weight:800}.package-history-grid{display:grid;gap:10px}.package-day-square{aspect-ratio:1.2/1;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d7e1ed;border-radius:12px;background:#fff;color:#17324f;text-decoration:none;box-shadow:0 6px 14px rgba(25,52,80,.07);transition:.18s ease}.package-day-square:hover{transform:translateY(-2px);border-color:#7ba5cf;box-shadow:0 9px 18px rgba(25,52,80,.13)}.package-day-square small{font-size:10px;color:#74859a}.package-day-square strong{font-size:17px}.package-day-square span{margin-top:4px;font-size:11px;font-weight:750;color:#1766a3}.package-entry-panel{min-width:0}.package-entry-panel .hotel-select{width:min(100%,360px)}.package-entry-panel .pkg{width:150px;margin-left:auto}.package-entry-panel table th:first-child,.package-entry-panel table td:first-child{width:60%}
body.theme-dark .package-history{background:#182235;border-color:#2a3952}.theme-dark .package-day-square{background:#202e45;border-color:#35455e;color:#fff}
@media(max-width:767px){.package-workspace{display:flex;flex-direction:column}.package-entry-panel{order:1;width:100%}.package-history{order:2;width:100%}.package-history-grid{grid-template-columns:repeat(3,1fr)}.package-day-square{aspect-ratio:1/1}.package-entry-panel .panel-title{align-items:flex-start}.package-entry-panel .table-responsive{overflow:visible}.package-entry-panel table,.package-entry-panel tbody,.package-entry-panel tr,.package-entry-panel td{display:block;width:100%!important}.package-entry-panel thead{display:none}.package-entry-panel .package-row{position:relative;padding:14px 52px 14px 14px;border-bottom:1px solid #e3e9f1}.package-entry-panel .package-row td{border:0!important;padding:5px 0!important}.package-entry-panel .hotel-select,.package-entry-panel .pkg{width:100%;max-width:none;margin:0;text-align:left!important}.package-entry-panel .package-row td:nth-child(2)::before{content:'Paket / Torba Adedi';display:block;margin-bottom:5px;font-size:11px;font-weight:700;color:#637187}.package-entry-panel .package-row td:last-child{position:absolute;right:13px;top:16px;width:auto!important}.package-entry-panel tfoot{display:block}.package-entry-panel tfoot tr{display:flex;align-items:center;justify-content:space-between;padding:12px 14px}.package-entry-panel tfoot th{display:block!important;border:0!important;padding:0!important}.package-entry-panel tfoot th:last-child{display:none!important}}

/* Kasa durumu ve yeni fiş */
.cash-page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.cash-status-panel{padding:16px;border:1px solid #dfe6ef;border-radius:14px;background:linear-gradient(145deg,#fff,#f7f9fc);box-shadow:0 10px 25px rgba(35,55,80,.07)}.cash-status-title{margin-bottom:12px;font-size:15px;font-weight:800;color:#183b65}.cash-status-card{height:100%;border-left:4px solid #22a867}.cash-status-card.total{border-left-color:#1c65a8}.cash-opening-panel form{padding-top:4px}.cash-summary-stack{display:grid;gap:16px}.cash-account-summary .panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cash-account-summary.cash{border-left:4px solid #20a866}.cash-account-summary.bank{border-left:4px solid #2672b9}.cash-account-summary h5{display:flex;align-items:center;gap:9px;margin:0}.cash-net-pill{padding:6px 10px;border-radius:999px;background:#eaf2fb;color:#195a94;font-size:12px;font-weight:800}
body.theme-dark .cash-status-panel{background:#182235;border-color:#2a3952}.theme-dark .cash-status-title{color:#e7edf7}.theme-dark .cash-net-pill{background:#243650;color:#dbe9f8}
@media(max-width:767px){.cash-page-actions,.cash-page-actions form{width:100%}.cash-page-actions .btn,.cash-page-actions form .form-control{flex:1}.cash-status-panel{padding:12px}.cash-account-summary .panel-head{align-items:flex-start;flex-direction:column}.cash-opening-panel .btn{width:100%}}

/* Dönem filtreleri ve okunabilir rapor başlıkları */
.customer-period-filter{display:flex;align-items:center;gap:14px}.customer-period-filter label:first-child{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#526078}.customer-period-filter input[type=month]{width:145px;height:36px}.show-all-toggle{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:700;color:#526078}.show-all-toggle input{width:17px;height:17px;accent-color:#123f73}.package-entry-meta{display:flex;align-items:flex-end;gap:16px}.package-entry-meta label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:750;color:#617188}.package-entry-meta input{width:155px}.report-readable-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px;text-align:left}.report-heading-left small{display:block;margin-bottom:3px;color:#8190a5;font-size:10px;font-weight:800;letter-spacing:1.4px}.report-heading-left h5{margin:0;font-size:19px;color:#142f52}.report-heading-right{text-align:right;color:#637187;font-size:11px;line-height:1.7}.report-table th{text-align:left!important;white-space:nowrap}.report-table td{text-align:left;line-height:1.45}
@media(max-width:767px){.customer-period-filter{width:100%;justify-content:space-between}.customer-period-filter input[type=month]{width:135px}.package-entry-title{align-items:flex-start!important;flex-direction:column}.package-entry-meta{width:100%;justify-content:space-between;order:-1}.package-entry-meta label{flex:1}.package-entry-meta input{width:100%}.report-readable-head{flex-direction:column}.report-heading-right{text-align:left;width:100%}.report-heading-right .justify-content-end{justify-content:flex-start!important}}
.company-modal{border:0;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px rgba(11,31,63,.25)}
.company-modal .modal-header{padding:20px 24px;border-bottom:1px solid var(--v6line);background:#f8fafc}
.company-modal .modal-title{font-weight:800;color:#10294e}
.company-modal .modal-title i{color:#1d5fc1;margin-right:7px}
.company-modal .modal-body{padding:24px}
.company-modal .form-label{font-size:12px;font-weight:700;color:#344054;margin-bottom:6px}
.company-modal .form-control{min-height:44px;border-color:#d7dee9;border-radius:9px}
.company-modal textarea.form-control{min-height:92px;resize:vertical}
.company-modal .modal-footer{padding:16px 24px;border-top:1px solid var(--v6line)}
@media(max-width:767.98px){
  .company-toolbar .btn{width:100%;justify-content:center}
  .company-modal .modal-header,.company-modal .modal-body,.company-modal .modal-footer{padding-left:18px;padding-right:18px}
}

/* Mobile dashboard simplification requested for the operational view. */
@media(max-width:767.98px){
  .mobile-dashboard-hidden{
    display:none!important;
  }
}

/* Oteller ve Cari: mobilde Dashboard'daki cari durum tablosu görünümü. */
@media(max-width:767.98px){
  .customer-dashboard-list .hotel-summary-cards{
    display:none!important;
  }
  .customer-dashboard-list .customer-page-heading{
    margin-bottom:12px;
  }
  .customer-dashboard-list .customer-page-heading p{
    display:none;
  }
  .customer-dashboard-list .hotel-dashboard-panel{
    border-radius:14px;
    overflow:hidden;
  }
  .customer-dashboard-list .hotel-list-title{
    display:block;
    padding:14px 12px 10px;
  }
  .customer-dashboard-list .hotel-list-title h5{
    margin-bottom:10px;
  }
  .customer-dashboard-list .customer-list-controls{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    width:100%;
  }
  .customer-dashboard-list .customer-period-filter{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    width:100%;
  }
  .customer-dashboard-list .customer-period-filter label:first-child{
    min-width:0;
  }
  .customer-dashboard-list .customer-period-filter input[type=month]{
    width:100%;
    min-width:0;
  }
  .customer-dashboard-list .show-all-toggle,
  .customer-dashboard-list .show-passive-toggle{
    font-size:11px;
  }
  .customer-dashboard-list .dashboard-list-search{
    width:100%;
    min-width:0;
    margin:0;
  }
  .customer-dashboard-list .hotel-dashboard-panel .table-responsive{
    overflow:visible;
  }
  .customer-dashboard-list .hotel-dashboard-table{
    width:100%;
    min-width:0!important;
    table-layout:fixed;
    margin:0;
  }
  .customer-dashboard-list .hotel-dashboard-table th,
  .customer-dashboard-list .hotel-dashboard-table td{
    padding:10px 5px!important;
    font-size:10.5px!important;
    line-height:1.25;
    vertical-align:middle;
  }
  .customer-dashboard-list .hotel-dashboard-table th:first-child,
  .customer-dashboard-list .hotel-dashboard-table td:first-child{
    width:31%;
    padding-left:10px!important;
    text-align:left!important;
  }
  .customer-dashboard-list .hotel-dashboard-table th:nth-child(2),
  .customer-dashboard-list .hotel-dashboard-table td:nth-child(2),
  .customer-dashboard-list .hotel-dashboard-table th:nth-child(3),
  .customer-dashboard-list .hotel-dashboard-table td:nth-child(3),
  .customer-dashboard-list .hotel-dashboard-table th:nth-child(4),
  .customer-dashboard-list .hotel-dashboard-table td:nth-child(4){
    width:23%;
    white-space:nowrap;
  }
  .customer-dashboard-list .hotel-dashboard-table th:last-child,
  .customer-dashboard-list .hotel-dashboard-table td:last-child{
    display:none!important;
  }
  .customer-dashboard-list .hotel-dashboard-table .hotel-list-icon{
    display:none!important;
  }
  .customer-dashboard-list .hotel-dashboard-table .hotel-name-cell a{
    display:block;
    overflow-wrap:anywhere;
    font-size:11px;
    font-weight:600;
  }
  .customer-dashboard-list .hotel-dashboard-table tfoot th{
    font-size:10px!important;
  }
}

/* Mobile performance: reduce expensive repaints on long operational pages. */
@media(max-width:767.98px){
  .v6-kpi,.v6-panel,.panel,.premium-panel,.package-history,
  .package-day-square,.cash-status-panel,.company-modal{
    box-shadow:none!important;
  }
  .v6-nav a,.quick-btn,.package-day-square,.btn,.offcanvas{
    transition:none!important;
  }
  .package-day-square:hover,.quick-btn:hover{
    transform:none!important;
  }
}
