.djangoAppt_main-container {
  margin: 20px auto;
  max-width: 1200px;
  padding: 20px;
  background-color: transparent;
  border-radius: 5px;
}

.djangoAppt_body-container {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 15px;
}

/* Page title styling */
.page-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.page-description {
  color: #6c757d;
  font-size: 0.95rem;
}

/* Large-screen container and title scaling */
@media (min-width: 1150px) {
  .djangoAppt_main-container {
    max-width: 1400px;
  }

  .djangoAppt_body-container {
    max-width: 1320px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-description {
    font-size: 1.05rem;
  }
}

.djangoAppt_page-body {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
}

.djangoAppt_appointment-calendar {
  flex: 3;
  padding: 20px;
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.djangoAppt_service-description {
  flex: 1;
  margin-left: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.djangoAppt_second-part {
  margin-top: 10px;
}

.djangoAppt_calendar-and-slot {
  margin-top: 20px;
  display: flex;
}

.djangoAppt_service-description-content {
  margin-top: 20px;
  color: #212529;
}

.djangoAppt_service-description-content p {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Service Details section header */
.djangoAppt_service-description > div:first-of-type {
  font-weight: 600;
  font-size: 1.1rem;
  color: #212529;
  margin-bottom: 10px;
}

.djangoAppt_item-name {
  color: #212529;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.djangoAppt_calendar {
  flex: 3;
}

.djangoAppt_slot {
  flex: 2;
}

.djangoAppt_appointment-calendar-title-timezone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.djangoAppt_title {
  flex: 1;
  font-weight: 600;
  font-size: 1.1rem;
  color: #212529;
}

.djangoAppt_timezone-details {
  flex: 1;
  text-align: right;
  font-size: 0.9rem;
  color: #6c757d;
}

.fc-day {
  font-size: 12px;
}

.fc-daygrid-day-frame {
  height: 20px;
}

a {
  color: #0c042c;
}

.djangoAppt_slot {
  margin-left: 20px;
}

.djangoAppt_slot-list {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  margin-top: 10px;
  padding-left: 10px !important;
}

#slot-list li {
  list-style-type: none;
  text-align: center;
}

.djangoAppt_appointment-slot {
  border: 2px solid #e9ecef;
  background-color: #f8f9fa;
  color: #212529;
  padding: 7px;
  margin-bottom: 5px;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-weight: 500;
}

.djangoAppt_appointment-slot:hover {
  background-color: #e9ecef;
  border-color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 175, 175, 0.2);
}

.selected {
  background-color: var(--bs-primary-bg);
  border-color: var(--bs-primary);
  color: #212529;
  font-weight: 600;
}

.djangoAppt_next-available-date {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
  margin-left: 10px;
  padding: 8px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  width: fit-content;
}

/* Change the color of the buttons for the calendar */
.fc-button {
  background-color: transparent !important;
  border: none !important;
  color: var(--bs-primary) !important;
  font-size: 1.5rem !important;
  padding: 0.25rem 0.5rem !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

/* Change the color of the buttons when hovered */
.fc-button:hover {
  background-color: transparent !important;
  color: var(--bs-darker) !important;
  transform: scale(1.2);
  box-shadow: none !important;
}

/* Change the color of the buttons when active or focused */
.fc-button:active,
.fc-button:focus {
  background-color: transparent !important;
  color: var(--bs-primary) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Calendar title (month/year) styling */
.fc-toolbar-title {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #212529 !important;
}

/* Center the toolbar content */
.fc-toolbar-chunk {
  display: flex !important;
  align-items: center !important;
}

.djangoAppt_date_chosen {
  margin-left: 5px;
  padding-left: 5px;
  font-size: 1rem;
  color: #212529;
  font-weight: 600;
}

.djangoAppt_btn-request-next-slot {
  margin-left: 10px;
  padding: 8px !important;
  margin-top: -30px;
}

.djangoAppt_no-availability-text {
  margin-left: 5px;
  padding-left: 5px;
  color: #f00;
  font-weight: bold;
}

.disabled-day {
  background-color: #ececec; /* light gray */
  opacity: 0.5;
  pointer-events: none; /* makes it unclickable */
}

/* responsive */

/* CSS for screens larger than 1200px */
@media (min-width: 1200px) {
  .djangoAppt_page-body {
    flex-direction: row;
  }

  .djangoAppt_appointment-calendar {
    flex: 3;
    padding: 20px;
  }

  .djangoAppt_service-description {
    flex: 1;
    margin-left: 20px;
  }

  .djangoAppt_calendar {
    flex: 3;
  }

  .djangoAppt_slot {
    flex: 2;
  }

  .djangoAppt_slot {
    margin-left: 20px;
  }
}

/* Select design */

#staff_id {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #212529;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: all 0.2s ease;
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
}

#staff_id:hover {
  border-color: var(--bs-primary);
  background-color: #f8f9fa;
}

#staff_id:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(67, 175, 175, 0.25);
  background-color: #fff;
}

/* Add a custom arrow icon using pseudo-elements */
#staff_id::-ms-expand {
  display: none;
}

#staff_id::after {
  content: "\25BC"; /* Unicode arrow character */
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none; /* Make sure clicks pass through */
  color: #333;
}

/* Styling the options when hovered */
#staff_id option:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* Styling the options when they are active (clicked or selected with keyboard) */
#staff_id option:active,
#staff_id option:checked {
  background-color: #e0e0e0;
  color: #333;
}

/* This changes the background color of the option elements when the select is open */
#staff_id option {
  background-color: #f8f8f8;
  color: #333;
}

/* For Firefox - to change the background color of the dropdown */
#staff_id:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #333;
}

/* CSS for screens smaller than 1200px */
@media (max-width: 1199px) {
  .djangoAppt_page-body {
    flex-direction: column;
  }

  .djangoAppt_appointment-calendar {
    flex: 1;
    padding: 10px;
  }

  .djangoAppt_service-description {
    flex: 1;
    margin-left: 0;
    margin-top: 20px;
  }

  .djangoAppt_calendar {
    flex: 1;
  }

  .djangoAppt_slot {
    flex: 1;
  }

  .djangoAppt_slot {
    margin-left: 10px;
  }
}

/* CSS for screens smaller or equal to 768px */
@media (max-width: 768px) {
  .djangoAppt_main-container {
    padding: 8px;
  }

  .djangoAppt_body-container {
    padding: 8px;
  }

  .djangoAppt_appointment-calendar {
    flex: 1;
    padding: 10px;
  }

  .djangoAppt_service-description {
    flex: 1;
    margin-left: 0;
    margin-top: 20px;
  }

  .djangoAppt_calendar-and-slot {
    display: grid;
  }

  .djangoAppt_slot {
    margin-top: 40px;
  }

  .djangoAppt_slot-list,
  .djangoAppt_date_chosen,
  .djangoAppt_no-availability-text {
    margin-left: 0;
    padding-left: 0;
  }

  .djangoAppt_btn-request-next-slot {
    margin-left: 0;
  }

  /* Reduce font size for smaller screens */
  .djangoAppt_title,
  .djangoAppt_item-name,
  .djangoAppt_date_chosen,
  .djangoAppt_next-available-date {
    font-size: 16px;
  }

  .djangoAppt_timezone-details {
    font-size: 14px;
  }

  .fc-day {
    font-size: 10px;
  }
}

/* CSS for screens smaller or equal to 768px */
@media (max-width: 450px) {
  .djangoAppt_main-container {
    padding: 3px;
  }

  .djangoAppt_body-container {
    padding: 3px;
  }

  .djangoAppt_appointment-calendar {
    flex: 1;
    padding: 5px;
  }

  .djangoAppt_service-description {
    flex: 1;
    margin-left: 0;
    margin-top: 20px;
  }

  .djangoAppt_calendar-and-slot {
    display: grid;
  }

  .djangoAppt_slot {
    margin-top: 40px;
  }

  .djangoAppt_slot-list,
  .djangoAppt_date_chosen,
  .djangoAppt_no-availability-text {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .djangoAppt_btn-request-next-slot {
    margin-left: 0;
  }

  /* Reduce font size for smaller screens */
  .djangoAppt_title,
  .djangoAppt_item-name,
  .djangoAppt_date_chosen,
  .djangoAppt_next-available-date {
    font-size: 13px;
  }

  .djangoAppt_timezone-details,
  .error-message {
    font-size: 13px;
  }

  .fc-day {
    font-size: 11px;
  }

  .fc-toolbar-title {
    font-size: 14px !important;
  }

  .fc {
    font-size: 13px !important;
  }

  .fc,
  .fc-button {
    vertical-align: center !important;
  }

  .djangoAppt_appointment-slot {
    padding: 5px;
    font-size: 13px;
  }

  .djangoAppt_service-description {
    font-size: 13px !important;
  }
}

.selected-cell {
  background-color: var(--bs-primary-bg);
  border-color: var(--bs-primary);
}

/* Submit button styling */
.btn-submit-appointment {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--bs-darker) !important;
  color: white !important;
  border: none !important;
  border-radius: 2rem !important;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  margin-top: 20px;
}

.btn-submit-appointment:hover:not(:disabled) {
  background-color: var(--bs-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 175, 175, 0.3);
}

.btn-submit-appointment:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Staff members list label */
.staff-members-list {
  margin-bottom: 20px;
}

.staff-members-list .djangoAppt_item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* =============================================================
   patient_appointments.html
   ============================================================= */

.appointment-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.appointment-card:hover {
    box-shadow: 0 4px 14px rgba(67, 175, 175, 0.14);
    border-color: #43afaf;
}

/* ── header: date/time left, status right ── */
.appointment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.appointment-date-time {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.appointment-date-time ion-icon {
    font-size: 1.4rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}

.appt-date {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.appt-time {
    font-size: 0.82rem;
    color: #555;
}

.appointment-status {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.status-confirmed { background-color: #cce5ff; color: #004085; }
.status-booked    { background-color: #d4edda; color: #155724; }
.status-pending   { background-color: #fff3cd; color: #856404; }
.status-cancelled { background-color: #f8d7da; color: #721c24; }

/* ── service title ── */
.appt-service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

/* ── meta row: specialist + duration pills ── */
.appt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.appt-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: #444;
    background: #f4f6f8;
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
}

.appt-meta-item i {
    color: var(--bs-primary);
    font-size: 0.8rem;
}

/* ── proxy patient ── */
.appt-patient {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #555;
}

.appt-patient i {
    color: var(--bs-primary);
    font-size: 0.8rem;
}

/* ── notes ── */
.appt-notes {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.875rem;
    color: #555;
}

.appt-notes-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

.appt-notes-text {
    color: #333;
}

/* ── recommendation block ── */
.appt-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #f0faf7;
    border-left: 3px solid #43afaf;
    border-radius: 0 6px 6px 0;
    padding: 0.65rem 0.9rem;
}

.appt-recommendation ion-icon {
    color: #43afaf;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.appt-recommendation strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #2a8a8a;
    margin-bottom: 0.2rem;
}

.appt-recommendation p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

/* ── compact action buttons ── */
.appt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    margin-top: 0.25rem;
}

.appt-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.1s ease;
    border: 1.5px solid transparent;
}

.appt-action-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    text-decoration: none;
}

.appt-action-btn--interview {
    background: #eaf3fb;
    color: #2470a8;
    border-color: #b8d6ef;
}

.appt-action-btn--visit-survey {
    background: #eaf3fb;
    color: #2470a8;
    border-color: #b8d6ef;
}

.appt-action-btn--survey {
    background: #fef3ea;
    color: #b86820;
    border-color: #f5cfaa;
}

.appt-action-btn--upload {
    background: #f2edfb;
    color: #6b3fb5;
    border-color: #d4bef0;
}

.appt-action-btn--reschedule {
    background: #e8f5f0;
    color: #2d7a62;
    border-color: #a8d5c2;
}

.appt-action-btn--confirm {
    background: #e7f1ff;
    color: #004085;
    border-color: #9ec5fe;
}

.appt-action-btn--cancel {
    background: #fdecea;
    color: #9b2020;
    border-color: #f1b8b8;
}

.appt-action-btn i {
    font-size: 0.75rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #000;
}

.empty-state ion-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #000;
    margin-bottom: 0.5rem;
}

.appointments-container {
    margin: 0 auto;
}

.appointment-count {
    background-color: rgba(67, 175, 175, 0.1);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    color: #43afaf;
    font-weight: 600;
}

@media (max-width: 768px) {
    .appointment-card {
        padding: 1rem;
    }

    .appointment-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .appt-actions {
        flex-direction: column;
    }

    .appt-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================
   patient_survey.html
   ============================================================= */

.loading-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
}
.loading-overlay.active { display: flex; }
.loading-spinner {
  width: 60px; height: 60px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--bs-darker, #347c7c);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loading-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--bs-darker, #347c7c);
}

.medical-info-item { margin-bottom: 1rem; }
.medical-info-label {
  display: block;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.medical-info-label i {
  color: var(--bs-darker, #347c7c);
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}
.survey-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}
.survey-actions .btn {
  padding: 0.75rem 2rem;
  background-color: var(--bs-darker, #347c7c) !important;
  color: white !important;
  border: none !important;
  border-radius: 2rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.survey-actions .btn:hover {
  background-color: var(--bs-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 175, 175, 0.3);
}
.security-notice {
  text-align: center;
  margin-top: 1.5rem;
  color: #6c757d;
  font-size: 0.9rem;
}
.security-notice i {
  color: var(--bs-darker, #347c7c);
  margin-right: 0.5rem;
}

/* Skip button */
#skipSurvey {
  border-color: var(--bs-primary, #8ed9d9);
  color: var(--bs-darker, #347c7c);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  box-shadow: 0 1px 4px rgba(52, 124, 124, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
#skipSurvey:hover {
  background-color: var(--bs-primary, #8ed9d9);
  color: var(--bs-darker, #347c7c);
  box-shadow: 0 3px 8px rgba(52, 124, 124, 0.2);
}

/* =============================================================
   upload_documents.html
   ============================================================= */

.upload-zone {
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafbfc;
  position: relative;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--bs-darker, #347c7c);
  background: rgba(142, 217, 217, 0.08);
}
.upload-zone-icon {
  font-size: 2.5rem;
  color: var(--bs-darker, #347c7c);
  margin-bottom: 0.75rem;
}
.upload-zone-text {
  font-size: 0.95rem;
  color: #6c757d;
}
.upload-zone-text strong {
  color: var(--bs-darker, #347c7c);
}
.upload-zone-hint {
  font-size: 0.8rem;
  color: #adb5bd;
  margin-top: 0.5rem;
}
.file-list {
  margin-top: 1.5rem;
}
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fff;
  transition: all 0.2s ease;
}
.file-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.file-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}
.file-item-icon {
  font-size: 1.3rem;
  color: var(--bs-darker, #347c7c);
  flex-shrink: 0;
}
.file-item-name {
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-item-size {
  font-size: 0.8rem;
  color: #6c757d;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.file-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 1rem;
}
.file-item-actions .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}
.file-counter {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.5rem;
  text-align: right;
}
.upload-progress {
  display: none;
  margin-top: 0.5rem;
}
.upload-progress.active {
  display: block;
}
.upload-error {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}
.upload-error.active {
  display: block;
}

/* Action buttons */
.document-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.document-actions .btn-continue {
  padding: 0.75rem 2rem;
  background-color: var(--bs-darker, #347c7c) !important;
  color: white !important;
  border: none !important;
  border-radius: 2rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.document-actions .btn-continue:hover {
  background-color: var(--bs-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 175, 175, 0.3);
}
#skipUpload {
  border-color: var(--bs-primary, #8ed9d9);
  color: var(--bs-darker, #347c7c);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  box-shadow: 0 1px 4px rgba(52, 124, 124, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
#skipUpload:hover {
  background-color: var(--bs-primary, #8ed9d9);
  color: var(--bs-darker, #347c7c);
  box-shadow: 0 3px 8px rgba(52, 124, 124, 0.2);
}

/* ── Phone-confirmation pill toggle (event details modal header) ── */
.phone-confirm-checkbox {
  display: none;
}

.phone-confirm-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  border: 2px solid #adb5bd;
  color: #6c757d;
  font-weight: 600;
  font-size: 0.82rem;
  background: transparent;
  user-select: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  margin-bottom: 0;
}

.phone-confirm-toggle:hover {
  border-color: #198754;
  color: #198754;
}

.phone-confirm-icon-on  { display: none; }
.phone-confirm-icon-off { display: inline; }

/* Checked state — rendered via :has() */
.phone-confirm-toggle:has(.phone-confirm-checkbox:checked) {
  border-color: #198754;
  color: #fff;
  background: #198754;
}

.phone-confirm-toggle:has(.phone-confirm-checkbox:checked) .phone-confirm-icon-off { display: none; }
.phone-confirm-toggle:has(.phone-confirm-checkbox:checked) .phone-confirm-icon-on  { display: inline; }

/* ── /confirm/ page ── */
.confirm-appt-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1rem;
  min-height: 60vh;
}

.confirm-appt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  width: 100%;
  gap: 0.75rem;
}

.confirm-appt-icon--warn {
  font-size: 3rem;
  line-height: 1;
}

.confirm-appt-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
}

.confirm-appt-body {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.confirm-appt-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f4f6f8;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  color: #444;
}

.confirm-appt-detail-sep {
  color: #aaa;
}

.confirm-appt-btn {
  margin-top: 0.5rem;
}
