@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Nunito', sans-serif;
  background-color: #f4f7f9;
  color: #334155;
  -webkit-font-smoothing: antialiased;
}

:root {
  --login-bg-1: #0f172a;
  --login-bg-2: #1e1b4b;
  --login-accent: #3b82f6;
  --login-accent-glow: rgba(59, 130, 246, 0.5);
  --login-text: #f8fafc;
  --login-text-muted: #94a3b8;
}

/* ================= CODEHAL ANIMATED LOGIN FORM CSS ================= */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f8f6f0;
  background-image: 
    /* Sıcak Şampanya & Bal Rengi Aurora Işıltıları */
    radial-gradient(ellipse 65% 55% at 20% 25%, rgba(217, 140, 30, 0.12), transparent 60%),
    /* Sıcak Adaçayı & Doğal Zümrüt */
    radial-gradient(ellipse 60% 60% at 85% 75%, rgba(95, 150, 35, 0.12), transparent 60%),
    /* Üst Merkez Sıcak Güneş Işıltısı */
    radial-gradient(circle at 50% 10%, rgba(245, 195, 80, 0.14), transparent 50%),
    linear-gradient(135deg, #fcfbf7 0%, #f7f6ed 45%, #eff2e8 100%);
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}

/* Lüks Geometrik Kristal / Yıldız Deseni Overlay */
.auth-geometric-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at center, rgba(120, 160, 60, 0.16) 1.5px, transparent 1.5px),
    radial-gradient(circle at center, rgba(217, 140, 30, 0.14) 1px, transparent 1px);
  background-size: 48px 48px, 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.65;
  z-index: 1;
}

/* Sayfa Sol & Sağ Aurora Işık Halkaları (Sıcak Şampanya & Zümrüt) */
.auth-aurora-glow-1 {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(160, 215, 110, 0.22) 0%, rgba(217, 140, 30, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulseAurora 9s ease-in-out infinite alternate;
  z-index: 1;
}

.auth-aurora-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 180, 50, 0.18) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(65px);
  pointer-events: none;
  animation: pulseAurora 9s ease-in-out infinite alternate 4.5s;
  z-index: 1;
}

@keyframes pulseAurora {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.9; }
  100% { transform: scale(1) translate(-10px, 15px); opacity: 0.6; }
}

/* Yüzen Şampanya & Zümrüt Işık Küreleri */
.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: floatBokeh 10s ease-in-out infinite alternate;
}
.bokeh-orb-1 { width: 14px; height: 14px; background: rgba(120, 175, 45, 0.65); top: 20%; left: 22%; box-shadow: 0 0 20px rgba(120, 175, 45, 0.8); animation-duration: 8s; }
.bokeh-orb-2 { width: 8px; height: 8px; background: rgba(245, 180, 50, 0.85); top: 70%; left: 18%; box-shadow: 0 0 14px rgba(245, 180, 50, 0.9); animation-duration: 12s; }
.bokeh-orb-3 { width: 16px; height: 16px; background: rgba(16, 185, 129, 0.5); top: 25%; right: 24%; box-shadow: 0 0 24px rgba(16, 185, 129, 0.8); animation-duration: 10s; }
.bokeh-orb-4 { width: 10px; height: 10px; background: rgba(245, 158, 11, 0.6); top: 78%; right: 18%; box-shadow: 0 0 16px rgba(245, 158, 11, 0.8); animation-duration: 13s; }

@keyframes floatBokeh {
  0% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-25px) scale(1.25); opacity: 0.9; }
  100% { transform: translateY(12px) scale(0.95); opacity: 0.5; }
}

/* Sayfanın Sağ Üst Köşesinden Sarkan Doğal Botanik Yapraklar */
.auth-bg-leaf-top-right {
  position: absolute;
  top: -60px;
  right: -50px;
  width: 380px;
  max-width: 45vw;
  height: auto;
  opacity: 0.35;
  filter: blur(0.5px) drop-shadow(0 15px 30px rgba(40, 80, 20, 0.15));
  pointer-events: none;
  transform: rotate(180deg) scaleX(-1);
  z-index: 1;
}

/* Sayfanın Sol Alt Köşesindeki Hafif Botanik Gölge */
.auth-bg-leaf-bottom-left {
  position: absolute;
  bottom: -70px;
  left: -60px;
  width: 320px;
  max-width: 40vw;
  height: auto;
  opacity: 0.22;
  filter: blur(1.5px);
  pointer-events: none;
  transform: rotate(30deg);
  z-index: 1;
}

.wrapper {
  position: relative;
  width: 820px;
  height: 510px;
  max-width: 100%;
  background: linear-gradient(110deg, #387016 0%, #4c8a20 28%, #669e32 50%, #a4cd7f 72%, #ecf4e6 90%, #fbfdf9 100%);
  border-radius: 46px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 30px 80px rgba(40, 75, 18, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.05),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9);
  padding: 50px 55px;
  display: flex;
  align-items: center;
  overflow: hidden;
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wrapper .welcome-heading {
  position: absolute;
  top: 52px;
  right: 65px;
  color: #265415;
  text-shadow: 0 2px 10px rgba(38, 84, 21, 0.25);
  font-size: 58px;
  user-select: none;
  font-family: 'Parisienne', cursive;
  white-space: nowrap;
  pointer-events: none;
}

.wrapper img.leaf-img {
  position: absolute;
  right: -25px;
  bottom: -30px;
  width: 62%;
  transform: rotate(0deg);
  pointer-events: none;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.16));
  transition: transform 0.6s ease;
}

.wrapper:hover img.leaf-img {
  transform: scale(1.03);
}

.form-wrapper {
  z-index: 2;
  font-family: 'Poppins', sans-serif;
}

.login-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px auto;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  transition: transform 0.3s ease;
}

.login-logo-wrap:hover {
  transform: scale(1.05);
}

.login-brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.auth-bg-typography {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-wrapper h2 {
  font-size: 1.75em;
  text-align: center;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(30, 60, 15, 0.25);
}

.input-box {
  position: relative;
  width: 320px;
  margin: 20px 0 16px 0;
}

.input-box input {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  outline: none;
  border-radius: 40px;
  font-size: 0.95em;
  color: #ffffff;
  padding: 0 20px 0 45px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: all 0.25s ease;
}

.input-box input::placeholder {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.input-box input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
}

.input-box .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
}

.codehal-btn {
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: none;
  outline: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1em;
  color: #387016;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.codehal-btn:hover {
  background: #fbfdf9;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
}

.codehal-btn:active {
  transform: translateY(0) scale(0.98);
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(35px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================= MOBİL UYUMLULUK (FULL SCREEN MOBILE LOGIN) ================= */
@media (max-width: 768px) {
  .auth-container {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    min-height: 100vh !important;
    width: 100% !important;
  }

  .wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    height: 100% !important;
    padding: 32px 20px 24px 20px !important;
    border-radius: 0 !important;
    border: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(160deg, #326414 0%, #447c1e 35%, #5d972c 70%, #7eb848 100%) !important;
    box-shadow: none !important;
  }

  .wrapper .welcome-heading {
    position: static !important;
    font-size: 38px !important;
    text-align: center !important;
    margin-bottom: 6px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
  }

  .wrapper img.leaf-img {
    position: absolute !important;
    right: -25px !important;
    bottom: -25px !important;
    width: 170px !important;
    opacity: 0.22 !important;
    pointer-events: none !important;
  }

  .form-wrapper {
    width: 100% !important;
    max-width: 320px !important;
  }

  .login-logo-wrap {
    width: auto !important;
    height: auto !important;
    margin: 0 auto 8px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .login-brand-logo {
    width: 72px !important;
    height: 72px !important;
  }

  .form-wrapper h2 {
    font-size: 1.4em !important;
    margin-bottom: 6px !important;
    color: #ffffff !important;
  }

  .keypad-btn {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.3rem !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 50% !important;
  }

  .keypad-btn:active {
    background: rgba(255, 255, 255, 0.45) !important;
    transform: scale(0.92) !important;
  }
}

.login-logo img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.login-logo:hover {
  transform: scale(1.06);
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 45px rgba(251, 191, 36, 0.5);
}

/* Texts */
.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--login-text);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.login-subtitle {
  font-family: 'Baloo 2', sans-serif;
  font-size: 14px;
  color: var(--login-text-muted);
  font-weight: 500;
}

/* Input Area */
.input-wrapper {
  position: relative;
  margin-bottom: 32px;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--login-text-muted);
  transition: color 0.3s ease;
  width: 22px;
  height: 22px;
  z-index: 2;
}

.login-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px 12px 48px;
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 4px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Baloo 2', sans-serif;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 15px;
  letter-spacing: normal;
  font-weight: 500;
}

.login-input:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--login-accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.login-input:focus + .input-icon {
  color: var(--login-accent);
}

/* Button */
.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
}

.login-btn:active {
  transform: translateY(1px);
}

/* Mobile Numeric Keypad Buttons */
.keypad-btn {
  width: 62px;
  height: 62px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  margin: 0 auto;
}
.keypad-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Nunito', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Containers */
.glass-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

.app-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  padding: 20px;
}

/* Calendar Cells */
.cal-day-cell {
  background-color: #ffffff;
  padding: 8px 9px 9px 9px;
  transition: all 0.2s ease;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.cal-day-cell:hover {
  background-color: #fbfdff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.cal-day-weekend {
  background-color: #ffffff;
}
.cal-day-today {
  background-color: #ffffff !important;
  position: relative;
}
.cal-day-past {
  background-color: #fff9f9 !important;
  border: 1px solid rgba(254, 226, 226, 0.5);
  position: relative;
}
.cal-day-past:hover {
  background-color: #fff1f2 !important;
}
.slot-badge-past-booked {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.slot-badge-past-free {
  background-color: rgba(255, 255, 255, 0.8);
  color: #f87171;
  border: 1px dashed #fca5a5;
  font-size: 10px;
  opacity: 0.7;
}

/* Soft Beautiful Slots (Tam Yuvarlak Kapsül) */
.slot-badge {
  width: 100%;
  text-align: left;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin-bottom: 4px;
}
.slot-badge:hover {
  transform: translateY(-1.5px);
}

/* FREE (Müsait) - Beyaz Zemin, Canlı Kesik Çerçeve */
.slot-badge-free {
  background-color: #ffffff;
  border: 1.5px dashed #f87171;
  color: #e11d48;
  box-shadow: 0 1px 3px rgba(225, 29, 72, 0.05);
}
.slot-badge-free:hover {
  background-color: #fff1f2;
  border-color: #e11d48;
  border-style: solid;
  color: #be123c;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.15);
}

/* CONFIRMED (Dolu) - Canlı Zümrüt Yeşili & Belirgin Çerçeve */
.slot-badge-booked {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  color: #064e3b;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
}
.slot-badge-booked:hover {
  background: #d1fae5;
  border-color: #059669;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.22);
}

/* OPTION (Opsiyon) - Canlı Amber / Altın Kesik Çerçeve */
.slot-badge-option {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  color: #78350f;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.12);
}
.slot-badge-option:hover {
  background: #fef3c7;
  border-color: #d97706;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.22);
}

/* Soft Primary Buttons */
.btn-soft-primary {
  background-color: #6366f1;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px -2px rgba(99, 102, 241, 0.3);
}
.btn-soft-primary:hover {
  background-color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -2px rgba(99, 102, 241, 0.4);
}

/* Print Rules */
@media print {
  .no-print, header, nav, .app-card:not(#printable-contract) {
    display: none !important;
  }
  body, main {
    background: white !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #printable-contract {
    display: block !important;
  }
}
/* Custom Select Styles */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}
.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
}
.custom-select-trigger:hover, .custom-select-wrapper.open .custom-select-trigger {
  background-color: #fff;
  border-color: #6366f1;
}
.custom-select-trigger:after {
  content: '\f078';
  font-family: 'FontAwesome', 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.custom-select-wrapper.open .custom-select-trigger:after {
  transform: rotate(-180deg);
}
.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 50;
  max-height: 200px;
  overflow-y: auto;
}
.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-select-option {
  padding: 10px 15px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  transition: background 0.1s ease;
}
.custom-select-option:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
.custom-select-option.selected {
  background-color: #eff6ff;
  color: #2563eb;
  font-weight: 700;
}

/* ================= PRINT CONTRACT STRICT 1-PAGE STYLES ================= */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }
  html, body {
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }
  body > *:not(#contract-preview-modal) {
    display: none !important;
  }
  #contract-preview-modal {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
    z-index: 99999 !important;
  }
  #contract-preview-modal > div {
    display: block !important;
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  #contract-preview-modal .border-b {
    display: none !important; /* Modal üst çubuğunu gizle */
  }
  #contract-preview-body {
    display: block !important;
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .contract-a4-sheet {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    padding: 10mm 14mm 10mm 14mm !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    page-break-inside: avoid !important;
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    overflow: hidden !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .page-border {
    top: 5mm !important;
    left: 5mm !important;
    right: 5mm !important;
    bottom: 5mm !important;
    border: 1.5px solid #0f172a !important;
  }
}

.styled-scrollbar::-webkit-scrollbar { width: 6px; }
.styled-scrollbar::-webkit-scrollbar-track { background: transparent; }
.styled-scrollbar::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }
.styled-scrollbar::-webkit-scrollbar-thumb:hover { background-color: #94a3b8; }

/* ================= GEÇMİŞ AY VE GÜN ÇAPRAZ ÇİZGİLİ DESENLERİ ================= */
.month-btn-past {
  background-color: #f8fafc !important;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(203, 213, 225, 0.55),
    rgba(203, 213, 225, 0.55) 3px,
    transparent 3px,
    transparent 8px
  ) !important;
  border: 1px dashed #cbd5e1 !important;
  color: #64748b !important;
  position: relative;
}

.month-btn-past:hover {
  background-color: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #1e293b !important;
}

.cal-day-past {
  background-color: #f8fafc !important;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(226, 232, 240, 0.7),
    rgba(226, 232, 240, 0.7) 4px,
    transparent 4px,
    transparent 10px
  ) !important;
  border-color: #e2e8f0 !important;
}

.cal-day-past .cal-slot-empty {
  opacity: 0.6;
}

