/* style.css */

/* ---------- RESET ---------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f6f6f6;
}
.webborder {
  background:#00244E;
  display: flex;
}

.school-primary {
  color: white;
  word-spacing: 0.05;
  padding-left: 5px;
  padding-right: none;

}

.school-accent {
  color: #FF7900
}
/* ---------- PAGE SYSTEM ---------- */
.page {
  display: none;
  min-height: 92.9vh;
  padding: 40px;
  box-sizing: border-box;
}

.page.active {
  display: flex;
}

/* ---------- INTRO ---------- */
#step-intro {
  background: #0054b5;
  background: linear-gradient(0deg,rgba(0, 84, 181, 1) 0%, rgba(255, 139, 38, 1) 100%);
  color: white;
  text-align: center;
  flex-direction: column;     /* stack text vertically */
}

#step-intro.page.active {
  justify-content: center;
  align-items: center;
  text-align: center;
}

#step-intro h1 {
  font-size: 36px;
  font-weight: 300;
  font-family: "Playfair Display", serif;
}

#step-intro h3 {
    font-size: 12px
}

/* ---------- CONTROL PANELS ---------- */
#controls {
  display: flex;
  gap: 20px;
}

.card {
  border-radius: 10px;
  padding: 15px;
  background: #f3f3f3;
  flex: 1;
  cursor: pointer;
}

#filter-panel {
  flex: 1;
}

/* ---------- RESULTS ---------- */
#results {
  display: flex;
  gap: 20px;
}

#open-classes-panel,
#schedule-panel {
  flex: 1;
  background: #f3f3f3;
  padding: 15px;
  border-radius: 10px;
}

/* ---------- NAV BUTTONS ---------- */
.nav-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.next-button {
  background: #00274C;
  color: white;
  cursor: pointer;
}

.back-button {
  background: #cfcfcf;
}

/* ---------- TIME PICKER ---------- */
.time-picker {
  position: relative;
  width: 140px;
  height: 160px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.time-list {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  padding: 60px 0;
  box-sizing: border-box;
}

.time-item {
  scroll-snap-align: center;
  text-align: center;
  padding: 5px;
  font-size: 14px;
}

.time-picker-overlay {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 30px;
  margin-top: -15px;
  border-top: 2px solid #00274C;
  border-bottom: 2px solid #00274C;
  background: rgba(0, 0, 0, 0.05);
}