/* ========================================
   HIVE Paddlesports - Rental Period Selection
   Mobile-First Responsive Styles
   ======================================== */

/* CSS Variables */
:root {
  --primary-dark: #1a1a1a;
  --primary-yellow: #cee942;
  --primary-blue: #33b5e5;
  --text-dark: #000;
  --text-light: #666666;
  --text-muted: #6a7282;
  --border-color: #e0e0e0;
  --border-light: #d1d5dc;
  --bg-light: #f5f5f5;
  --bg-light-gray: #E5E7EB;
  --bg-white: #fff;
  --success-green: #00a86b;
  --error-red: #f44336;
  --orange: #ef4009;
  --slot-unavailable: #f0f0f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.box-wrapper {
  overflow: unset !important;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

body.single-hive_location {
  padding-bottom: 154px;
}

.main-content {
  background-color: var(--bg-white);
}

.waiver-main {
  background: var(--bg-white);
  min-height: calc(100dvh - 57px);
}

/* Header */
.header {
  background-color: var(--primary-dark);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

header.navbar.menu-primary {
  opacity: 1 !important;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-hive {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.logo-text {
  color: var(--bg-white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--bg-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Page Header */

.page-header,
.waiver-page-header {
  background-color: var(--primary-dark);
  padding: 16px;
  display: flex;
  gap: 4px;
}

.back-btn {
  color: var(--primary-yellow);
  height: 24px;
  display: flex;
  justify-content: center;
}

.page-subtitle {
  color: var(--bg-white);
  font-size: 14px;
}

/* Date Navigation */

.date-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.date-nav-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  border-radius: 50%;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.date-nav-arrow:hover:not(:disabled) {
  background-color: var(--bg-light);
}

.date-nav-arrow:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.date-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.date-tabs::-webkit-scrollbar {
  display: none;
}

.date-tab {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-fast);
  border: 1px solid var(--primary-yellow);
  background-color: rgba(206, 233, 66, 0.10);
  color: var(--text-dark);
}

.date-tab:hover:not(.active) {
  border-color: var(--text-muted);
}

.date-tab.active {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  border-color: var(--primary-yellow);
  font-weight: 700;
  border: 1px solid var(--text-dark);
}

.date-tab .date-text {
  cursor: pointer;
}

/* ========================================
   Location Info
   ======================================== */
.location-info {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--primary-yellow);
}

.date-time-selection.location-info {
  background: var(--bg-white);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.location-icon {
  flex-shrink: 0;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #0f0e10;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #0f0e10;
}

.location-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-btn {
  padding: 8px;
  flex-shrink: 0;
}

.info-btn {
  padding: 8px;
  flex-shrink: 0;
}

/* Time Slots Container */

.time-slots-container,
.participants-section,
.need-help-section {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 40px;
}

.time-slots-grid {
  display: flex;
  flex-direction: column;
}

/* Time Slot Row */
.time-slot-row {
  display: flex;
  min-height: 80px;
  background-color: var(--bg-white);
}

.time-label {
  width: 60px;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  text-align: right;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.slot-content {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border-color);
}

.slot-content:hover:not(.unavailable):not(.selected) {
  background-color: var(--bg-light);
}

.slot-content.unavailable {
  background-color: #f3f3f3;
  cursor: not-allowed;
  background-image: repeating-linear-gradient(-45deg,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0.03) 2px,
      transparent 2px,
      transparent 16px);
  border-left: 3px solid #d1d1d1;
  align-items: center;
}

.slot-content.selected {
  background-color: var(--primary-yellow);
  border: 0;
  border-inline: 3px solid var(--text-dark);
}

.slot-content.selected.first-selected {
  border-top: 3px solid var(--text-dark);
}

.slot-content.selected.last-selected {
  border-bottom: 3px solid var(--text-dark);
}

.slot-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.slot-content.unavailable .slot-text {
  color: var(--text-muted);
  font-weight: 500;
  font-style: normal;
}

.slot-content.selected .slot-text {
  color: var(--text-dark);
  font-weight: 500;
}

/* Selected Slot Info */
.selected-slot-info {
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 8px;
}

.slot-content.selected.last-selected .selected-slot-info {
  display: flex;
}

.slot-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.slot-duration {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Footer Summary */

.footer-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  background-color: var(--bg-white);
}

.footer-summary.expanded {
  overflow-y: auto;
}

.footer-summary.expanded .view-breakdown-link span {
  display: none;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  cursor: pointer;
  background-color: var(--primary-blue);
}

.summary-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slots-selected {
  color: var(--bg-white);
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
}

.selected-date-info {
  color: var(--bg-white);
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  margin-left: 4px;
}

.total-duration {
  color: var(--bg-white);
  font-size: 12px;
  line-height: 16px;
}

.view-breakdown-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--bg-white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px;
  white-space: nowrap;
  text-decoration: underline;
}



.view-breakdown-link svg {
  transition: transform var(--transition-fast);
}

.footer-summary:not(.expanded) .view-breakdown-link svg {
  transform: rotate(180deg);
}

/* Breakdown Panel */
.breakdown-panel {
  background-color: var(--bg-white);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.footer-summary.expanded .breakdown-panel {
  max-height: 500px;
}

.breakdown-section {
  padding: 8px 18px;
  border-bottom: 1px solid var(--border-color);
}

.breakdown-section h4 {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.breakdown-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-item .item-name {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
}

.breakdown-kayak-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kayak-name {
  font-size: 14px;
  color: var(--text-dark);
}

.kayak-details {
  font-size: 14px;
  color: var(--text-light);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px;
  border-bottom: 1px solid var(--border-color);
}

.breakdown-label {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
}

.breakdown-value {
  font-size: 14px;
  color: var(--text-dark);
  text-align: right;
}

.pricing-section {
  border-bottom: none;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.pricing-section .breakdown-row {
  padding: 0;
  border-bottom: none;
}

.pricing-section .breakdown-value {
  font-weight: 600;
}

.breakdown-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 18px;
  border-top: 1px solid var(--border-color);
}

.total-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.total-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.total-note {
  font-size: 12px;
  color: var(--primary-blue);
  font-style: italic;
}

.total-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.total-value span {
  color: #33B5E5;
}

/* Footer Error Message */
.footer-error {
  display: none;
  padding: 12px 16px 14px;
  background-color: var(--bg-white);
  text-align: center;
}

.footer-error.active {
  display: block;
}

.footer-error-message,
.participant-status.status--error {
  font-size: 12px;
  font-weight: 400;
  color: var(--orange);
  text-align: center;
}

.participant-status.status--error {
  text-align: left;
  font-size: 14px;
}

.confirm-btn,
.authorize-btn,
.waiver-btn {
  padding: 16px 24px;
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
}

button.confirm-btn {
  width: calc(100% - 20px);
  margin: 10px;
}

.confirm-btn:hover:not(:disabled) {
  background-color: #b8d33a;
}

.confirm-btn:disabled,
.authorize-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.authorize-btn {
  margin: 0;
  bottom: 0 !important;
  max-width: 400px !important;
}

.waiver-btn {
  width: 100%;
}

/* ========================================
   Modal Overlay (Shared Base Styles)
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-normal);
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   Calendar Overlay
   ======================================== */

.calendar-modal {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .calendar-modal {
  transform: translateY(0);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.calendar-nav:hover:not(:disabled) {
  background-color: var(--bg-light);
}

.calendar-nav:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-month-year {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50%;
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.calendar-day:hover:not(:disabled):not(.empty) {
  background-color: var(--bg-light);
}

.calendar-day.today {
  border: 2px solid var(--primary-blue);
}

.calendar-day.selected {
  background-color: var(--primary-dark);
  color: var(--bg-white);
}

.calendar-day.past,
.calendar-day.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.4;
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-close {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.calendar-close:hover {
  background-color: var(--border-color);
}

/* ========================================
   Breakdown Modal
   ======================================== */
#breakdownOverlay {
  z-index: 10001;
  padding: 0;
}

.breakdown-modal {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  max-width: 500px;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .breakdown-modal {
  transform: translateY(0);
}

.breakdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.breakdown-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.breakdown-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.breakdown-close:hover {
  background-color: var(--bg-light);
}

.breakdown-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.breakdown-value {
  font-size: 14px;
  color: var(--text-dark);
}

.breakdown-total {
  background-color: var(--bg-light);
  padding: 16px;
  border-radius: 8px;
  margin-top: 8px;
}

.breakdown-total .breakdown-label {
  font-weight: 600;
  color: var(--text-dark);
}

.breakdown-total .breakdown-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Confirmation Modal */

.confirm-modal {
  background-color: var(--primary-dark);
  padding: 24px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.confirm-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.confirm-modal h3 {
  font-size: 18px !important;
  line-height: 36px;
  font-weight: 700;
  color: var(--primary-yellow);
  text-transform: uppercase;
  margin: 0;
}

.confirm-modal-close {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition-fast);
}

.confirm-modal-close:hover {
  opacity: 0.7;
}

.confirm-modal p {
  font-size: 14px;
  color: var(--bg-white);
  margin: 0 0 22px;
  line-height: 20px;
  text-align: center;
}

.confirm-actions {
  display: flex;
  gap: 12px;
}

.confirm-yes {
  flex: 1;
  padding: 14px 24px;
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-fast);
  text-transform: uppercase;
}

.confirm-yes:hover {
  background-color: #b8d33a;
}

.confirm-no {
  flex: 1;
  padding: 14px 24px;
  background-color: transparent;
  color: var(--primary-yellow);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--primary-yellow);
  transition: var(--transition-fast);
  text-transform: uppercase;
}

.confirm-no:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Error Toast */

.error-toast {
  position: fixed;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--error-red);
  color: var(--bg-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 300;
  max-width: calc(100% - 32px);
  text-align: center;
}

.error-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Info Tooltip Modal */
#infoTooltipOverlay {
  z-index: 1001;
  padding-top: 80px;
}

.info-tooltip-modal {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 416px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  transition: transform var(--transition-normal);
  overflow: hidden;
  padding: 14px 16px;
}

.modal-overlay.active .info-tooltip-modal {
  transform: translateY(0);
}

.info-tooltip-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.info-location {
  display: flex;
  gap: 12px;
}

.info-location .location-icon {
  flex-shrink: 0;
}

.info-location .location-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-location .location-name,
.info-location .location-address {
  font-size: 12px;
  font-weight: 600;
  color: #0f0e10;
}

.info-tooltip-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.info-tooltip-close svg {
  color: var(--primary-blue);
}

.info-tooltip-close:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.info-tooltip-content {
  padding: 12px;
  background: rgba(51, 181, 229, 0.1);
  border-left: 3px solid var(--primary-blue);
}

.info-tooltip-content h3 {
  font-size: 15px !important;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 16px;
}

.info-tooltip-content ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0;
}

.info-tooltip-content ol li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}

.info-tooltip-content ol li:last-child {
  margin-bottom: 0;
}

.info-tooltip-content ol li::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--text-dark);
}

.info-tooltip-content ol li strong {
  font-weight: 600;
}

/* Accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for keyboard navigation */
.date-tab:focus-visible,
.slot-content:focus-visible,
.calendar-day:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Global Header */
.global-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-hive {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.logo-paddlesports {
  font-size: 18px;
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Waiver Page Header */

.waiver-header-text h1,
.page-title {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--primary-yellow);
  margin: 0;
  letter-spacing: 1px;
}

.waiver-header-text p {
  font-size: 14px;
  color: var(--bg-white);
  margin: 0;
  opacity: 0.9;
}

/* Waiver Progress Section */

.waiver-progress-section {
  padding: 16px;
}

.waiver-progress-section .content-wrapper {
  border: 2px solid var(--text-dark);
  background: linear-gradient(180deg, #cee942 0%, #f0ea00 100%);
  padding: 26px;
  text-align: center;
}

.progress-counter {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.progress-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 1px;
  margin: 0 0 16px 0;
}

.progress-bar {
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-dark);
  transition: width 0.3s ease;
}

/* Participants Section */
.participants-section {
  padding: 16px 16px 40px;
}

.participants-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.participants-header svg {
  color: var(--text-dark);
}

.participants-header h2 {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 28px;
}

.participant-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Participant Card */
.participant-card {
  background-color: var(--bg-white);
  padding: 16px;
  border: 2px solid var(--border-light);
  margin-bottom: 12px;
}

.participant-card:last-child {
  margin-bottom: 0;
}

.participant-card.signed {
  background: #cee942;
  border-color: transparent;
}

.participant-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.participant-sub-card {
  display: flex;
  padding: 14px 16px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E4E4E4;
  background: var(--bg-white);
  margin-bottom: 12px;
}

.participant-sub-card:last-child {
  margin-bottom: 0;
}

.participant-sub-card .participant-details,
.participant-info.participant-sub-row .participant-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.participant-sub-card .participant-details span,
.participant-info.participant-sub-row .participant-details {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #202020;
}

.participant-info.participant-sub-row .participant-details .participant-details-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.participant-details.photoid_in_progress .participant-details-status,
.participant-details.waiver-signed .participant-details-status {
    flex-direction: row !important;
    width: 100%;
    justify-content: space-between;
    align-items: center !important;
}

.participant-card.signed.additional-signed-verified .participant-info {
  align-items: center;
}

.participant-info.participant-sub-row .participant-details .sub-row-label,
.participant-info.participant-sub-row .participant-details .sub-row-label,
.participant-sub-card span.sub-row-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.participant-info.participant-sub-row {
  flex-direction: column;
  width: 100%;
}

.participant-info.participant-sub-row .participant-details {
  width: 100%;
  padding: 14px 16px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E4E4E4;
  background: var(--bg-white);
}

.participant-info.participant-sub-row .participant-details .participant-details-status .sub-row-badge {
  padding-left: 32px;
}

.sub-row-badge .status-badge-pill {
  display: flex;
  padding: 4px 10px;
}

.sub-row-badge .status-badge-pill.status-badge-signed,
.sub-row-badge .status-badge-pill.status-badge-verified {
  color: var(--bg-white);
  background: #33B5E5;
}

.sub-row-badge .status-badge-pill.status-badge-submitted {
  background-color: var(--primary-yellow);
}

.sub-row-badge .status-badge-pill.status-badge-pending {
  background-color: #F5981A;
  color: var(--bg-white);
}

.sub-row-badge .status-badge-pill.status-badge-rejected {
  background-color: var(--error-red);
  color: var(--bg-white);
}

.participant-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  align-items: center;
}

.participant-avatar.signed {
  background-color: var(--primary-dark);
  border: 3px solid var(--primary-dark);
  color: var(--primary-yellow);
}

.participant-details {
  flex: 1;
}

.participant-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-yellow);
  background-color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  line-height: 16px;
}

.participant-name {
  font-size: 14px !important;
  line-height: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.participant-hint {
  font-size: 12px;
  line-height: 14px;
  margin-block: 12px;
  color: var(--text-dark);
}

.participant-status {
  font-size: 14px;
  color: #4a5565;
  margin: 0;
  line-height: 20px;
}

.participant-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a5565;
  margin: 0;
}

.participant-contact svg {
  color: var(--text-muted);
}

.waiver-main.digital-waiver-management {
  padding-bottom: 120px;
}

.regenerate-link-btn {
  display: flex;
  background: #33B5E5;
  color: var(--bg-white);
  padding: 18px 40px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Copy URL Button */
.copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 20px;
  white-space: nowrap;
}

.copy-url-btn svg {
  color: var(--primary-blue);
}

/* Resend Button */
.resend-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary-blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 20px;
  font-weight: 600;
  width: 100%;
}

.resend-btn svg {
  color: var(--primary-blue);
}

.resend-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  justify-content: space-between;
}

.resend-btn .waiver-sent-wrapper {
  display: flex;
  align-items: center;
  gap: 11px;
}

.resend-btn .waiver-sent-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: rgba(97, 97, 97, 0.40);
}

.resend-btn .cooldown-timer {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

/* How To Section */

.how-to-section {
  padding: 0 16px 20px;
}

.how-to-card {
  background: rgba(48, 200, 242, 0.1);
  padding: 20px;
  border: 2px solid #30c8f2;
}

.how-to-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.how-to-header svg {
  color: var(--primary-dark);
}

.how-to-header h3 {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.how-to-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.how-to-list li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: #1e2939;
  line-height: 20px;
  margin-bottom: 16px;
  counter-increment: step-counter;
}

.how-to-list li:last-child {
  margin-bottom: 0;
}

.how-to-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #30c8f2;
  color: var(--bg-white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 16px;
}

/* Order Details Accordion */

.order-details-section {
  padding-inline: 16px;
  margin-bottom: 35px;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  background-color: var(--bg-white);
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.accordion-toggle.expanded {
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion-header svg {
  color: var(--text-dark);
}

.accordion-header span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.accordion-icon {
  transition: transform 0.2s ease;
}

.accordion-icon.rotated {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.order-detail-row:first-child {
  padding-top: 0;
}

.order-detail-row:last-child {
  padding-bottom: 0;
}

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

.detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Need Help Section */

.need-help-section {
  padding: 0 16px 40px;
}

.help-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #f3f4f6;
  border-top: none;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  width: 100%;
  font-weight: 700;
}

.help-link:last-child {
  margin-bottom: 0;
}

.help-link.cancel {
  color: var(--orange);
  background: rgba(239, 64, 9, 0.05);
  font-weight: 500;
}

.help-link.cancel svg {
  color: var(--orange);
}

/* Waiver Footer */

.waiver-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border-color);
  z-index: 90;
}

.waivers-remaining {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 12px 0;
}

.continue-btn,
a.btn-action.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.continue-btn:hover:not(:disabled) {
  background-color: #b8d33a;
}

.continue-btn:disabled {
  background-color: var(--border-color);
  color: #99A1AF;
  cursor: not-allowed;
}

.continue-btn svg {
  color: var(--primary-dark);
}

/* Cancel Booking Modal */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.show {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: unset;
  max-width: 100%;
}

.modal-container {
  background-color: var(--primary-dark);
  padding: 24px;
  width: 100%;
  max-width: 340px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.modal-title {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--primary-yellow);
  margin: 0 0 24px 0;
  letter-spacing: 2px;
}

.modal-message {
  font-size: 14px;
  color: var(--bg-white);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  letter-spacing: 0.5px;
}

.modal-btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-yellow);
  color: var(--primary-yellow);
}

.modal-btn-outline:hover {
  background-color: rgba(206, 233, 66, 0.1);
}

.modal-btn-primary {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
}

.modal-btn-primary:hover {
  background-color: #b8d33a;
}

/* Order Cancelled Screen */

.cancelled-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--text-dark);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cancelled-screen.show {
  display: flex !important;
}

.cancelled-content {
  text-align: center;
}

.cancelled-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-yellow);
  margin: 0 0 24px 0;
  letter-spacing: 3px;
  line-height: 1.2;
}

.cancelled-message {
  font-size: 16px;
  color: var(--bg-white);
  margin: 0 0 8px 0;
}

.cancelled-refund {
  font-size: 14px;
  color: var(--bg-white);
  margin: 0;
  opacity: 0.9;
}

.return-home-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  max-width: 500px;
  margin-inline: auto;
  display: inline-block;
  padding: 16px 32px;
  text-align: center;
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 24px;
  text-transform: uppercase;
}

.return-home-btn:hover {
  background-color: #b8d33a;
}

/* Order Details Sections */

.order-section {
  padding-bottom: 21px;
  border-bottom: 1px solid var(--bg-light-gray);
  margin-bottom: 14px;
}

.order-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}

.order-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.order-section-header svg {
  color: var(--text-dark);
}

.order-section-header span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

/* Rental Period Card */
.rental-period-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  background-color: #f9fafb;
}

.rental-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rental-time.start {
  text-align: left;
}

.rental-time.end {
  text-align: right;
}

.rental-time-label {
  font-size: 12px;
  line-height: 16px;
  color: #4a5565;
}

.rental-time-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.rental-time-date {
  font-size: 12px;
  color: var(--text-muted);
}

.rental-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
}

.duration-line {
  width: 30px;
  height: 2px;
  background-color: #ffa500;
}

.duration-text {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Kiosk Location Card */
.kiosk-location-card {
  padding: 17px 16px 24px;
  background-color: #f9fafb;
  border-radius: 12px;
}

.kiosk-name {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.kiosk-address {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px 0;
}

.open-maps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background-color: #30c8f2;
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

/* Payment Summary Card */
.payment-summary-card {
  padding: 0;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.payment-label {
  font-size: 14px;
  color: var(--text-dark);
}

.payment-value {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.payment-row.deposit .payment-value {
  color: #f54900;
}

.payment-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.payment-row.total .payment-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.payment-row.total .payment-value {
  font-size: 20px;
  line-height: 28px;
  color: var(--text-dark);
}

/* PIN Page Success Header */

.pin-success-header {
  background-color: var(--primary-dark);
  padding: 40px 16px;
  text-align: center;
  margin-bottom: 24px;
}

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-yellow);
  margin: 0 auto 12px;
}

.icon-wrapper {
  width: 45px;
  background: #cee942;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.success-title {
  font-size: 28px !important;
  font-weight: 700;
  color: var(--primary-yellow);
  margin: 0 0 16px;
  letter-spacing: 3px;
}

.success-subtitle {
  font-size: 14px;
  color: var(--border-light);
  line-height: 20px;
}

/* Access Codes Section */

.access-codes-section {
  padding: 16px 16px 0;
}

.access-codes-title {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0;
}

.use-pin-btn-wrapper {
  text-align: center;
}

.use-pin-btn-wrapper .how-to-use-btn {
  display: inline-block;
  text-align: center;
  font-size: 12px;
  line-height: 27px;
  color: var(--primary-blue);
  text-decoration: underline;
  margin-bottom: 24px;
}

.pin-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pin-card {
  background: linear-gradient(180deg, #c8dc64 0%, #f0ea00 100%);
  padding: 18px;
  border: 2px solid var(--text-dark);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.pin-card.pin-error {
  border: 2px solid var(--orange);
  background: #FFF6F6;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.pin-card.double {
  background: linear-gradient(180deg, #cee942 0%, #f0ea00 100%);
}

.pin-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pin-kayak-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pin-kayak-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  border-radius: 50%;
}

.pin-kayak-icon svg {
  width: 16px;
  height: 16px;
}

.pin-kayak-details {
  display: flex;
  flex-direction: column;
}

.pin-kayak-type {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.pin-kayak-id {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-dark);
}

.pin-kayak-number {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--primary-yellow);
  padding: 4px 12px;
  background-color: var(--text-dark);
  border-radius: 40px;
}

.pin-code {
  font-size: 32px;
  line-height: 48px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  background: var(--bg-white);
  padding-block: 12px;
}

.pin-error {
  font-size: 14px;
  line-height: 20px;
  color: #E7000B;
}

.participant-card.card--error {
  border: 4px solid var(--orange);
}



/* Safety Reminder Section */

.safety-reminder-section {
  padding-inline: 16px;
}

.safety-reminder-card {
  border: 2px solid var(--orange);
  background: rgba(254, 99, 35, 0.1);
  padding: 18px;
  margin-block: 24px 40px;
}

.safety-reminder-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.safety-reminder-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #fe6323;
}

.safety-reminder-text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 22px;
  margin-bottom: 12px;
  padding-left: 32px;
}

.safety-link {
  color: #fe6323;
  text-decoration: underline;
  font-weight: 700;
}

.safety-btn,
.emergency-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #fe6323;
  color: var(--bg-white);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.emergency-link {
  background: #D02103;
  box-shadow: 0 4px 12px 0 rgba(208, 33, 3, 0.30);
  padding-block: 16px;
}

/* PIN Footer */

.pin-footer {
  padding: 16px;
}

/* How to Use PINs Modal */

.pins-modal .pins-modal-container {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  max-width: 384px;
  width: 100%;
  padding: 16px;
}

.pins-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pins-modal-title {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.pins-modal-close {
  width: 21px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.pins-modal-close:hover {
  color: var(--text-dark);
}

.pins-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: pins-counter;
}

.pins-modal-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #4a5565;
  line-height: 1.5;
  counter-increment: pins-counter;
}

.pins-modal-list li:last-child {
  margin-bottom: 0;
}

.pins-modal-list li::before {
  content: counter(pins-counter) ".";
  font-weight: 700;
  color: #37474f;
  min-width: 20px;
  font-size: 14px;
  line-height: 20px;
}

/* Return Kayak Page */

.return-header {
  background-color: var(--primary-dark);
  padding: 40px 16px 24px;
  text-align: center;
}

.return-title {
  font-size: 32px;
  line-height: 48px;
  font-weight: 800;
  color: var(--primary-yellow);
  margin-bottom: 8px;
}

.return-subtitle {
  font-size: 14px;
  color: var(--border-light);
  line-height: 20px;
  margin-bottom: 16px;
}

.return-progress-card {
  background-color: #202020;
  border-radius: 12px;
  padding: 12px;
}

.return-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.return-progress-label {
  font-size: 12px;
  color: #99a1af;
  text-transform: uppercase;
  line-height: 16px;
}

.return-progress-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-yellow);
  line-height: 16px;
}

.return-progress-bar {
  height: 8px;
  border-radius: 40px;
  background: #303030;
  overflow: hidden;
  margin-bottom: 12px;
}

.return-progress-fill {
  height: 100%;
  background-color: var(--primary-yellow);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.return-photos-count {
  font-size: 12px;
  color: #99a1af;
  text-align: center;
  line-height: 16px;
}

/* Return Instructions Section */

.return-instructions-section {
  padding: 24px 16px;
}

.return-instructions-card {
  padding: 16px 16px 16px 20px;
  border-radius: 4px;
  border-left: 4px solid var(--Secondary-Tangerine, #f5981a);
  background: rgba(245, 152, 26, 0.1);
}

.return-instructions-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.return-instructions-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 20px;
}

.return-instructions-text {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 16px;
  margin-bottom: 8px;
  padding-left: 28px;
}

.return-instructions-list {
  list-style: disc;
  padding-left: 48px;
  margin-block: 1rem;
}

.return-instructions-list li {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 16px;
}

.return-instructions-list li:last-child {
  margin-bottom: 0;
}

/* Kayak Return Section */

.kayak-return-section {
  padding: 0 16px 150px !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kayak-return-card {
  border: 2px solid var(--border-light);
  overflow: hidden;
}

.kayak-return-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
}

.kayak-return-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kayak-return-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light-gray);
  border-radius: 50%;
}

.kayak-return-details {
  display: flex;
  flex-direction: column;
}

.kayak-return-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 24px;
}

.kayak-return-hive {
  font-size: 12px;
  color: #6a7282;
  line-height: 16px;
}

.kayak-return-number {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: var(--primary-yellow);
  padding: 4px 12px;
  background-color: var(--text-dark);
  border-radius: 40px;
  white-space: nowrap;
}

.upload-wrapper {
  border-top: 1px solid var(--bg-light-gray);
  background: #f9fafb;
  padding: 16px;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.photo-preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  max-height: 108px;
}

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

.photo-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background: rgba(0, 0, 0, 0.6);
}

.photo-delete-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.upload-photos-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 700;
  border: 1px dashed var(--text-dark);
  cursor: pointer;
  transition: background-color 0.2s ease;
  line-height: 24px;
}

/* Return Footer */

.return-footer {
  flex-direction: column;
  gap: 12px;
}

.return-status-text {
  font-size: 14px;
  color: #364153;
  text-align: center;
  line-height: 20px;
  margin: 0;
  font-weight: 700;
}

.return-footer .continue-btn:disabled {
  background-color: var(--bg-light-gray);
  color: #9ca3af;
  cursor: not-allowed;
}

footer.waiver-footer.return-footer {
  display: flex;
  align-items: center;
}

footer.waiver-footer.return-footer .continue-btn {
  max-width: 440px;
  flex-wrap: wrap;
}

/* Max Photos Message */

.max-photos-message {
  display: none;
  font-size: 14px;
  color: #6a7282;
  text-align: center;
  margin-bottom: 12px;
}

.max-photos-message span {
  color: #ef4444;
  font-style: italic;
}

.max-photos-message.show {
  display: block;
}

.upload-photos-btn.disabled {
  cursor: not-allowed;
  border: 1px dashed var(--text-dark);
  opacity: 0.2;
  background: var(--Disabled, #e5e7eb);
}

.upload-photos-btn.disabled svg path {
  stroke: #9ca3af;
}

/* Confirm Submission Modal */

.confirm-modal .confirm-modal-container {
  max-width: 382px;
  background: var(--text-dark);
  box-shadow: 0 4px 25.6px 0 rgba(0, 0, 0, 0.25);
  padding: 12px 16px 40px;
}

.confirm-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 24px;
}

.confirm-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-modal-text {
  font-size: 14px;
  color: var(--bg-white);
  line-height: 22px;
  text-align: center;
  margin-bottom: 16px;
}

.confirm-modal-link {
  display: block;
  font-size: 14px;
  color: var(--bg-white);
  text-align: center;
  text-decoration: underline;
  margin-bottom: 22px;
}

.confirm-modal-buttons {
  display: flex;
  gap: 16px;
}

.confirm-modal-btn {
  line-height: 24px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.confirm-modal-btn:hover {
  opacity: 0.9;
}

.confirm-modal-btn-no {
  background-color: transparent;
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
  padding-inline: 48px;
}

.confirm-modal-btn-yes {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  flex: 1;
}

/* Return Successful Screen */

.return-success-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-dark);
  z-index: 1000;
  flex-direction: column;
}

.return-success-screen.show {
  display: flex !important;
}

.return-success-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.return-success-title {
  font-size: 32px !important;
  font-weight: 800;
  color: var(--primary-yellow);
  line-height: 48px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 4.8px;
}

.return-success-text {
  font-size: 14px;
  color: var(--border-light);
  line-height: 28px;
  margin: 0 0 20px;
}

.return-success-text:last-of-type {
  margin-bottom: 0;
}

.return-success-footer {
  background-color: var(--bg-white);
  padding: 16px;
}

/* ========================================
   Breakdown Modal (Desktop Only)
   ======================================== */
.breakdown-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.breakdown-overlay.active {
  display: flex;
  opacity: 1;
}

.breakdown-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background-color: var(--bg-white);
  z-index: 1;
}

.breakdown-modal-header h3 {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.breakdown-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breakdown-modal-close:hover {
  color: var(--text-dark);
}

.breakdown-modal-body .breakdown-section,
.breakdown-modal-body .breakdown-total-row {
  padding-inline: 0;
}

.breakdown-modal-body .breakdown-section h4 {
  margin: 0;
}

body.single-hive_location .main-wrapper {
  z-index: unset !important;
}

.waiver-count-status {
  text-align: center;
  padding: 26px;
  border: 2px solid var(--text-dark);
  background: linear-gradient(180deg, #CEE942 0%, #F0EA00 100%);
  margin: 16px;
}

.waiver-count-status h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.waiver-count-status p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--text-dark);
  margin-bottom: 16px;
}


/* ========================================
   Critical Safety Information Page
   ======================================== */

.critical-safety-page {
  background-color: var(--bg-white);
  min-height: 100vh;
}

/* Back Navigation */
.safety-back-nav {
  background-color: var(--primary-dark);
  padding: 16px;
}

.safety-back-nav .back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-yellow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.safety-back-nav .back-link svg {
  flex-shrink: 0;
}

/* Warning Alert */
.safety-warning-alert {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 4px solid #E7000B;
  background: #FEF2F2;
}

.safety-warning-alert .warning-icon {
  flex-shrink: 0;
  color: #ff9800;
}

.safety-warning-alert .warning-content {
  flex: 1;
}

.safety-warning-alert .warning-title {
  font-size: 14px;
  font-weight: 700;
  color: #82181A;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.safety-warning-alert .warning-text {
  font-size: 14px;
  line-height: 20px;
  color: #9F0712;
  margin: 0;
}

.safety-warning-alert .warning-text strong {
  color: #9F0712;
}

.safety-steps.steps-header {
  padding: 0 16px;
  margin-top: 16px;
}

.safety-steps.steps-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
  display: flex;
  gap: 12px;
}

.safety-steps.steps-header p {
  font-size: 14px;
  color: var(--primary-dark);
  margin: 0;
}

/* Safety Steps Section */
.safety-steps-section {
  padding: 20px 16px;
}

.safety-step {
  display: flex;
  gap: 12px;
  padding: 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 18px;
}

.safety-step .step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}

.safety-step .step-content {
  flex: 1;
}

.safety-step .step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.safety-step .step-content > p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.safety-step .size-list,
.safety-step .instruction-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-step .size-list li strong {
  color: var(--text-dark);
}

/* PFD Size Guide */
.pfd-size-guide {
  margin: 0 16px 20px;
  padding: 16px;
  background-color: var(--primary-yellow);
  border: 2px solid var(--primary-dark);
}

.pfd-size-guide h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.size-guide-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.size-guide-table .size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: var(--bg-white);
  border-radius: 6px;
}

.size-guide-table .size-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.size-guide-table .size-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.size-guide-table .size-details {
  font-size: 12px;
  color: var(--text-muted);
}

.size-guide-table .size-weight {
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-white);
  background-color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 4px;
}

/* Additional Reminders */
.additional-reminders {
  margin: 0 16px;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
}

.additional-reminders h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.additional-reminders .reminders-list li strong {
  color: var(--text-dark);
}


.qty-btn.minus:disabled,
.qty-btn.plus:disabled {
	background-color: #e8e8e8;
	color: #999999;
	cursor: not-allowed;
}

.kayak-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	text-align: center;
}

.kayak-empty-state__icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	font-size: 2rem;
}

.kayak-empty-state__sorry {
	font-size: 1 !important;
	font-weight: 700;
	margin: 0 0 8px;
}

.kayak-empty-state__title {
	font-size: 20px !important;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.kayak-empty-state__message {
	color: var(--text-light);
	margin: 0;
}


/* Booking Ended Screen Start */

.booking-ended-screen {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 100px);
  background-color: var(--text-dark);
}

.booking-ended-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 24px 16px;
    position: fixed;
    background-color: var(--text-dark);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.booking-ended-title {
  font-size: 32px !important;
  font-weight: 800;
  color: var(--primary-yellow);
  line-height: 48px;
  margin: 120px 0 12px;
  text-transform: uppercase;
  letter-spacing: 4.8px;
}

.booking-ended-text {
  font-size: 14px;
  color: var(--border-light);
  line-height: 28px;
  margin-bottom: 8px;
}

.booking-ended-support {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-yellow);
  text-decoration: none;
  letter-spacing: 1px;
}

.booking-ended-support {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-yellow);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 12px 0;
}

.booking-ended-screen .continue-btn {
  margin: 20px auto 0;
  max-width: 400px;
}


/**KAYAK RETURN OPEN CAMERA + GALLERY Option CSS**/
.photo-source-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 999;
}

.photo-source-menu button {
    padding: 12px 20px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
}

.photo-source-menu button:hover {
    background: #f5f5f5;
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 768px) {
  .main-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .page-header,
  .location-info,
  .waiver-page-header {
    padding: 24px;
    margin: 0 auto;
  }

  .date-navigation {
    padding: 20px 24px;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
  }

  .time-slots-container,
  .participants-section,
  .need-help-section,
  .waiver-progress-section,
  .how-to-section,
  .order-details-section,
  .return-success-content,
  .access-codes-section,
  .safety-reminder-section,
  .return-progress-card,
  .return-instructions-section,
  .kayak-return-section {
    max-width: 700px;
    margin: 0 auto;
    padding-inline: 0;
  }

  .time-slot-row {
    min-height: 90px;
  }

  .time-label {
    width: 100px;
    font-size: 14px;
    padding: 20px 16px;
  }

  .slot-content,
  .return-progress-card {
    padding: 12px 20px;
  }

  .slot-text,
  .total-note {
    font-size: 14px;
  }

  /* Footer for tablet */
  .footer-summary {
    max-width: 100%;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .summary-header {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    background: var(--bg-white);
  }

  .summary-left {
    flex-direction: column;
    gap: 8px;
  }

  .slots-selected,
  .how-to-header h3 {
    font-size: 24px !important;
    color: var(--text-dark);
    white-space: nowrap;
  }

  .total-duration,
  .selected-date-info {
    font-size: 16px;
    color: var(--text-dark);
    white-space: nowrap;
  }

  .view-breakdown-link {
    font-size: 16px;
    padding: 0;
    margin-top: 10px;
    color: var(--text-dark);
  }

  .breakdown-panel {
    padding: 0 24px;
  }

  .footer-error {
    padding: 16px 24px 0 24px;
    position: absolute;
    right: 0;
    top: 0;
  }

  /* Calendar modal */
  .calendar-modal {
    max-width: 420px;
    padding: 28px;
  }

  .calendar-day {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  /* Confirmation modal */
  .confirm-modal {
    max-width: 400px;
    padding: 28px;
  }

  .confirm-actions {
    gap: 16px;
  }

  .confirm-no,
  .confirm-yes {
    padding: 16px 28px;
    font-size: 16px;
  }

  /* Info tooltip */
  .info-tooltip-modal {
    max-width: 520px;
    padding: 20px 30px;
  }

  .breakdown-modal-header h3 {
    font-size: 24px !important;
  }

  .continue-btn {
    max-width: 300px;
    margin-left: auto;
    display: flex;
    text-align: center;
    justify-content: center;
  }

  .info-location .location-name,
  .info-location .location-address,
  .how-to-list li,
  .return-instructions-text,
  .return-instructions-list li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .breakdown-row {
    padding: 14px 0;
  }

  .confirm-btn,
  .authorize-btn,
  .waiver-btn {
    position: relative;
    max-width: 500px !important;
    bottom: 0 !important;
    width: 100%;
    max-height: 56px;
    margin: 32px 16px 16px auto;
    white-space: nowrap;
  }

  footer.waiver-footer.return-footer {
    flex-direction: row !important;
  }
  .safety-reminder-card {
    margin-block: 0;
  }
  .pins-modal-list li {
    margin-bottom: 16px;
  }

  section.location-info,
  section.date-navigation {
    top: 138px;
  }
  section.location-info.date-time-selection {
    top: 234px;
  }

  .safety-main {
    padding: 24px 0;
    margin: 0 auto;
  }

  .safety-step {
    padding: 20px;
  }

  .safety-step .step-content h3 {
    font-size: 16px;
  }
  .booking-ended-title {
    margin-top: 180px;
  }
}

/* ========================================
   Desktop Styles (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .main-content {
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  }

  .page-header,
  .date-navigation,
  .location-info,
  .waiver-page-header {
    padding: 20px 72px;
  }

  .date-navigation {
    gap: 20px;
  }

  .date-nav-arrow {
    width: 44px;
    height: 44px;
  }

  .time-slots-container,
  .participants-section,
  .need-help-section,
  .waiver-progress-section,
  .how-to-section,
  .order-details-section,
  .return-success-content,
  .access-codes-section,
  .safety-reminder-section,
  .return-instructions-section,
  .kayak-return-section,
  .booking-ended-content {
    padding: 24px 0;
  }

  .time-slot-row {
    min-height: 100px;
    border-radius: 8px;
  }

  .time-label {
    width: 100px;
    font-size: 14px;
    padding: 20px 16px;
  }

  .slot-content {
    padding: 16px 24px;
  }

  .slot-text,
  .info-tooltip-content li,
  .help-link,
  .safety-reminder-text,
  .confirm-modal p,
  .slot-duration {
    font-size: 16px;
  }

  /* Footer for desktop */
  .breakdown-panel {
    padding: 0 32px;
  }

  .total-value {
    font-size: 24px;
  }

  .footer-error-message {
    font-size: 16px;
    padding-bottom: 20px;
  }

  /* Calendar modal */
  .calendar-modal {
    max-width: 450px;
    padding: 32px;
    border-radius: 20px;
  }

  .calendar-month-year {
    font-size: 20px;
  }

  .calendar-day {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }

  /* Confirmation modal */
  .confirm-modal {
    max-width: 440px;
    padding: 32px;
    border-radius: 20px;
  }

  .confirm-modal h3 {
    font-size: 20px !important;
  }

  .confirm-no,
  .confirm-yes {
    padding: 18px 32px;
    font-size: 16px;
  }

  .info-tooltip-content h3,
  .participant-name,
  .location-text {
    font-size: 18px !important;
  }

  .view-breakdown-link svg {
    display: none;
  }

  /* section.page-header, section.waiver-page-header {
    top: 142px;
  }
  
  section.location-info, section.date-navigation {
    top: 214px;
  } */

  .safety-main {
    padding: 32px 0;
    max-width: 700px;
  }

  .booking-ended-screen,
  .booking-ended-content  {
    min-height: calc(100dvh - 120px);
  }
}

@media (min-width: 1280px) {
  .page-title {
    font-size: 26px;
  }
}

@media (min-width: 1500px) {

  .page-header,
  .date-navigation,
  .location-info,
  .waiver-page-header {
    padding: 20px 108px;
  }
}