/**
 * SafePass Daycare Portal — Shared Styles
 * All page-specific inline CSS consolidated here.
 * SafePass colors: Navy #1A237E, Amber #FFB300, Teal #00897B
 */

/* ============================================
   Common Components
   ============================================ */

/* Filter bars */
.filter-bar { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.filter-bar input, .filter-bar select { font-size: 13px; height: 36px; }

/* Avatars */
.sp-avatar { width: 40px; height: 40px; border-radius: 50%; background: #E8EAF6; color: #1A237E; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; margin-right: 12px; flex-shrink: 0; }
.sp-avatar-sm { width: 32px; height: 32px; font-size: 12px; margin-right: 10px; }
.sp-avatar-xs { width: 28px; height: 28px; font-size: 11px; margin-right: 8px; }
.sp-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Status badges */
.sp-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.sp-badge-active, .sp-badge-success, .sp-badge-checked-in { background: #E8F5E9; color: #2E7D32; }
.sp-badge-warning, .sp-badge-checked-out { background: #FFF3E0; color: #E65100; }
.sp-badge-inactive, .sp-badge-secondary { background: #EFEBE9; color: #5D4037; }
.sp-badge-info { background: #E3F2FD; color: #1565C0; }
.sp-badge-danger, .sp-badge-overdue { background: #FFEBEE; color: #C62828; }
.sp-badge-draft { background: #F5F5F5; color: #757575; }
.sp-badge-pending { background: #FFF3E0; color: #E65100; }
.sp-badge-approved { background: #E8F5E9; color: #2E7D32; }
.sp-badge-denied { background: #FFEBEE; color: #C62828; }
.sp-badge-expired { background: #FFEBEE; color: #C62828; }
.sp-badge-completed { background: #E8F5E9; color: #2E7D32; }

/* Cards */
.sp-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.sp-card-header { padding: 16px 20px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.sp-card-header h6 { font-weight: 600; color: #212121; margin: 0; font-size: 15px; }
.sp-card-body { padding: 16px 20px; }

/* Stat cards */
.sp-stat { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); text-align: center; }
.sp-stat-number { font-size: 28px; font-weight: 700; }
.sp-stat-label { font-size: 12px; color: #757575; margin-top: 4px; }

/* Tables */
.sp-table th { font-size: 12px; font-weight: 600; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid #dee2e6; white-space: nowrap; }
.sp-table td { vertical-align: middle; font-size: 14px; }
.sp-table tbody tr:hover { background: #f8f9fa; }
.sp-table tfoot td { font-weight: 700; border-top: 2px solid #1A237E; }

/* Tab navigation */
.sp-tabs .nav-link { color: #757575; font-weight: 500; border: none; padding: 8px 20px; }
.sp-tabs .nav-link.active { color: #1A237E; border-bottom: 3px solid #1A237E; font-weight: 600; }

/* Action links */
.sp-action { font-size: 13px; color: #1A237E; cursor: pointer; margin-right: 12px; }
.sp-action:hover { text-decoration: underline; }

/* Allergy indicators */
.sp-allergy-dot { width: 8px; height: 8px; border-radius: 50%; background: #C62828; display: inline-block; margin-left: 6px; }
.sp-allergy-bg { background: #FFEBEE; color: #C62828; }

/* Empty state */
.sp-empty { text-align: center; padding: 40px 20px; }
.sp-empty i { font-size: 48px; color: #bdbdbd; margin-bottom: 12px; display: block; }
.sp-empty p { color: #9e9e9e; margin-bottom: 12px; }

/* Time label */
.sp-time-label { font-size: 11px; color: #9e9e9e; }

/* ============================================
   Student List
   ============================================ */
.student-name { font-weight: 600; color: #212121; font-size: 14px; }
.student-room { font-size: 12px; color: #757575; }
.btn-check-in { border: 2px solid #1A237E; color: #1A237E; background: transparent; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 6px; }
.btn-check-in:hover { background: #1A237E; color: #FFB300; }
.btn-mark-absent { border: 1px solid #bdbdbd; color: #757575; background: transparent; font-size: 12px; padding: 4px 14px; border-radius: 6px; }
.btn-mark-absent:hover { background: #f5f5f5; }
.add-dropdown .dropdown-menu { min-width: 220px; }
.add-dropdown .dropdown-item i { width: 20px; }

/* ============================================
   Parent List
   ============================================ */
.pin-reveal-btn { cursor: pointer; color: #1A237E; font-weight: 500; font-size: 13px; }
.pin-reveal-btn:hover { text-decoration: underline; }
.pin-code-hidden { font-family: monospace; letter-spacing: 2px; color: #9e9e9e; }
.pin-code-visible { font-family: monospace; letter-spacing: 2px; color: #1A237E; font-weight: 700; font-size: 16px; }

/* ============================================
   Staff List
   ============================================ */
.clock-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.clock-in { background: #E8F5E9; color: #2E7D32; }
.clock-out { background: #F5F5F5; color: #9e9e9e; }
.btn-clock-in { border: 2px solid #2E7D32; color: #2E7D32; background: transparent; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 6px; }
.btn-clock-in:hover { background: #2E7D32; color: #fff; }
.btn-clock-out { border: 2px solid #FF5722; color: #FF5722; background: transparent; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 6px; }
.btn-clock-out:hover { background: #FF5722; color: #fff; }

/* ============================================
   Dashboard
   ============================================ */
.dash-stat { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); text-align: center; }
.dash-stat-number { font-size: 32px; font-weight: 700; color: #1A237E; }
.dash-stat-label { font-size: 13px; color: #757575; margin-top: 4px; }
.dash-stat-icon { font-size: 20px; margin-bottom: 8px; }
.ratio-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.ratio-row:last-child { border-bottom: none; }
.ratio-room { font-weight: 500; color: #212121; font-size: 14px; }
.ratio-num { font-size: 13px; color: #757575; min-width: 80px; text-align: center; }
.ratio-staff { font-size: 13px; color: #757575; min-width: 60px; text-align: center; }
.birthday-row { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.birthday-row:last-child { border-bottom: none; }
.birthday-date { font-size: 12px; font-weight: 600; color: #1A237E; min-width: 70px; }
.birthday-name { font-size: 14px; color: #212121; flex: 1; }
.birthday-age { font-size: 12px; color: #9e9e9e; }
.activity-empty { color: #9e9e9e; font-size: 13px; font-style: italic; }
.quick-link { display: flex; align-items: center; padding: 12px 16px; border-radius: 10px; background: #f8f9fa; margin-bottom: 8px; text-decoration: none; color: #212121; transition: background 0.15s; }
.quick-link:hover { background: #E8EAF6; color: #1A237E; }
.quick-link i { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; margin-right: 12px; font-size: 14px; }
.quick-link-text { font-weight: 500; font-size: 14px; }
.quick-link-sub { font-size: 12px; color: #9e9e9e; }

/* ============================================
   Calendar
   ============================================ */
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-nav { display: flex; align-items: center; gap: 12px; }
.cal-nav-btn { background: #fff; border: 1px solid #dee2e6; border-radius: 8px; padding: 6px 14px; font-size: 13px; color: #424242; cursor: pointer; }
.cal-nav-btn:hover { background: #f5f5f5; }
.cal-month { font-size: 22px; font-weight: 700; color: #1A237E; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: #e0e0e0; border-radius: 12px; overflow: hidden; }
.cal-day-header { background: #1A237E; color: #FFB300; padding: 10px; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.cal-day { background: #fff; min-height: 120px; padding: 8px; position: relative; }
.cal-day.today { background: #FFFDE7; }
.cal-day-num { font-size: 14px; font-weight: 600; color: #424242; margin-bottom: 6px; }
.cal-day.today .cal-day-num { color: #1A237E; background: #FFB300; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cal-event { font-size: 11px; padding: 3px 6px; border-radius: 4px; margin-bottom: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event-event { background: #E8EAF6; color: #1A237E; }
.cal-event-holiday { background: #FFEBEE; color: #C62828; }
.cal-event-closure { background: #FFF3E0; color: #E65100; }
.cal-event-meeting { background: #E8F5E9; color: #2E7D32; }
.cal-event-field_trip { background: #E0F7FA; color: #00695C; }
.cal-add-btn { position: absolute; top: 6px; right: 6px; font-size: 16px; color: #bdbdbd; cursor: pointer; line-height: 1; }
.cal-add-btn:hover { color: #1A237E; }

/* ============================================
   Schedules
   ============================================ */
.sched-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.sched-tab { padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none; border: 2px solid #e0e0e0; color: #757575; }
.sched-tab.active { background: #1A237E; color: #FFB300; border-color: #1A237E; }
.sched-tab:hover { border-color: #1A237E; color: #1A237E; }
.sched-grid { width: 100%; border-collapse: collapse; }
.sched-grid th { background: #1A237E; color: #FFB300; padding: 10px 8px; font-size: 12px; font-weight: 600; text-align: center; text-transform: uppercase; }
.sched-grid th:first-child { text-align: left; min-width: 180px; }
.sched-grid td { padding: 6px 4px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; text-align: center; min-width: 110px; }
.sched-grid td:first-child { text-align: left; padding-left: 12px; }
.sched-grid tbody tr:hover { background: #f8f9fa; }
.sched-name { font-weight: 600; font-size: 14px; color: #212121; }
.sched-role { font-size: 11px; color: #9e9e9e; }
.sched-block { font-size: 11px; padding: 4px 8px; border-radius: 6px; display: inline-block; line-height: 1.3; }
.sched-block-room { background: #E8EAF6; color: #1A237E; }
.sched-empty { color: #e0e0e0; font-size: 18px; }

/* ============================================
   Billing
   ============================================ */
.bill-amount { font-weight: 700; color: #1A237E; }
.bill-overdue { color: #C62828; font-weight: 600; }
.bill-status { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; background: #E0E0E0; color: #424242; }
.bill-status-draft { background: #EEEEEE; color: #757575; }
.bill-status-sent { background: #E0E0E0; color: #424242; }
.bill-status-partial { background: #FFE0B2; color: #E65100; }
.bill-status-paid { background: #C8E6C9; color: #1B5E20; }
.bill-status-void { background: #EEEEEE; color: #9E9E9E; text-decoration: line-through; }
.bill-status-overdue { background: #C62828; color: #fff; }

/* ============================================
   Meals
   ============================================ */
.meal-icon { font-size: 18px; margin-right: 8px; }
.meal-badge-served { background: #E8F5E9; color: #2E7D32; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.meal-badge-absent { background: #FFEBEE; color: #C62828; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }

/* ============================================
   Learning / Lesson Plans
   ============================================ */
.lp-cat { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 10px; }
.lp-cat-literacy { background: #E3F2FD; color: #1565C0; }
.lp-cat-math { background: #FFF3E0; color: #E65100; }
.lp-cat-science { background: #E8F5E9; color: #2E7D32; }
.lp-cat-art { background: #FCE4EC; color: #AD1457; }
.lp-cat-music { background: #F3E5F5; color: #7B1FA2; }
.lp-cat-social_emotional { background: #E8EAF6; color: #1A237E; }
.lp-cat-physical { background: #EFEBE9; color: #5D4037; }
.lp-cat-general { background: #F5F5F5; color: #616161; }

/* ============================================
   Assessments
   ============================================ */
.as-status-not_started { background: #F5F5F5; color: #9e9e9e; }
.as-status-emerging { background: #FFF3E0; color: #E65100; }
.as-status-developing { background: #E3F2FD; color: #1565C0; }
.as-status-meeting { background: #E8F5E9; color: #2E7D32; }
.as-status-exceeding { background: #E8EAF6; color: #1A237E; }

/* ============================================
   Paperwork
   ============================================ */
.pw-type-icon { width: 28px; height: 28px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; margin-right: 10px; }
.pw-type-fillable { background: #E3F2FD; color: #1565C0; }
.pw-type-upload { background: #FFF3E0; color: #E65100; }
.pw-type-agreement { background: #E8EAF6; color: #1A237E; }
.pw-type-consent { background: #FCE4EC; color: #AD1457; }

/* ============================================
   Expenses
   ============================================ */
.exp-cat { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 10px; background: #F5F5F5; color: #616161; text-transform: capitalize; }

/* ============================================
   Time tracking
   ============================================ */
.tt-hours { font-weight: 600; color: #1A237E; }
.tt-clocked-in { color: #2E7D32; font-weight: 600; }
.manual-entry { background: #FFF3E0; border-left: 3px solid #FFB300; }

/* ============================================
   Payroll
   ============================================ */
.pr-ot { color: #E65100; font-weight: 600; }

/* ============================================
   Check-in Attendance
   ============================================ */
.attendance-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.attendance-stat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.stat-present { background: #E8F5E9; color: #2E7D32; }
.stat-out { background: #EFEBE9; color: #5D4037; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot-in { background: #2E7D32; }
.dot-out { background: #5D4037; }

/* ============================================
   Custom Reports
   ============================================ */
.cr-field { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; border: 1px solid #e0e0e0; margin: 3px; font-size: 13px; cursor: pointer; user-select: none; }
.cr-field.selected { background: #E8EAF6; border-color: #1A237E; color: #1A237E; font-weight: 600; }
.cr-field:hover { border-color: #1A237E; }
.cr-preset { padding: 12px 16px; border-radius: 10px; background: #f8f9fa; text-align: center; cursor: pointer; transition: all 0.15s; }
.cr-preset:hover { background: #E8EAF6; }
.cr-preset i { font-size: 24px; color: #1A237E; display: block; margin-bottom: 6px; }
.cr-preset span { font-size: 12px; font-weight: 600; color: #424242; }

/* From: attendance-history.html.twig */
.daycare-attendance-history h1 {
  color: #333;
  font-weight: bold;
}

.table-warning {
  background-color: #fff3cd !important;
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.badge {
  font-size: 0.8em;
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: none;
}

.autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f5f5f5;
}

/* From: checkin-qr-codes.html.twig */
/* Screen styles */
.qr-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.qr-code-card {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  background: white;
  text-align: center;
  page-break-inside: avoid;
}

.qr-card-header {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.qr-child-name {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin: 0 0 5px 0;
}

.qr-child-info {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.qr-card-body {
  padding: 15px 0;
}

.qr-code-image {
  max-width: 250px;
  width: 100%;
  height: auto;
  border: 1px solid #dee2e6;
  padding: 10px;
  background: white;
}

.qr-card-footer {
  border-top: 2px solid #dee2e6;
  padding-top: 10px;
  margin-top: 15px;
}

.qr-instructions {
  font-size: 14px;
  font-weight: bold;
  color: #2c3e50;
  margin: 5px 0;
}

.qr-code-text {
  font-size: 10px;
  font-family: monospace;
  color: #6c757d;
  margin: 5px 0;
  word-break: break-all;
}

.qr-expires {
  font-size: 12px;
  color: #6c757d;
  margin: 5px 0;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .qr-codes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .qr-code-card {
    border: 2px solid #000;
    padding: 10px;
    margin-bottom: 15px;
  }

  .page-break {
    page-break-after: always;
  }

  body {
    margin: 0;
    padding: 10mm;
  }

  .qr-child-name {
    font-size: 16px;
  }

  .qr-code-image {
    max-width: 200px;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .qr-codes-grid {
    grid-template-columns: 1fr;
  }
}

/* From: checkin-scanner.html.twig */
.scanner-container {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.scanner-video-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.scanner-video {
  width: 100%;
  height: auto;
  display: block;
}

.scanner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.scanner-frame {
  width: 250px;
  height: 250px;
  border: 3px solid #28a745;
  border-radius: 8px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.scanner-controls {
  text-align: center;
  margin-top: 20px;
}

.scan-result {
  animation: slideIn 0.3s ease-out;
}

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

.manual-entry {
  max-width: 400px;
  margin: 0 auto;
}

/* From: daycare-announcements.html.twig */
.daycare-stat-icon.announcements {
  background: var(--bs-primary);
}

.btn-check:checked + .btn-outline-daycare {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
}

.btn-check:checked + .btn-outline-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}

.btn-check:checked + .btn-outline-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  max-height: 250px;
  overflow-y: auto;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
  display: none;
}

.autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #f8f9fa;
}

.autocomplete-item .item-name {
  font-weight: 500;
}

.autocomplete-item .item-detail {
  font-size: 0.85rem;
  color: #6c757d;
}

.autocomplete-no-results {
  padding: 10px 15px;
  color: #6c757d;
  font-style: italic;
}

.parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--bs-primary);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
}

.parent-badge .remove-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  font-size: 0.75rem;
  opacity: 0.8;
}

.parent-badge .remove-btn:hover {
  opacity: 1;
}

/* From: daycare-facility-form.html.twig */

/* From: daycare-incident-form.html.twig */

/* From: daycare-incident-view.html.twig */

/* From: daycare-message-compose.html.twig */
.form-label i {
  color: var(--bs-primary);
}

.btn-check:checked + .btn-outline-danger {
  background-color: #dc3545;
  color: white;
}

.btn-check:checked + .btn-outline-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  max-height: 250px;
  overflow-y: auto;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
  display: none;
}

.autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #f8f9fa;
}

.autocomplete-item .item-name {
  font-weight: 500;
}

.autocomplete-item .item-detail {
  font-size: 0.85rem;
  color: #6c757d;
}

.autocomplete-no-results {
  padding: 10px 15px;
  color: #6c757d;
  font-style: italic;
}

/* From: daycare-message-view.html.twig */
.message-header {
  padding-bottom: 1rem;
}

.message-body {
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.thread-message:last-child {
  border-bottom: none !important;
}

@media print {
  .btn, .reply-section, .no-print {
    display: none !important;
  }
}

/* From: daycare-messages-inbox.html.twig */
.message-unread {
  background-color: #f8f9fa;
  border-left: 4px solid var(--bs-primary);
}

.message-preview {
  font-size: 0.9rem;
}

.list-group-item:hover {
  background-color: #f8f9fa;
}

.nav-tabs .nav-link {
  color: #6c757d;
}

.nav-tabs .nav-link.active {
  color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
}

.daycare-stat-icon.messages {
  background: var(--bs-primary);
}

/* From: daycare-photo-upload.html.twig */
#dropZone.dragover {
  border-color: #0d6efd !important;
  background-color: #f8f9ff;
}

.preview-item {
  position: relative;
  width: 100px;
  height: 100px;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.preview-item .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dc3545;
  color: white;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.child-tag {
  display: inline-flex;
  align-items: center;
  background: #e7f1ff;
  color: #0d6efd;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.875rem;
}

.child-tag .remove-child {
  margin-left: 6px;
  cursor: pointer;
  opacity: 0.7;
}

.child-tag .remove-child:hover {
  opacity: 1;
}

#childSuggestions .suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
}

#childSuggestions .suggestion-item:hover {
  background-color: #f0f0f0;
}

/* From: daycare-photos.html.twig */
.photo-card {
  cursor: pointer;
  transition: transform 0.2s;
}
.photo-card:hover {
  transform: translateY(-2px);
}
.photo-thumbnail {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f0f0f0;
}
.photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-overlay i {
  color: white;
  font-size: 1.5rem;
}
.photo-thumbnail:hover .photo-overlay {
  opacity: 1;
}
.photo-info {
  padding: 8px 4px;
  font-size: 0.75rem;
}
.badge-consent {
  font-size: 0.6rem;
  padding: 2px 4px;
  margin-left: 4px;
  vertical-align: middle;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.carousel-nav:hover {
  background: rgba(255,255,255,0.4);
}
.carousel-nav.prev { left: 15px; }
.carousel-nav.next { right: 15px; }
.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
#photoModal .modal-content {
  border: none;
}

/* From: daycare-staff-form.html.twig */
