/* ÖZAY GRUP - Araç & Bölge modülleri */
.oz-extra-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:end;margin-bottom:14px}
.oz-extra-toolbar .field{min-width:180px}
.oz-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.oz-kpi{background:#fff;border:1px solid #dce3ee;border-radius:12px;padding:14px;box-shadow:0 6px 18px rgba(18,58,104,.06)}
.oz-kpi .oz-label{font-size:12px;color:#6c7890;margin-bottom:6px}.oz-kpi .oz-value{font-size:22px;font-weight:800;color:#172033}.oz-kpi .oz-sub{font-size:11px;color:#6c7890;margin-top:4px}
.oz-section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:18px 0 10px}.oz-section-title h3{margin:0}
.oz-alert-list{display:grid;gap:8px}.oz-alert{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #f2d28b;background:#fff7df;border-radius:9px;font-size:13px}.oz-alert.danger{border-color:#f4b4ae;background:#fff1f0;color:#8a1c13}
.oz-region-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.oz-region-card{cursor:pointer;background:#fff;border:1px solid #dce3ee;border-radius:12px;padding:16px;box-shadow:0 6px 18px rgba(18,58,104,.06)}.oz-region-card:hover{border-color:#1e5d9c}.oz-region-card.active{outline:2px solid #1e5d9c}.oz-region-card h3{margin:0 0 7px}.oz-region-card .amount{font-weight:800;font-size:20px}.oz-region-card .meta{font-size:12px;color:#6c7890;margin-top:5px}
.oz-chip-wrap{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px}.oz-chip{background:#edf3f9;border:1px solid #dce3ee;border-radius:999px;padding:6px 9px;font-size:12px}
.oz-extra-modal{display:none;position:fixed;inset:0;background:rgba(9,30,52,.62);z-index:500;align-items:center;justify-content:center;padding:18px}.oz-extra-modal.open{display:flex}.oz-extra-box{background:#fff;width:min(880px,100%);max-height:92vh;overflow:auto;border-radius:14px;padding:20px;box-shadow:0 22px 80px rgba(0,0,0,.25)}.oz-extra-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.oz-extra-head h3{margin:0}.oz-x{border:0;background:transparent;font-size:24px;cursor:pointer}
.oz-extra-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.oz-extra-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.oz-extra-modal .field label{display:block;font-size:12px;font-weight:700;color:#46556e;margin-bottom:5px}.oz-extra-modal input,.oz-extra-modal select,.oz-extra-modal textarea{width:100%;border:1px solid #dce3ee;border-radius:8px;padding:9px;background:#fff;color:#172033}.oz-extra-modal textarea{min-height:80px;resize:vertical}.oz-extra-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.oz-toast{position:fixed;right:18px;bottom:18px;z-index:900;background:#172033;color:#fff;padding:11px 14px;border-radius:9px;box-shadow:0 10px 30px rgba(0,0,0,.2);max-width:360px}.oz-toast.error{background:#b42318}
.oz-small{font-size:11px;color:#6c7890}.oz-click{cursor:pointer;color:#1e5d9c;font-weight:700}.oz-no-data{text-align:center;padding:25px;color:#6c7890}
@media(max-width:1000px){.oz-kpis{grid-template-columns:repeat(2,1fr)}.oz-region-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.oz-kpis,.oz-region-grid,.oz-extra-grid2,.oz-extra-grid3{grid-template-columns:1fr}.oz-extra-toolbar{align-items:stretch}.oz-extra-toolbar .field{min-width:0;width:100%}.oz-extra-box{padding:14px}.oz-section-title{align-items:flex-start;flex-direction:column}.oz-alert{flex-direction:column;gap:4px}}

/* V4 - mevcut online panel uyumluluğu */
#fleet.page.active,#regional-expenses.page.active{display:block}
#fleet .page-head,#regional-expenses .page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:16px}
#fleet .page-head h2,#regional-expenses .page-head h2{margin:0;font-size:24px}
#fleet .page-head p,#regional-expenses .page-head p{margin:5px 0 0;color:#6e7a8f}

/* V6 • Profesyonel sol menü ikonları */
.sidebar .nav{display:flex;align-items:center;gap:11px;min-height:44px;font-weight:600;letter-spacing:.01em}.sidebar .nav .nav-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.88;transition:opacity .18s ease,transform .18s ease}.sidebar .nav span{min-width:0;white-space:nowrap}.sidebar .nav:hover .nav-icon,.sidebar .nav.active .nav-icon{opacity:1}.sidebar .nav:hover .nav-icon{transform:translateY(-1px)}@media(max-width:1000px){.sidebar .nav{min-width:max-content}}

/* V9 • Özay Grup logo entegrasyonu */
.oz-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.oz-brand-logo{
  display:block;
  width:58px;
  height:48px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.16));
}
.oz-brand-text{
  min-width:0;
}
.oz-brand-text strong{
  line-height:1.1;
}
.oz-brand-text span{
  display:block;
  margin-top:3px;
}
@media(max-width:650px){
  .topbar{padding-left:12px;padding-right:12px}
  .oz-brand{gap:8px}
  .oz-brand-logo{width:42px;height:38px}
  .oz-brand-text strong{font-size:16px}
}

/* V14 • Şehir/ilçe seçici ve bölge kaldırma */
.oz-region-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.oz-region-card-head h3{margin:0}
.oz-region-remove{
  width:30px;height:30px;border:1px solid #e4c4c4;background:#fff5f5;color:#b42318;
  border-radius:9px;display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer;
  flex:0 0 auto
}
.oz-region-remove:hover{background:#ffe8e8;border-color:#e7a8a8}
#orCity,#orDistrict{width:100%;min-height:44px}

/* V15 • Akıllı harcama girişi */
.oz-field-hint{display:block;margin-top:6px;color:#77879a;font-size:11px;line-height:1.35}
.oz-fuel-price-box{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #cfe0ee;background:#f4f9fd;border-radius:12px}
.oz-fuel-price-box b{display:block;color:#244b6c;margin-bottom:4px}
#oreFuelPriceText{font-size:12px;color:#66798c}
.oz-receipt-preview img{display:block;width:min(100%,360px);max-height:220px;object-fit:contain;border:1px solid #dce5ee;border-radius:12px;margin-top:8px;background:#fff;padding:5px}
.oz-file-chip{display:inline-block;margin-top:8px;padding:7px 10px;border-radius:9px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700}
@media(max-width:700px){.oz-fuel-price-box{align-items:flex-start;flex-direction:column}.oz-fuel-price-box .btn{width:100%}}

/* V15.3 • Otomatik yakıt fiyatı */
input.oz-auto-price[readonly], input.exp-auto-price[readonly]{
  background:#eef6fc!important;
  color:#174c73!important;
  font-weight:800;
  cursor:not-allowed;
}

/* V17.5 • Otomatik araç tarihleri */
.oz-auto-date-info{margin-top:-2px}
.oz-auto-date-note{
  padding:10px 12px;
  border:1px solid #d9e5ef;
  background:#f6f9fc;
  color:#52677d;
  border-radius:9px;
  font-size:11px;
  line-height:1.45;
}
#ovInsuranceEnd,#ovCascoEnd,#ovNextInspection{
  background:#f8fbfd;
}

/* V17.6 • Araç süre takip rozetleri */
.oz-expiry-cell{min-width:130px}
.oz-expiry-cell>div:first-child{font-size:12px;margin-bottom:5px}
.oz-expiry{
  display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;
  border-radius:999px;font-size:10px;font-weight:800;line-height:1.2;
  border:1px solid transparent;white-space:nowrap;
}
.oz-expiry.ok{background:#edf8f2;color:#176b49;border-color:#cfe9da}
.oz-expiry.warning{background:#fff8e8;color:#9a6700;border-color:#f1dfad}
.oz-expiry.urgent{background:#fff2e8;color:#b45200;border-color:#f2c7a7}
.oz-expiry.expired{background:#fff0f0;color:#b42318;border-color:#efc5c5}
.oz-expiry.neutral{background:#f3f6f8;color:#6d7d8c;border-color:#dde4ea}


/* V19 • Admin bildirim zili / araç süre uyarıları */
.oz-notification-wrap{position:relative;display:flex;align-items:center}
.oz-notification-wrap.hidden{display:none!important}
.oz-notification-bell{
  position:relative;width:42px;height:42px;border:1px solid #d9e3ec;background:#fff;color:#23435f;
  border-radius:12px;display:grid;place-items:center;cursor:pointer;transition:.18s ease;box-shadow:0 1px 2px rgba(15,35,55,.04)
}
.oz-notification-bell:hover,.oz-notification-bell.active{background:#f4f8fb;border-color:#bfcfdd;color:#123f63}
.oz-notification-bell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.oz-notification-count{
  position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;background:#d92d20;color:#fff;border:2px solid #fff;
  font-size:10px;font-weight:900;line-height:1
}
.oz-notification-count.hidden{display:none!important}
.oz-notification-panel{
  position:absolute;right:0;top:50px;width:min(390px,calc(100vw - 24px));max-height:520px;overflow:hidden;
  z-index:1200;background:#fff;border:1px solid #dbe5ed;border-radius:16px;box-shadow:0 18px 45px rgba(17,42,66,.18)
}
.oz-notification-panel.hidden{display:none!important}
.oz-notification-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 12px;border-bottom:1px solid #edf1f4}
.oz-notification-head strong{display:block;color:#173c59;font-size:15px}
.oz-notification-head span{display:block;color:#7b8b99;font-size:11px;margin-top:2px}
.oz-notification-head button{width:32px;height:32px;border:1px solid #dde6ed;border-radius:9px;background:#fff;color:#49677e;cursor:pointer;font-size:19px}
.oz-notification-list{max-height:390px;overflow:auto;padding:8px}
.oz-notification-empty{padding:28px 16px;text-align:center;color:#738596;font-size:12px;line-height:1.5}
.oz-notification-item{display:flex;gap:11px;padding:11px 10px;border-radius:12px;cursor:pointer;transition:.15s ease}
.oz-notification-item:hover{background:#f6f9fb}
.oz-notification-dot{width:10px;height:10px;margin-top:5px;border-radius:999px;flex:0 0 auto;background:#f79009;box-shadow:0 0 0 4px #fff4e5}
.oz-notification-item.expired .oz-notification-dot{background:#d92d20;box-shadow:0 0 0 4px #fff0ef}
.oz-notification-copy{min-width:0;flex:1}
.oz-notification-copy b{display:block;color:#263d50;font-size:12px;margin-bottom:3px}
.oz-notification-copy p{margin:0;color:#607487;font-size:11px;line-height:1.4}
.oz-notification-copy time{display:block;color:#8a9aa7;font-size:10px;margin-top:5px}
.oz-notification-status{flex:0 0 auto;align-self:center;font-size:10px;font-weight:900;color:#b54708;background:#fff4e5;border:1px solid #fedf89;border-radius:999px;padding:4px 7px;white-space:nowrap}
.oz-notification-item.expired .oz-notification-status{color:#b42318;background:#fff0f0;border-color:#f3c4c0}
.oz-notification-footer{width:100%;border:0;border-top:1px solid #edf1f4;background:#fbfcfd;color:#245579;padding:12px 14px;font-weight:800;font-size:11px;cursor:pointer}
.oz-notification-footer:hover{background:#f1f6fa}
@media(max-width:700px){
  .oz-notification-panel{position:fixed;left:12px;right:12px;top:68px;width:auto;max-height:calc(100vh - 88px)}
  .oz-notification-list{max-height:calc(100vh - 205px)}
}

/* V31 • Gerçek Bildirim Merkezi */
.oz-notification-panel{width:min(460px,calc(100vw - 24px));}
.oz-notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid #edf1f4;background:#fbfcfd}
.oz-notification-filters{display:flex;gap:5px;padding:3px;background:#eef3f7;border-radius:10px}
.oz-notification-filters button,.oz-notification-markall{border:0;background:transparent;color:#617487;font-size:10px;font-weight:800;cursor:pointer;border-radius:8px;padding:6px 9px}
.oz-notification-filters button.active{background:#fff;color:#173c59;box-shadow:0 1px 3px rgba(22,50,72,.10)}
.oz-notification-markall{color:#245579;white-space:nowrap}
.oz-notification-item{position:relative;width:100%;border:0;background:#fff;text-align:left;align-items:flex-start}
.oz-notification-item.is-read{opacity:.68}
.oz-nc-category{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex:0 0 32px;background:#f2f6f9;font-size:15px}
.oz-nc-unread{position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:999px;background:#2563eb}
.oz-notification-item.oz-nc-critical{background:#fffafa}
.oz-notification-item.oz-nc-critical .oz-notification-status{color:#b42318;background:#fff0f0;border-color:#f3c4c0}
.oz-notification-item.oz-nc-warning .oz-notification-status{color:#b54708;background:#fff4e5;border-color:#fedf89}
.oz-notification-item.oz-nc-info .oz-notification-status{color:#175cd3;background:#eff8ff;border-color:#b2ddff}
@media(max-width:700px){
  .oz-notification-toolbar{align-items:stretch;flex-direction:column}
  .oz-notification-markall{text-align:left;padding-left:3px}
  .oz-notification-panel{top:62px;left:8px;right:8px;width:auto;max-height:calc(100vh - 72px)}
  .oz-notification-list{max-height:calc(100vh - 210px)}
}
