/* css/coaching-booking.css */
/* GOLD EMPEROR — Smart 1-on-1 Coaching Appointment Calendar & History UI */

.ge-coach-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: #0B0C0E;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.ge-coach-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #A5A5A5;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ge-coach-tab-btn:hover {
  color: #FFFFFF;
}

.ge-coach-tab-btn.active {
  background: linear-gradient(135deg, #E5C76B 0%, #D4AF37 55%, #B89123 100%);
  color: #0B0C0E;
  font-weight: 700;
  box-shadow: 0 6px 18px -8px rgba(212, 175, 55, 0.65);
}

/* Interactive Calendar */
.ge-cal-shell {
  background: #0F1116;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  padding: 14px;
}

.ge-cal-weekdays,
.ge-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.ge-cal-weekday {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8A8F98;
  padding-bottom: 6px;
}

.ge-cal-day {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 38px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.ge-cal-day-disabled {
  color: rgba(165, 165, 165, 0.28);
  background: rgba(255, 255, 255, 0.015);
  cursor: not-allowed;
}

.ge-cal-day-available {
  color: #FFFFFF;
  background: #181A1F;
  border-color: rgba(212, 175, 55, 0.28);
  cursor: pointer;
}

.ge-cal-day-available:hover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.14);
}

.ge-cal-day-selected {
  background: linear-gradient(135deg, #E5C76B 0%, #D4AF37 55%, #B89123 100%) !important;
  color: #0B0C0E !important;
  border-color: #F5E6B8 !important;
  font-weight: 800;
  box-shadow: 0 6px 18px -6px rgba(212, 175, 55, 0.65);
}

.ge-cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: #34D399;
  margin-top: 2px;
}

.ge-cal-day-selected .ge-cal-dot {
  background: #0B0C0E;
}

/* Time Slot Cards */
.ge-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px;
}

.ge-slot-btn {
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  background: #181A1F;
  border: 1px solid rgba(212, 175, 55, 0.24);
  transition: all 0.2s ease;
  cursor: pointer;
}

.ge-slot-btn:hover:not(:disabled) {
  border-color: #D4AF37;
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.08);
}

.ge-slot-btn.selected {
  background: linear-gradient(135deg, rgba(229, 199, 107, 0.2) 0%, rgba(212, 175, 55, 0.12) 100%);
  border-color: #D4AF37;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.55);
}

.ge-slot-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #121418;
  border-color: rgba(255, 255, 255, 0.06);
}

/* Status Badges */
.ge-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ge-badge-available { background: rgba(16, 185, 129, 0.14); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.35); }
.ge-badge-reserved,
.ge-badge-pending   { background: rgba(212, 175, 55, 0.16); color: #F5E6B8; border: 1px solid rgba(212, 175, 55, 0.4); }
.ge-badge-booked,
.ge-badge-confirmed { background: rgba(59, 130, 246, 0.16); color: #93C5FD; border: 1px solid rgba(59, 130, 246, 0.35); }
.ge-badge-completed { background: rgba(16, 185, 129, 0.18); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.4); }
.ge-badge-rejected,
.ge-badge-cancelled,
.ge-badge-expired   { background: rgba(239, 68, 68, 0.14); color: #FCA5A5; border: 1px solid rgba(239, 68, 68, 0.32); }

/* Keep clear of bottom-right floating buttons on mobile */
#ge-smart-coaching-root {
  padding-bottom: 16px;
}
