
:root{
  --bg:#f4f6f8;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#667085;
  --line:#e5e7eb;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
}
html,body{
  margin:0;padding:0;max-width:100%;overflow-x:hidden;
  font-family:Inter, Arial, sans-serif;
  background:var(--bg)!important;color:var(--text)!important;
}
body.theme-simple, body.premium-body{background:var(--bg)!important;color:var(--text)!important;}
.fa-solid,.fa-regular,.fa-brands,[class^="fa-"],[class*=" fa-"]{display:none!important;}
.admin-shell{min-height:100vh;}
.admin-sidebar{
  position:fixed;top:0;left:0;width:270px;height:100vh;background:#fff!important;border-right:1px solid var(--line);
  padding:18px 14px;box-sizing:border-box;z-index:1040;display:flex;flex-direction:column;
}
.admin-main{margin-left:270px!important;width:calc(100% - 270px)!important;min-width:0;}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line);}
.sidebar-brand{display:flex;align-items:center;min-width:0;}
.logo-area,.logo-icon{
  width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;border-radius:14px!important;
  background:#fff!important;border:1px solid var(--line)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
}
.logo-area img,.logo-icon img,.sidebar-brand img{max-width:42px!important;max-height:42px!important;width:auto!important;height:auto!important;object-fit:contain!important;}
.sidebar-brand__text,.logo-text,.brand-text{display:none!important;}
.sidebar-toggle,.sidebar-close-btn,.mobile-sidebar-btn{
  display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:none;background:#fff;border:1px solid var(--line);
  border-radius:12px;color:var(--text);cursor:pointer;
}
.sidebar-close-btn{display:none;}
.sidebar-nav{flex:1 1 auto;overflow-y:auto;min-height:0;padding-right:4px;}
.sidebar-link{
  display:flex!important;align-items:center!important;gap:10px!important;width:100%;box-sizing:border-box;
  min-height:46px;padding:11px 13px;margin-bottom:8px;border-radius:12px;color:var(--text)!important;text-decoration:none!important;
  background:#fff!important;border:1px solid var(--line)!important;white-space:normal!important;line-height:1.35!important;font-size:14px!important;font-weight:700!important;
}
.sidebar-link:hover{background:#f3f4f6!important;}
.sidebar-link.active{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important;}
.sidebar-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:grid;gap:10px;}
.user-chip,.sidebar-foot .btn,.sidebar-foot a,.sidebar-foot button{
  min-height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text);display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:700;
}
.sidebar-backdrop{display:none;}
.admin-topbar{
  position:sticky;top:0;z-index:1030;background:rgba(244,246,248,.96)!important;backdrop-filter:blur(8px);border-bottom:1px solid var(--line);
  padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.topbar-title-group{min-width:0;}
.topbar-title-group h2{margin:0;font-size:20px!important;line-height:1.2;color:var(--text)!important;}
.topbar-title-group p{margin:4px 0 0;color:var(--muted)!important;font-size:13px!important;}
.container-fluid,.container{max-width:100%;}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px;}
.page-head h1{margin:0 0 6px!important;font-size:30px!important;line-height:1.15!important;color:var(--text)!important;}
.page-head p{margin:0!important;color:var(--muted)!important;font-size:14px!important;line-height:1.6!important;}
.premium-card,.card,.table-wrap,.chart-card,.list-card,.calendar-card,.calendar-detail-card,.settings-block,.stats-card,.summary-card,.metric-card{
  background:#fff!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:0 10px 30px rgba(15,23,42,.05)!important;
}
.stats-grid,.dashboard-stats,.summary-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.stats-card,.summary-card,.metric-card{min-height:132px;padding:18px!important;overflow:hidden;}
.stats-card__label,.summary-card__label,.metric-card__label{color:var(--muted)!important;font-size:13px!important;line-height:1.4!important;}
.stats-card__value,.summary-card__value,.metric-card__value{color:var(--text)!important;font-size:30px!important;line-height:1.05!important;font-weight:800!important;word-break:break-word;}
.form-label{display:block;margin-bottom:8px;font-size:14px;font-weight:700;color:var(--text)!important;}
.form-control,.form-select,textarea.form-control{
  width:100%;box-sizing:border-box;min-height:46px;padding:10px 14px;border-radius:12px!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--text)!important;box-shadow:none!important;
}
.form-control::placeholder,textarea.form-control::placeholder{color:#98a2b3!important;}
.form-control:focus,.form-select:focus{border-color:var(--primary)!important;box-shadow:0 0 0 .2rem rgba(37,99,235,.10)!important;}
.btn,.btn-premium,.btn-primary,.btn-outline-light{
  min-height:44px;padding:10px 14px;border-radius:12px!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;
}
.btn-premium,.btn-primary{background:var(--primary)!important;color:#fff!important;border:none!important;}
.btn-premium:hover,.btn-primary:hover{background:var(--primary-dark)!important;}
.btn-outline-light{background:#fff!important;color:var(--text)!important;border:1px solid var(--line)!important;}
.table-responsive{overflow:auto;border-radius:16px;}
.table{width:100%;margin-bottom:0!important;--bs-table-bg:transparent;--bs-table-color:var(--text);--bs-table-border-color:var(--line);}
.table thead th{
  background:#f9fafb!important;color:var(--text)!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;padding:12px 10px!important;border-bottom:1px solid var(--line)!important;white-space:normal!important;vertical-align:middle!important;
}
.table td{
  color:var(--text)!important;font-size:14px!important;line-height:1.55!important;padding:12px 10px!important;white-space:normal!important;word-break:break-word!important;vertical-align:middle!important;
}
.table tbody tr:hover{background:#f9fafb!important;}
.badge,.text-bg-primary,.text-bg-success,.text-bg-warning,.text-bg-danger,.text-bg-secondary,.text-bg-info{
  border-radius:999px!important;padding:.5rem .7rem!important;font-size:12px!important;font-weight:800!important;color:#fff!important;
}
.text-secondary,.small.text-secondary,small.text-secondary,.site-footer,.settings-block__head p,.calendar-card__head p,.calendar-detail-card__head p{color:var(--muted)!important;}
.calendar-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;}
.calendar-weekday{text-align:center;font-size:12px;font-weight:800;color:var(--muted)!important;}
.calendar-day-link{text-decoration:none!important;}
.calendar-day{
  min-height:52px!important;border:1px solid var(--line)!important;background:#fff!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;color:var(--text)!important;
}
.calendar-day strong{font-size:18px!important;color:var(--text)!important;}
.calendar-day span{font-size:11px!important;color:var(--muted)!important;}
.calendar-day--selected{background:var(--primary)!important;border-color:var(--primary)!important;}
.calendar-day--selected strong,.calendar-day--selected span{color:#fff!important;}
.message-item,.calendar-offer-item{background:#fff!important;border:1px solid var(--line)!important;border-radius:14px!important;}
.theme-option-card,.settings-theme-box{display:none!important;}
@media (max-width:991px){
  .mobile-sidebar-btn{display:inline-flex!important;align-items:center;justify-content:center;}
  .sidebar-close-btn{display:inline-flex!important;}
  .sidebar-toggle{display:none!important;}
  .admin-sidebar{width:min(84vw,320px)!important;transform:translateX(-110%);transition:transform .24s ease;box-shadow:none;}
  .admin-sidebar.mobile-open{transform:translateX(0)!important;box-shadow:0 20px 40px rgba(15,23,42,.15);}
  .admin-main{margin-left:0!important;width:100%!important;}
  .sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.30);z-index:1035;opacity:0;pointer-events:none;transition:opacity .2s ease;}
  .sidebar-backdrop.show{opacity:1;pointer-events:auto;}
  .stats-grid,.dashboard-stats,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .page-head h1{font-size:26px!important;}
  .topbar-tools{display:none!important;}
}
@media (max-width:640px){
  .stats-grid,.dashboard-stats,.summary-grid{grid-template-columns:1fr!important;}
  .page-head{gap:12px;}
  .page-head h1{font-size:24px!important;}
  .admin-topbar{padding:12px 14px;}
  .topbar-title-group h2{font-size:18px!important;}
  .table thead th,.table td{font-size:13px!important;padding:10px 8px!important;}
  .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;}
  .calendar-day{min-height:42px!important;}
  .calendar-day strong{font-size:16px!important;}
  .calendar-day span{display:none!important;}
}


/* V37 mobil düzen düzeltmesi */
.mobile-sidebar-btn,
.sidebar-toggle,
.sidebar-close-btn{
  font-size:20px !important;
  font-weight:800 !important;
  color:#1f2937 !important;
  line-height:1 !important;
}

.sidebar-section__title{
  display:block;
  font-size:12px !important;
  font-weight:800 !important;
  color:#667085 !important;
  padding:8px 10px 6px !important;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.topbar-title-group{
  flex:1 1 auto;
  min-width:0;
}
.topbar-title-group h2,
.topbar-title-group p{
  word-break:break-word;
}
.theme-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:6px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e5e7eb;
  color:#1f2937;
  font-size:12px;
  font-weight:700;
}

@media (max-width: 991px){
  .container,
  .container-fluid{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .admin-topbar{
    padding:10px 12px !important;
    align-items:flex-start !important;
  }
  .mobile-sidebar-btn{
    flex:0 0 42px;
    width:42px;
    height:42px;
  }
  .topbar-title-group h2{
    font-size:16px !important;
    line-height:1.25 !important;
    margin:0 !important;
  }
  .topbar-title-group p{
    font-size:12px !important;
    line-height:1.45 !important;
    margin-top:4px !important;
  }
  .theme-badge{
    min-height:32px;
    padding:5px 10px;
    font-size:11px;
  }
  .admin-sidebar{
    padding:14px 12px !important;
    overflow-y:auto !important;
  }
  .sidebar-head{
    position:sticky;
    top:0;
    background:#fff;
    z-index:2;
  }
  .sidebar-nav{
    padding-bottom:16px;
  }
  .sidebar-link{
    min-height:44px !important;
    padding:10px 12px !important;
    font-size:14px !important;
  }
  .user-chip{
    justify-content:flex-start !important;
    padding:10px 12px !important;
  }
  .user-chip__name{
    display:block;
    font-size:14px;
    font-weight:700;
    color:#1f2937;
  }
  .user-chip small{
    display:block;
    color:#667085;
    font-size:12px;
  }
  .sidebar-foot-note{
    display:none !important;
  }
  .page-head{
    margin-bottom:14px !important;
  }
  .page-head h1{
    font-size:22px !important;
    line-height:1.2 !important;
  }
  .page-head p{
    font-size:13px !important;
    line-height:1.5 !important;
  }
  .btn,
  .btn-premium,
  .btn-primary,
  .btn-outline-light{
    min-height:42px !important;
    padding:9px 12px !important;
    font-size:13px !important;
  }
  .premium-card,
  .card,
  .table-wrap,
  .calendar-card,
  .calendar-detail-card,
  .settings-block,
  .stats-card,
  .summary-card,
  .metric-card{
    border-radius:14px !important;
  }
  .table-responsive{
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
  }
}

@media (max-width: 640px){
  .admin-topbar{
    gap:8px !important;
  }
  .topbar-title-group p{
    display:none !important;
  }
  .topbar-tools{
    display:flex !important;
    align-items:center;
    margin-left:auto;
  }
  .theme-badge{
    max-width:90px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .sidebar-brand{
    gap:10px;
  }
  .logo-area,.logo-icon{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
  }
  .sidebar-close-btn,
  .mobile-sidebar-btn{
    width:40px !important;
    height:40px !important;
  }
  .sidebar-link{
    font-size:13px !important;
  }
  .page-head__actions{
    width:100%;
  }
  .page-head__actions .btn{
    flex:1 1 100%;
  }
}


/* V38 mobil menü ve SEO sayfası */
.sidebar-backdrop{
  display:none;
}
@media (max-width: 991px){
  body.menu-open{
    overflow:hidden !important;
  }
  .mobile-sidebar-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-width:42px;
    min-height:42px;
    border-radius:12px;
    border:1px solid var(--line,#e5e7eb);
    background:#fff;
    color:#111827;
    font-size:18px;
    font-weight:800;
  }
  .mobile-sidebar-btn::before{
    content:'☰';
    line-height:1;
  }
  .sidebar-close-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-width:42px;
    min-height:42px;
    border-radius:12px;
    border:1px solid var(--line,#e5e7eb);
    background:#fff;
    color:#111827;
    font-size:18px;
    font-weight:800;
  }
  .sidebar-close-btn::before{
    content:'✕';
    line-height:1;
  }
  .admin-topbar{
    padding:12px 14px !important;
  }
  .topbar-title-group h2,
  .topbar-title-group h1{
    font-size:18px !important;
    line-height:1.25 !important;
    margin:0 !important;
  }
  .topbar-title-group p{
    font-size:12px !important;
    line-height:1.45 !important;
    margin-top:4px !important;
  }
  .admin-sidebar{
    transform:translateX(-110%);
    transition:transform .24s ease;
    z-index:1045;
  }
  .admin-sidebar.mobile-open{
    transform:translateX(0) !important;
    box-shadow:0 20px 50px rgba(15,23,42,.18);
  }
  .sidebar-backdrop{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.35);
    z-index:1040;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
    display:block;
  }
  .sidebar-backdrop.show{
    opacity:1;
    pointer-events:auto;
  }
  .page-head{
    gap:10px !important;
  }
  .page-head h1{
    font-size:24px !important;
    line-height:1.2 !important;
  }
  .page-head p{
    font-size:13px !important;
    line-height:1.5 !important;
  }
}


/* V39 açık/koyu mod + logo boyutlandırma */
:root{
  --logo-sidebar-w:56px;
  --logo-sidebar-h:56px;
  --logo-sidebar-inner:42px;
}
.logo-area,.logo-icon{
  width:var(--logo-sidebar-w)!important;
  height:var(--logo-sidebar-h)!important;
  min-width:var(--logo-sidebar-w)!important;
  min-height:var(--logo-sidebar-h)!important;
}
.logo-area img,.logo-icon img,.sidebar-brand img{
  max-width:var(--logo-sidebar-inner)!important;
  max-height:var(--logo-sidebar-inner)!important;
}
body.theme-light, body.theme-simple{
  --bg:#f4f6f8;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#667085;
  --line:#e5e7eb;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
}
body.theme-dark{
  --bg:#0f172a;
  --card:#111827;
  --text:#f8fafc;
  --muted:#cbd5e1;
  --line:#334155;
  --primary:#60a5fa;
  --primary-dark:#3b82f6;
}
body.theme-dark html, body.theme-dark, body.theme-dark .premium-body{background:var(--bg)!important;color:var(--text)!important;}
body.theme-dark .admin-sidebar,
body.theme-dark .admin-topbar,
body.theme-dark .premium-card,
body.theme-dark .card,
body.theme-dark .table-wrap,
body.theme-dark .chart-card,
body.theme-dark .list-card,
body.theme-dark .calendar-card,
body.theme-dark .calendar-detail-card,
body.theme-dark .settings-block,
body.theme-dark .stats-card,
body.theme-dark .summary-card,
body.theme-dark .metric-card,
body.theme-dark .sidebar-link,
body.theme-dark .user-chip,
body.theme-dark .sidebar-foot .btn,
body.theme-dark .sidebar-foot a,
body.theme-dark .sidebar-foot button,
body.theme-dark .btn-outline-light,
body.theme-dark .form-control,
body.theme-dark .form-select,
body.theme-dark .calendar-day,
body.theme-dark .message-item,
body.theme-dark .calendar-offer-item,
body.theme-dark .mobile-sidebar-btn,
body.theme-dark .sidebar-toggle,
body.theme-dark .sidebar-close-btn{
  background:var(--card)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
body.theme-dark .page-head h1,
body.theme-dark .topbar-title-group h2,
body.theme-dark .form-label,
body.theme-dark .table td,
body.theme-dark .table th,
body.theme-dark .stats-card__value,
body.theme-dark .summary-card__value,
body.theme-dark .metric-card__value,
body.theme-dark .calendar-day strong{color:var(--text)!important;}
body.theme-dark .page-head p,
body.theme-dark .topbar-title-group p,
body.theme-dark .stats-card__label,
body.theme-dark .summary-card__label,
body.theme-dark .metric-card__label,
body.theme-dark .text-muted,
body.theme-dark .text-secondary,
body.theme-dark .small.text-secondary,
body.theme-dark small.text-secondary,
body.theme-dark .calendar-day span,
body.theme-dark .settings-block__head p,
body.theme-dark .site-footer{color:var(--muted)!important;}
body.theme-dark .table thead th,
body.theme-dark .table tbody tr:hover{background:#0b1220!important;}
body.theme-dark .form-control::placeholder{color:#94a3b8!important;}
body.theme-dark .sidebar-link:hover{background:#1f2937!important;}
body.theme-dark .sidebar-link.active,
body.theme-dark .btn-premium,
body.theme-dark .btn-primary{background:var(--primary)!important;color:#0f172a!important;border-color:var(--primary)!important;}
body.theme-dark .alert-info{background:#172554!important;color:#dbeafe!important;border:none!important;}
body.theme-dark .alert-success{background:#052e16!important;color:#dcfce7!important;border:none!important;}
body.theme-dark .alert-danger{background:#450a0a!important;color:#fee2e2!important;border:none!important;}
.theme-option-card{display:flex!important;flex-direction:column;gap:10px;padding:16px!important;border-radius:18px!important;cursor:pointer!important;border:1px solid var(--line)!important;background:var(--card)!important;transition:all .2s ease!important;}
.theme-option-card input{display:none!important;}
.theme-option-card strong{font-size:16px!important;color:var(--text)!important;}
.theme-option-card small{font-size:13px!important;color:var(--muted)!important;}
.theme-option-card.is-active{border-color:var(--primary)!important;box-shadow:0 12px 28px rgba(37,99,235,.14)!important;}
.theme-grid-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
.theme-preview{display:grid!important;grid-template-columns:56px 1fr 1fr!important;gap:8px!important;height:84px!important;padding:10px!important;border-radius:16px!important;overflow:hidden!important;}
.theme-preview span{display:block!important;border-radius:12px!important;}
.theme-preview--light{background:linear-gradient(135deg,#eff6ff,#ffffff)!important;}
.theme-preview--light span:nth-child(1){background:#dbeafe!important;}.theme-preview--light span:nth-child(2){background:#bfdbfe!important;}.theme-preview--light span:nth-child(3){background:#2563eb!important;}
.theme-preview--dark{background:linear-gradient(135deg,#0f172a,#111827)!important;}.theme-preview--dark span:nth-child(1){background:#1e293b!important;}.theme-preview--dark span:nth-child(2){background:#334155!important;}.theme-preview--dark span:nth-child(3){background:#60a5fa!important;}
.theme-save-wrap{grid-column:1 / -1!important;display:flex!important;justify-content:flex-end!important;}
@media (max-width:767px){.theme-grid-form{grid-template-columns:1fr!important}.theme-save-wrap .btn{width:100%!important}}


/* V40 kurumsal takvim görünümü */
.calendar-summary-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.calendar-summary-item{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:18px 20px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.calendar-summary-label{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#64748b;
  margin-bottom:8px;
}
.calendar-summary-item strong{
  display:block;
  font-size:24px;
  line-height:1.15;
  color:#0f172a;
}

.calendar-card,
.calendar-detail-card{
  border-radius:24px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 20px 50px rgba(15,23,42,.06) !important;
  overflow:hidden;
}
.calendar-card__head,
.calendar-detail-card__head{
  position:relative;
  padding-bottom:18px;
  margin-bottom:18px !important;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.calendar-card__head-line{
  width:56px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(135deg,#1d4ed8,#60a5fa);
  margin-bottom:14px;
}
.calendar-card__head h3,
.calendar-detail-card__head h3{
  font-size:26px !important;
  font-weight:800 !important;
  color:#0f172a !important;
  margin:0 0 6px !important;
}
.calendar-card__head p,
.calendar-detail-card__head p{
  font-size:14px !important;
  line-height:1.6 !important;
  color:#64748b !important;
  max-width:720px;
}

.calendar-grid{
  gap:12px !important;
}
.calendar-weekday{
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.06);
  border-radius:12px;
  padding:10px 0 !important;
  font-size:12px !important;
  font-weight:800 !important;
  color:#334155 !important;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.calendar-day-link{
  text-decoration:none !important;
}
.calendar-day{
  min-height:110px !important;
  padding:14px 12px !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,#ffffff,#fbfdff) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
  transition:all .18s ease;
}
.calendar-day:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
  border-color:rgba(37,99,235,.18) !important;
}
.calendar-day strong{
  font-size:20px !important;
  font-weight:800 !important;
  color:#0f172a !important;
}
.calendar-day span{
  font-size:12px !important;
  line-height:1.4 !important;
  color:#64748b !important;
}
.calendar-day--has-event{
  background:linear-gradient(180deg,#eff6ff,#ffffff) !important;
  border-color:rgba(37,99,235,.18) !important;
}
.calendar-day--has-event strong{
  color:#1d4ed8 !important;
}
.calendar-day--selected{
  background:linear-gradient(135deg,#1d4ed8,#2563eb) !important;
  border-color:#1d4ed8 !important;
  box-shadow:0 16px 36px rgba(37,99,235,.28) !important;
}
.calendar-day--selected strong,
.calendar-day--selected span{
  color:#fff !important;
}
.calendar-day--empty{
  background:repeating-linear-gradient(
    135deg,
    #f8fafc,
    #f8fafc 8px,
    #f1f5f9 8px,
    #f1f5f9 16px
  ) !important;
  border-style:dashed !important;
}

.calendar-offer-list{
  display:grid;
  gap:14px;
}
.calendar-offer-item{
  padding:18px !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,#ffffff,#fbfdff) !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.calendar-offer-item strong{
  font-size:16px;
  color:#0f172a;
}
.calendar-offer-meta{
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(15,23,42,.10);
  color:#64748b !important;
}
.empty-state{
  padding:20px;
  border:1px dashed rgba(15,23,42,.12);
  border-radius:18px;
  background:#f8fafc;
}

@media (max-width: 991px){
  .calendar-summary-strip{
    grid-template-columns:1fr;
  }
  .calendar-grid{
    gap:8px !important;
  }
  .calendar-day{
    min-height:88px !important;
    padding:10px !important;
  }
  .calendar-card__head h3,
  .calendar-detail-card__head h3{
    font-size:22px !important;
  }
}

@media (max-width: 640px){
  .calendar-weekday{
    font-size:11px !important;
    padding:8px 0 !important;
  }
  .calendar-day{
    min-height:68px !important;
    border-radius:14px !important;
  }
  .calendar-day strong{
    font-size:16px !important;
  }
  .calendar-day span{
    font-size:11px !important;
  }
  .calendar-summary-item strong{
    font-size:20px;
  }
}


/* V41 takvim müşteri etiketi + randevu + bildirim */
.calendar-day--has-appointment{
  border-color:rgba(14,116,144,.18) !important;
  background:linear-gradient(180deg,#ecfeff,#ffffff) !important;
}
.calendar-day--has-appointment strong{
  color:#0f766e !important;
}
.calendar-appointment-block{
  margin-top:22px;
}
.calendar-appointment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.calendar-appointment-head h4{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#0f172a;
}
.calendar-randevu-item{
  border-left:4px solid #2563eb !important;
}
.randevu-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  width:min(360px, calc(100% - 24px));
  background:#0f172a;
  color:#fff;
  padding:16px 18px;
  border-radius:18px;
  box-shadow:0 18px 40px rgba(15,23,42,.28);
  z-index:2000;
  opacity:0;
  transform:translateY(16px);
  transition:all .25s ease;
}
.randevu-toast.show{
  opacity:1;
  transform:translateY(0);
}
.randevu-toast strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}
@media (max-width: 640px){
  .calendar-appointment-head{
    flex-direction:column;
    align-items:stretch;
  }
}
