/* CSS para el Dashboard del Guía */

:root {
  --bg-main: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --secondary: #6366f1;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --font-family-title: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --on-primary: #0f172a;
  --on-secondary: #f1f5f9;
  --on-success: #0f172a;
  --on-error: #ffffff;
}

/* Tema Claro (Día) */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-border: rgba(15, 23, 42, 0.08);
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --secondary: #4f46e5;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --success: #059669;
  --error: #dc2626;
  --warning: #d97706;
  --on-primary: #ffffff;
  --on-secondary: #0f172a;
  --on-success: #ffffff;
  --on-error: #ffffff;
}

[data-theme="light"] .dash-header {
  background-color: rgba(248, 250, 252, 0.95);
}

[data-theme="light"] .dash-nav-bar {
  background-color: #f1f5f9;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background-color: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: var(--primary);
  background-color: #fff;
}

[data-theme="light"] .poi-input-form {
  background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .empty-list-item {
  background-color: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .route-card {
  background-color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .route-card-footer {
  background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .stripe-status-box.unlinked {
  background-color: rgba(217, 119, 6, 0.05);
}

[data-theme="light"] .stripe-status-box.linked {
  background-color: rgba(5, 150, 105, 0.05);
}

[data-theme="light"] .highlight-metric {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
  border-color: rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .metric-value {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .highlight-metric .metric-value {
  background: linear-gradient(135deg, #0f172a 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reset y Estilos Generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

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

.dash-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family-title);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 100px; /* MD3 pill shape */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--on-primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -3px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

[data-theme="light"] .btn-secondary {
  background-color: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text-main);
}

[data-theme="light"] .btn-secondary:hover {
  background-color: rgba(15, 23, 42, 0.1);
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-card-border);
  border-radius: 1.25rem; /* MD3 card shape */
  padding: 2rem;
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-family-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo .highlight {
  color: var(--primary);
}

.badge-role {
  background-color: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Header */
.dash-header {
  height: 80px;
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--bg-card-border);
  display: flex;
  align-items: center;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-meta-control {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#guide-welcome-name {
  font-family: var(--font-family-title);
  font-weight: 600;
  color: var(--primary);
}

/* Navigation Tabs Bar */
.dash-nav-bar {
  background-color: #0b0f19;
  border-bottom: 1px solid var(--bg-card-border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.tabs-wrapper {
  display: flex;
  gap: 1.5rem;
}

.tab-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family-title);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Tab Sections */
.dash-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.dash-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-content-dash {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Dashboard Grid Layouts */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Stripe Setup Box */
.stripe-card h3 {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stripe-brand-icon {
  font-size: 2.2rem;
  color: #635bff;
}

#stripe-status-loading {
  padding: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
}

.stripe-status-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.stripe-status-box.unlinked {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.stripe-status-box.linked {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-icon {
  font-size: 2rem;
}

.unlinked .status-icon { color: var(--warning); }
.linked .status-icon { color: var(--success); }

.status-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.status-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Metrics Financial Grid */
.metrics-financial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.metric-box {
  padding: 1.5rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-metric {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border-color: rgba(56, 189, 248, 0.2);
}

.metric-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-family: var(--font-family-title);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-metric .metric-value {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Table Card */
.table-card h3 {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.dash-table th, .dash-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--bg-card-border);
}

.dash-table th {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.dash-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Create Route Layout */
.create-route-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .create-route-layout {
    grid-template-columns: 1fr;
  }
}

.form-route-details h3, .poi-builder h3 {
  font-family: var(--font-family-title);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .col {
  flex: 1;
}

.form-row .col-2 {
  flex: 2;
}

/* POI Creator Map */
.route-builder-map {
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-card-border);
  margin-bottom: 1.5rem;
  z-index: 1;
}

.poi-input-form {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--bg-card-border);
  margin-bottom: 1.5rem;
}

.poi-input-form h4 {
  font-family: var(--font-family-title);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

/* POIs list */
.added-pois-container h4 {
  font-family: var(--font-family-title);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.pois-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.poi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.poi-item-info {
  display: flex;
  flex-direction: column;
}

.poi-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.poi-item-coord {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.poi-item-badge {
  background-color: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  font-weight: bold;
  align-self: flex-start;
  margin-top: 0.25rem;
}

.btn-remove-poi {
  background: transparent;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem;
  transition: transform 0.2s;
}

.btn-remove-poi:hover {
  transform: scale(1.2);
}

.empty-list-item {
  padding: 2rem;
  text-align: center;
  border: 2px dashed var(--bg-card-border);
  border-radius: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Routes List (Mis Rutas Tab) */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.route-card {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bg-card-border);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.route-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.route-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.route-card-title {
  font-family: var(--font-family-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.route-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.route-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--bg-card-border);
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.15);
}

.route-card-price {
  font-weight: bold;
  font-size: 1.1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.borrador {
  background-color: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.status-badge.pendiente_aprobacion {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fdba74;
}

.status-badge.publicada {
  background-color: rgba(16, 185, 129, 0.15);
  color: #86efac;
}

.alert-message {
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: none;
}

.alert-message.error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert-message.success {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

/* POI Control Buttons (Subir, Bajar, Editar, Eliminar) */
.btn-poi-control {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.4rem;
  transition: transform 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-poi-control:hover:not(:disabled) {
  transform: scale(1.15);
  color: var(--text-main);
}

/* ================= PROFILE EDITOR & MULTIMEDIA PREVIEW STYLES ================= */
.profile-editor-card {
  margin-top: 1.5rem;
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .profile-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.profile-avatar-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
  background-color: rgba(0, 0, 0, 0.3);
}

.avatar-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-help-text {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.profile-fields-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.route-media-preview-container img,
.route-media-preview-container video {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.media-upload-wrapper {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bg-card-border);
}

.media-upload-wrapper input[type="text"] {
  margin-top: 0.75rem;
}

.upload-status-text {
  font-style: italic;
}

/* ================= PRINT REPORT STYLES ================= */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }
  .dash-header, 
  .dash-nav-bar, 
  #btn-export-financials,
  .stripe-card,
  #btn-trigger-avatar-upload,
  #btn-save-profile,
  .dash-section:not(.active),
  #profile-tab,
  #create-tab,
  #my-routes-tab,
  #reviews-tab {
    display: none !important;
  }
  #finance-tab.active {
    display: block !important;
  }
  .glass-card {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .metrics-financial-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .metric-box {
    border: 1px solid #cccccc !important;
    padding: 1rem !important;
    flex: 1 !important;
    text-align: center !important;
    border-radius: 0.25rem !important;
  }
  .metric-value {
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    font-size: 1.8rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .metric-title {
    color: #555555 !important;
    font-weight: bold !important;
  }
  .metric-footnote {
    color: #777777 !important;
  }
  .table-responsive {
    overflow: visible !important;
  }
  .dash-table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }
  .dash-table th, .dash-table td {
    border: 1px solid #cccccc !important;
    color: #000000 !important;
    padding: 0.6rem !important;
    font-size: 0.95rem !important;
  }
  .dash-table th {
    background-color: #f3f4f6 !important;
    color: #000000 !important;
  }
}

/* ================= CALENDAR & GPS TAB STYLES ================= */
.custom-calendar-container {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--bg-card-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 1rem;
}

.calendar-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header-nav h4 {
  font-family: var(--font-family-title);
  font-size: 1.15rem;
  margin: 0;
  color: var(--primary);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.calendar-day:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary);
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
  pointer-events: none;
}

.calendar-day.today {
  border-color: var(--secondary);
  font-weight: bold;
}

.calendar-day.has-booking {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  font-weight: bold;
}

.calendar-day.has-booking::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background-color: var(--success);
  border-radius: 50%;
}

.calendar-day.selected {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
  color: #0f172a !important;
  font-weight: bold;
}

.calendar-day.selected::after {
  background-color: #0f172a;
}

.calendar-selected-details {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--bg-card-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.calendar-selected-details h4 {
  font-family: var(--font-family-title);
  margin-bottom: 0.75rem;
}

.calendar-bookings-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calendar-booking-item {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.calendar-booking-left {
  display: flex;
  flex-direction: column;
}

.calendar-booking-tour {
  font-weight: 600;
  color: var(--text-main);
}

.calendar-booking-tourist {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.calendar-booking-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.calendar-booking-time {
  font-weight: 600;
  color: var(--primary);
}

.calendar-booking-amount {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 0.15rem;
  font-weight: bold;
}

/* Light Theme overrides for Calendar */
[data-theme="light"] .custom-calendar-container {
  background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .calendar-day {
  background: rgba(0, 0, 0, 0.01);
}
[data-theme="light"] .calendar-day.has-booking {
  background: rgba(16, 185, 129, 0.1);
}
[data-theme="light"] .calendar-booking-item {
  background: rgba(0, 0, 0, 0.01);
}

