/*
 * EduDoc Office - Modern Design System
 * School Document & e-Service Management System
 */

:root {
  --font-main: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Primary & Accent Palette */
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  --accent: #06b6d4;
  --accent-light: #ecfeff;
  
  /* Secondary & Neutral Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --border-subtle: #e2e8f0;
  --border-focus: #3b82f6;
  
  /* Typography */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  
  /* Status Colors */
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --info: #0284c7;
  --info-light: #f0f9ff;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero & Header Section */
.hero-header {
  background: var(--primary-gradient);
  color: var(--text-white);
  padding: 48px 0 64px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(30, 58, 138, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-white);
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #38bdf8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 13px;
  opacity: 0.85;
  font-weight: 300;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-body {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 18px;
  color: #bae6fd;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Floating Search Bar */
.search-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(32px);
  z-index: 10;
}

.search-box-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 10px 16px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-normal);
}

.search-box-card:focus-within {
  box-shadow: var(--shadow-xl), var(--shadow-glow), 0 0 0 2px var(--primary);
  transform: translateY(-2px);
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-icon {
  color: var(--text-muted);
  font-size: 20px;
  margin-left: 8px;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text-main);
  background: transparent;
  padding: 10px 0;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.search-filter-select {
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-filter-select:hover {
  background: #f1f5f9;
}

/* Main Content Area */
.main-wrapper {
  padding: 64px 0 80px 0;
}

/* Quick Filter Badges / Category Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 16px 4px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.category-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.category-pill .count {
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.06);
}

.category-pill.active .count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-meta {
  font-size: 14px;
  color: var(--text-muted);
}

/* Document Table Card */
.doc-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.doc-table th {
  background: #f8fafc;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13.5px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.doc-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  font-size: 14px;
  color: var(--text-main);
}

.doc-table tbody tr {
  transition: background var(--transition-fast);
}

.doc-table tbody tr:hover {
  background-color: #f8faff;
}

.doc-table tbody tr:last-child td {
  border-bottom: none;
}

/* Column Specifics */
.col-num {
  width: 160px;
  font-weight: 500;
  color: var(--primary);
  font-size: 13.5px;
}

.doc-num-tag {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid #bfdbfe;
}

.col-title {
  font-weight: 500;
}

.doc-link-title {
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.doc-link-title:hover {
  color: var(--primary);
}

.doc-meta-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.doc-meta-sub span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.col-cat {
  width: 180px;
  white-space: nowrap;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid transparent;
}

.col-date {
  width: 160px;
  color: var(--text-secondary);
  font-size: 13.5px;
  white-space: nowrap;
}

.col-actions {
  width: 180px;
  text-align: right;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 10px -1px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.btn-outline-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.btn-success {
  background: var(--success);
  color: var(--text-white);
}

.btn-success:hover {
  background: #059669;
}

.btn-light {
  background: #f1f5f9;
  color: var(--text-secondary);
}

.btn-light:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Action Group */
.action-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 56px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* PDF Modal Previewer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.modal-window {
  background: var(--bg-surface);
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.modal-title-wrap {
  flex: 1;
  margin-right: 20px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  flex: 1;
  background: #475569;
  position: relative;
}

.pdf-viewer-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0;
  border-top: 1px solid #1e293b;
  font-size: 13.5px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 20px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

/* Widget Embed Specific Styles */
body.widget-mode {
  background: transparent;
  padding: 0;
}

.widget-container {
  padding: 12px;
}

.widget-header-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-title {
    font-size: 28px;
  }
  .search-container {
    transform: none;
    margin: 20px auto 0 auto;
  }
  .main-wrapper {
    padding-top: 36px;
  }
  .search-box-card {
    flex-direction: column;
    padding: 12px;
  }
  .search-filter-select {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .doc-table th:nth-child(1),
  .doc-table td:nth-child(1),
  .doc-table th:nth-child(3),
  .doc-table td:nth-child(3) {
    display: none;
  }
  .hero-nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* =========================================
   Modern Form Design System
   ========================================= */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-label .req {
  color: #ef4444;
  font-weight: 700;
}

.form-label i {
  color: #3b82f6;
  font-size: 14px;
}

.form-control,
input[type="text"].form-control,
input[type="date"].form-control,
input[type="number"].form-control,
input[type="password"].form-control,
select.form-control,
textarea.form-control {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: var(--font-main);
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.form-control:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.form-control:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
  color: #94a3b8;
  font-weight: 300;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}

/* Input with Left Icon */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 15px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
  transition: color var(--transition-fast);
  z-index: 2;
}

.input-with-icon .form-control {
  padding-left: 44px !important;
}

.input-with-icon:focus-within .input-icon {
  color: #2563eb;
}

.form-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 6px;
}

.form-hint i {
  color: #94a3b8;
  font-size: 12px;
}

/* Modern Card Box for Toggle / Switch */
.toggle-card-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.toggle-card-box:hover {
  border-color: #6ee7b7;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.toggle-card-box.inactive {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* iOS Style Switch */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.switch-toggle input:checked + .switch-slider {
  background-color: #10b981;
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(22px);
}

/* =========================================
   Thai Buddhist Era (พ.ศ.) Datepicker
   ========================================= */
.thai-datepicker-container {
  position: relative;
  width: 100%;
}

.thai-datepicker-container .form-control {
  padding-right: 48px !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.calendar-btn-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 3;
}

.calendar-btn-icon:hover {
  background: #2563eb;
  color: #ffffff;
}

.thai-cal-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 18px;
  z-index: 1050;
  display: none;
  animation: calFadeIn 0.15s ease-out;
}

@keyframes calFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.thai-cal-dropdown.show {
  display: block;
}

.thai-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.thai-cal-nav {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thai-cal-nav:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.thai-cal-selectors {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.thai-cal-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 6px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

.thai-cal-select:focus {
  border-color: #2563eb;
}

.thai-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
}

.thai-cal-weekdays span:first-child {
  color: #ef4444; /* Sunday */
}

.thai-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.thai-cal-day {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.thai-cal-day:hover:not(.empty) {
  background: #eff6ff;
  color: #2563eb;
}

.thai-cal-day.empty {
  cursor: default;
}

.thai-cal-day.today {
  border: 1.5px solid #2563eb;
  color: #2563eb;
  font-weight: 600;
}

.thai-cal-day.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.thai-cal-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
