/* ===== CALENDAR PAGE STYLES ===== */

/* Page Header (Shared with Workshops) */
.page-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 32px;
}

.page-header-accent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.page-header-line {
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, #7c3aed, #22d3ee);
  border-radius: 2px;
}

.page-header-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a78bfa;
  text-transform: uppercase;
}

.page-header-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-header-title .gradient-text {
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-header-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0;
}

/* Layout */
.calendar-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 90px;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.list-view {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 90px;
}

/* Controls */
.calendar-controls {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.view-toggle {
  display: flex;
  gap: 10px;
}

.toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body), system-ui, sans-serif;
}

.toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.toggle-btn.active {
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

/* Calendar Month View */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-month-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.calendar-nav-buttons {
  display: flex;
  gap: 8px;
}

.calendar-nav-btn,
.calendar-today-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12.5px;
  font-weight: 600;
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-today-btn {
  padding: 0 16px;
  height: 34px;
  color: rgba(255, 255, 255, 0.7);
}

.calendar-nav-btn:hover,
.calendar-today-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

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

.weekday {
  text-align: center;
  font-size: 15.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 0;
}

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

.calendar-cell {
  min-height: 92px;
  padding: 10px;
  border-radius: 11px;
  cursor: pointer;
  background: #12141c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.calendar-cell:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(18, 20, 28, 0.8);
  transform: translateY(-1px);
}

.calendar-cell.empty {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: default;
}

.calendar-cell.selected {
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid #7c3aed;
}

.calendar-cell.no-sessions {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.calendar-day-number {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

.calendar-cell.has-sessions .calendar-day-number {
  color: #fff;
}

.calendar-day-number.today {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.calendar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  flex: none;
}

.calendar-more {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

/* Selected Date Sidebar */
.calendar-sidebar {
  position: sticky;
  top: 96px;
  background: #12141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.sidebar-header {
  margin-bottom: 18px;
}

.sidebar-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.sidebar-date {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.2s ease;
}

.session-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(18, 20, 28, 0.6);
}

.session-type-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.session-type-badge.live-workshop {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.session-type-badge.webinar {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.session-type-badge.mentorship {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

.session-type-badge.corporate {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.session-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.session-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.session-link {
  font-size: 12.5px;
  color: #22d3ee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.session-link:hover {
  color: #67e8f9;
}

.no-sessions-message {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* List View */
.list-group {
  margin-bottom: 28px;
}

.list-group-date {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.list-sessions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-session {
  background: #12141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.2s ease;
}

.list-session:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 20, 28, 0.8);
  transform: translateY(-1px);
}

.list-time {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  width: 76px;
  flex: none;
}

.list-type {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  flex: none;
}

.list-details {
  flex: 1;
  min-width: 160px;
}

.list-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.list-instructor {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.list-price {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex: none;
}

.list-view-link {
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  flex: none;
  transition: filter 0.2s;
  display: inline-block;
}

.list-view-link:hover {
  filter: brightness(1.12);
}

/* Enhanced Button & Chip Styling */
.calendar-nav-btn:active,
.calendar-today-btn:active {
  transform: scale(0.95);
}

.toggle-btn:active {
  transform: scale(0.98);
}

/* Filter Chips (Shared styling with Workshops) */
.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.chip {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  flex: none;
  transition: all 0.2s;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.chip.active {
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  color: #fff;
  border: 1px solid transparent;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 860px) {
  .calendar-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 32px 60px;
  }

  .calendar-days {
    gap: 4px;
  }

  .calendar-cell {
    min-height: 64px;
    padding: 6px;
  }

  .calendar-dot {
    width: 5px;
    height: 5px;
  }

  .calendar-sidebar {
    position: static;
  }
}
