 /*-------------------------------------customizable styles*/
 body {
     background-color: #ffffff;
 }

 header nav {
     background: -webkit-linear-gradient(left top, #333333, #777777);
     /* For Safari 5.1 to 6.0 */
     background: -o-linear-gradient(bottom right, #333333, #777777);
     /* For Opera 11.1 to 12.0 */
     background: -moz-linear-gradient(bottom right, #333333, #777777);
     /* For Firefox 3.6 to 15 */
     /*background: linear-gradient(to bottom right, #333333 , #777777); /* Standard syntax */

     background: linear-gradient(to bottom right, #34485d, #34485d);
 }

 header nav a,
 header nav a:visited {
     color: #ffffff;
     text-shadow: 1px 1px 1px #000000;
 }

 header nav li.current a,
 header nav li.current a:visited,
 header nav a:hover {
     color: #fbf9ef;
     text-shadow: 1px 1px 3px #000000;
 }

 footer {
     color: #333333;
 }

 /*---------course outline styles----------*/
 .box_title {
     background: -webkit-linear-gradient(left top, #333333, #777777);
     /* For Safari 5.1 to 6.0 */
     background: -o-linear-gradient(bottom right, #333333, #777777);
     /* For Opera 11.1 to 12.0 */
     background: -moz-linear-gradient(bottom right, #333333, #777777);
     /* For Firefox 3.6 to 15 */
     background: linear-gradient(to bottom right, #333333, #777777);
     /* Standard syntax */
 }

 .bgcolorft {
     background: #34485d;
 }

 p.rightside-content {
     color: #fff;
 }

 p.rightside-content {
     color: #fff;
     text-align: center;
     font-size: 18px;
 }

 div.two-column-right,
 div.two-column-right-course {
     /*    width: 48.12500000%;*/
     width: 100%;
     padding: 1.2rem 1.25000000% 1.2rem 0;
 }

 .registerpage_heading {
     text-align: center;
     color: #000;
     font-weight: 600;
     margin-top: 2%;
 }

 div.two-column-left,
 div.two-column-left-course {
     float: left;
     width: 100%;
     padding: 1.2rem 1.25000000%;
 }

 .regular-box {
     padding: 2rem 1.3rem;
     margin-bottom: 1.2rem;
     border-radius: 1.6rem;
     -webkit-border-radius: 1.6rem;
     -moz-border-radius: 1.6rem;
     box-shadow: 0 6px 15px #7c8084;
 }

 label {
     float: unset;
     width: 12rem;
     padding: 0.8rem 0.6rem 0.5rem 0;
     font-size: 1.3rem;
     text-align: right;
 }

 span.required_star_css {
     font-size: 18px;
     color: #cb1414;
     font-weight: 700;
 }

 .tagline_css {
     margin: 0 0 1rem 0;
     padding: 0.5rem;
     background-color: #eaeaea;
 }

 button.col-md-12.btn.btn-info.btn-lg.register_btn_design {
     border-radius: 10px;
     color: #fff;
     font-size: 19px;
     background: #34485d;
     border: none;
 }

 .formerror {
     color: #8c0000;
     text-align: revert;
     padding-bottom: 0;
 }

 .light-green {
     background-color: #34485d;
     color: #fff;
 }

 .textheadingcolor {
     font-size: 18px;
     text-align: center;
 }

 .genderset_css {
     position: relative;
     left: 0%;
     /* top: 366%; */
     margin-top: -10px;
 }

 li.parsley-required {
     list-style: none;
     color: red;
 }

 /* ── Schedule Section (Homepage) ────────────────────────────────────── */
 .schedule-wrapper {
     max-width: 980px;
     margin: 32px auto 40px;
     padding: 0 16px;
 }

 /* Date header card */
 .schedule-date-card {
     background: #fff;
     border: 1px solid #dde1e7;
     border-radius: 6px;
     padding: 18px 24px 14px;
     margin-bottom: 6px;
 }

 .schedule-date-card .date-text {
     font-size: 14px;
     color: #5a6070;
     margin: 0;
     font-family: 'Roboto', sans-serif;
 }

 /* Table card */
 .schedule-table-card {
     background: #fff;
     border: 1px solid #dde1e7;
     border-radius: 6px;
     overflow: hidden;
     margin-top: 18px;
 }

 .schedule-table-card table {
     width: 100%;
     border-collapse: collapse;
     margin: 0;
 }

 .schedule-table-card thead th {
     background: #fff;
     border-bottom: 2px solid #dde1e7;
     border-right: 1px solid #dde1e7;
     padding: 13px 18px;
     font-size: 13.5px;
     font-weight: 700;
     color: #22282f;
     text-align: center;
     font-family: 'Roboto', sans-serif;
 }

 .schedule-table-card thead th:last-child {
     border-right: none;
 }

 .schedule-table-card tbody tr {
     border-bottom: 1px solid #e8ebef;
 }

 .schedule-table-card tbody tr:last-child {
     border-bottom: none;
 }

 .schedule-table-card tbody td {
     padding: 15px 18px;
     text-align: center;
     font-family: 'Roboto', sans-serif;
     font-size: 13.5px;
     color: #22282f;
     border-right: 1px solid #e8ebef;
     vertical-align: middle;
 }

 .schedule-table-card tbody td:last-child {
     border-right: none;
 }

 /* Time cell — bold */
 .time-cell {
     font-weight: 700;
     color: #22282f;
 }

 /* Instructor name — teal link look */
 .instructor-name {
     color: #1a73a7;
     font-weight: 400;
 }

 /* "Schedule a Lesson" oval button */
 .btn-schedule {
     display: inline-block;
     background: #34485d;
     color: #ffffff !important;
     font-weight: 600;
     font-size: 13px;
     font-family: 'Roboto', sans-serif;
     padding: 9px 22px;
     border-radius: 50px;
     border: none;
     cursor: pointer;
     text-decoration: none;
     white-space: nowrap;
     transition: background 0.2s ease, transform 0.1s ease;
     box-shadow: 0 2px 6px rgba(52, 72, 93, 0.30);
 }

 .btn-schedule:hover,
 .btn-schedule:focus {
     background: #263545;
     color: #fff !important;
     text-decoration: none;
     transform: translateY(-1px);
     box-shadow: 0 4px 10px rgba(52, 72, 93, 0.40);
 }

 /* Empty state */
 .schedule-empty {
     text-align: center;
     padding: 32px 18px;
     color: #888;
     font-size: 14px;
     font-family: 'Roboto', sans-serif;
 }

 /* ════════════════════════════════════════════════════════════════════
   Booking / Schedule-a-Lesson Page
   ════════════════════════════════════════════════════════════════════ */

 .booking-page-wrapper {
     max-width: 860px;
     margin: 32px auto 60px;
     padding: 0 16px;
     font-family: 'Roboto', sans-serif;
 }

 /* ── Critical: override main.css "form { display: inline }" and
    fixed-width input/label rules using the form's own ID ────────── */
 #scheduleForm, #loginForm {
     display: block !important;
 }
 #scheduleForm .booking-form-row {
     display: flex !important;
     flex-wrap: nowrap;
     gap: 20px;
     margin-bottom: 20px;
     align-items: flex-start;
 }
 #scheduleForm .booking-form-group {
     flex: 1 1 0 !important;
     min-width: 0 !important;
     display: flex !important;
     flex-direction: column;
     gap: 7px;
 }
 #scheduleForm .booking-full-width {
     flex: 1 1 100% !important;
 }
 /* Override main.css: label { float:left; width:12rem; text-align:right } */
 #scheduleForm label, #loginForm label {
     float: none !important;
     width: auto !important;
     padding: 0 !important;
     font-size: 13px !important;
     font-weight: 600 !important;
     color: #3a4252 !important;
     text-align: left !important;
     display: block !important;
     line-height: 1.5;
 }
 /* Override main.css: input[type=text] { width:23.5rem; height:2.4rem } */
 #full_name,
 #email,
 #contact_number,
 #address,
 #city,
 #password {
     display: block !important;
     width: 100% !important;
     box-sizing: border-box !important;
     height: auto !important;
     margin: 0 !important;
     padding: 10px 14px !important;
     border: 1px solid #cdd3db !important;
     border-radius: 6px !important;
     font-size: 13.5px !important;
     font-family: 'Roboto', sans-serif !important;
     color: #22282f !important;
     background: #fff !important;
     box-shadow: none !important;
     outline: none;
     transition: border-color 0.2s ease, box-shadow 0.2s ease;
 }
 #full_name:focus,
 #email:focus,
 #contact_number:focus,
 #address:focus,
 #city:focus,
 #password:focus {
     border-color: #34485d !important;
     box-shadow: 0 0 0 3px rgba(52,72,93,0.12) !important;
 }


 /* ── Heading Card ─────────────────────────────────────────────────── */
 .booking-heading-card {
     background: #34485d;
     border-radius: 8px;
     padding: 36px 40px 30px;
     margin-bottom: 28px;
     color: #fff;
     text-align: center;
 }

 .booking-heading-title {
     margin: 0 0 10px;
     font-size: 26px;
     font-weight: 700;
     letter-spacing: 0.4px;
     line-height: 1.3;
     color: #ffffff;
     font-family: 'Roboto', sans-serif;
 }

 .booking-heading-sub {
     margin: 0;
     font-size: 15px;
     color: rgba(255, 255, 255, 0.78);
     line-height: 1.6;
     font-weight: 400;
     font-family: 'Roboto', sans-serif;
     letter-spacing: 0.2px;
 }

 /* ── Alert Banners ────────────────────────────────────────────────── */
 .booking-alert {
     display: flex;
     align-items: flex-start;
     gap: 12px;
     padding: 14px 20px;
     border-radius: 6px;
     margin-bottom: 20px;
     font-size: 14px;
     line-height: 1.5;
 }

 .booking-alert-success {
     background: #e8f5e9;
     border: 1px solid #a5d6a7;
     color: #2e7d32;
 }

 .booking-alert-error {
     background: #fce4ec;
     border: 1px solid #f48fb1;
     color: #b71c1c;
 }

 .booking-alert-icon {
     font-size: 18px;
     flex-shrink: 0;
     margin-top: 1px;
 }

 .booking-error-list {
     margin: 0;
     padding: 0 0 0 16px;
 }

 .booking-error-list li {
     margin-bottom: 2px;
 }

 /* ── Section Cards ────────────────────────────────────────────────── */
 .booking-card {
     background: #fff;
     border: 1px solid #dde1e7;
     border-radius: 8px;
     margin-bottom: 22px;
     overflow: hidden;
 }

 .booking-card-header {
     background: #f5f6f8;
     border-bottom: 1px solid #dde1e7;
     padding: 14px 24px;
     font-size: 14px;
     font-weight: 700;
     color: #34485d;
     display: flex;
     align-items: center;
     gap: 10px;
     letter-spacing: 0.2px;
 }

 .booking-card-icon {
     font-size: 17px;
 }

 .booking-card-body {
     padding: 24px;
 }

 /* ── Form Layout ──────────────────────────────────────────────────── */
 .booking-page-wrapper .booking-form-row {
     display: flex;
     gap: 20px;
     margin-bottom: 20px;
     align-items: flex-start;
 }

 .booking-page-wrapper .booking-form-row:last-child {
     margin-bottom: 0;
 }

 .booking-page-wrapper .booking-form-group {
     flex: 1 1 0;
     min-width: 0;
     display: flex;
     flex-direction: column;
     gap: 7px;
 }

 .booking-page-wrapper .booking-full-width {
     flex: 1 1 100%;
 }

 /* Override global label { width: 12rem; text-align: right } */
 .booking-page-wrapper .booking-form-group label {
     font-size: 13px !important;
     font-weight: 600 !important;
     color: #3a4252 !important;
     float: none !important;
     width: auto !important;
     padding: 0 !important;
     text-align: left !important;
     display: block !important;
     line-height: 1.5;
 }

 .req {
     color: #c0392b;
 }

 /* Override global input fixed-width from main.css */
 .booking-page-wrapper .booking-input,
 .booking-page-wrapper input.booking-input[type="text"],
 .booking-page-wrapper input.booking-input[type="email"],
 .booking-page-wrapper input.booking-input[type="tel"] {
     display: block !important;
     width: 100% !important;
     box-sizing: border-box !important;
     margin: 0 !important;
     border: 1px solid #cdd3db;
     border-radius: 6px;
     padding: 10px 14px;
     font-size: 13.5px;
     color: #22282f;
     font-family: 'Roboto', sans-serif;
     transition: border-color 0.2s ease, box-shadow 0.2s ease;
     outline: none;
     background: #fff;
 }

 .booking-page-wrapper .booking-input:focus {
     border-color: #34485d !important;
     box-shadow: 0 0 0 3px rgba(52, 72, 93, 0.12);
 }

 .booking-page-wrapper .booking-input.is-invalid {
     border-color: #e74c3c !important;
 }

 .field-error {
     font-size: 12px;
     color: #c0392b;
 }

 /* ── Slot Date Tabs ───────────────────────────────────────────────── */
 .booking-slot-label {
     font-size: 13.5px;
     font-weight: 600;
     color: #3a4252;
     margin: 0 0 14px;
 }

 .slot-date-tabs {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin-bottom: 20px;
 }

 .slot-date-tab {
     background: #f0f2f5;
     border: 1px solid #d0d5dd;
     border-radius: 30px;
     padding: 8px 20px;
     font-size: 13px;
     font-weight: 600;
     color: #4a5568;
     cursor: pointer;
     font-family: 'Roboto', sans-serif;
     transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
 }

 .slot-date-tab:hover {
     background: #e2e8f0;
 }

 .slot-date-tab.active {
     background: #34485d;
     border-color: #34485d;
     color: #fff;
 }

 /* ── Time Panel & Grid ────────────────────────────────────────────── */
 .slot-time-panel {
     display: none;
 }

 .slot-time-panel.active {
     display: block;
 }

 .slot-time-grid {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
 }

 /* ── Individual Time Card ─────────────────────────────────────────── */
 .slot-time-card {
     display: flex;
     align-items: center;
     border: 2px solid #dde1e7;
     border-radius: 8px;
     padding: 0;
     cursor: pointer;
     transition: border-color 0.18s ease, box-shadow 0.18s ease;
     min-width: 190px;
     flex: 1 1 190px;
     max-width: 260px;
 }

 .slot-time-card:hover {
     border-color: #34485d;
 }

 .slot-time-card.selected {
     border-color: #34485d;
     box-shadow: 0 0 0 3px rgba(52, 72, 93, 0.15);
     background: #f0f4f8;
 }

 .slot-radio {
     display: none;
 }

 .slot-time-card-inner {
     display: flex;
     flex-direction: column;
     gap: 4px;
     padding: 14px 18px;
     width: 100%;
 }

 .slot-time-range {
     font-size: 14px;
     font-weight: 700;
     color: #22282f;
     font-family: 'Roboto', sans-serif;
 }

 .slot-instructor {
     font-size: 12px;
     color: #1a73a7;
     font-weight: 400;
 }

 .booking-no-slots {
     text-align: center;
     color: #888;
     font-size: 14px;
     padding: 20px 0;
 }

 /* ── Submit Row ───────────────────────────────────────────────────── */
 .booking-submit-row {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-top: 16px;
     margin-bottom: 48px;
     padding-bottom: 16px;
 }

 .btn-book-submit {
     display: inline-block;
     background: #34485d;
     color: #fff;
     font-weight: 600;
     font-size: 14px;
     font-family: 'Roboto', sans-serif;
     padding: 11px 32px;
     border-radius: 50px;
     border: none;
     cursor: pointer;
     text-decoration: none;
     transition: background 0.2s ease, transform 0.1s ease;
     box-shadow: 0 2px 8px rgba(52, 72, 93, 0.30);
 }

 .btn-book-submit:hover {
     background: #263545;
     transform: translateY(-1px);
     box-shadow: 0 4px 12px rgba(52, 72, 93, 0.40);
 }

 .btn-book-cancel {
     font-size: 13.5px;
     color: #6b7280;
     text-decoration: none;
     font-family: 'Roboto', sans-serif;
     transition: color 0.15s ease;
 }

 .btn-book-cancel:hover {
     color: #34485d;
     text-decoration: underline;
 }

 /* ── Responsive ───────────────────────────────────────────────────── */
 @media (max-width: 600px) {
     .booking-page-wrapper .booking-form-row {
         flex-direction: column;
         gap: 14px;
     }

     .slot-time-card {
         min-width: 100%;
         max-width: 100%;
     }

     .booking-heading-card {
         padding: 20px 18px;
     }

     .booking-card-body {
         padding: 18px;
     }
 }

  /* ── Redesigned Header Navigation ── */
  header nav#top-navigation {
      height: 52px !important;
      width: 100% !important;
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      z-index: 2000 !important;
      background: linear-gradient(135deg, #34485d, #2c3e50) !important;
      box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 !important;
  }

  .nav-flex-container {
      width: 95% !important;
      max-width: 1100px !important;
      margin: 0 auto !important;
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      position: relative !important;
  }

  .nav-brand-left {
      display: flex !important;
      align-items: center !important;
  }

  .nav-home-link {
      color: #ffffff !important;
      text-decoration: none !important;
      font-size: 13.5px !important;
      font-weight: 700 !important;
      display: flex !important;
      align-items: center !important;
      gap: 6px !important;
      text-shadow: none !important;
      transition: color 0.2s ease !important;
  }

  .nav-home-link:hover {
      color: #3498db !important;
      text-decoration: none !important;
  }

  .nav-home-link i {
      font-size: 15px !important;
  }

  .nav-menu-toggle {
      display: none !important;
      background: none !important;
      border: none !important;
      color: #ffffff !important;
      font-size: 20px !important;
      cursor: pointer !important;
      padding: 8px !important;
      outline: none !important;
      transition: color 0.2s ease !important;
  }

  .nav-menu-toggle:hover {
      color: #3498db !important;
  }

  .nav-links-right {
      display: flex !important;
      align-items: center !important;
      gap: 15px !important;
  }

  .nav-item-link {
      color: #ffffff !important;
      text-decoration: none !important;
      font-size: 13.5px !important;
      font-weight: 600 !important;
      display: flex !important;
      align-items: center !important;
      gap: 6px !important;
      text-shadow: none !important;
      padding: 6px 14px !important;
      border-radius: 30px !important;
      transition: all 0.2s ease !important;
      background: rgba(255, 255, 255, 0.08) !important;
  }

  .nav-item-link:hover {
      color: #ffffff !important;
      background: rgba(255, 255, 255, 0.18) !important;
      text-decoration: none !important;
  }

  .nav-item-link.active {
      background: #3498db !important;
      color: #ffffff !important;
  }

  .nav-item-logout {
      background: rgba(231, 76, 60, 0.15) !important;
      border: 1px solid rgba(231, 76, 60, 0.4) !important;
      color: #ff7675 !important;
  }

  .nav-item-logout:hover {
      background: rgba(231, 76, 60, 0.3) !important;
      color: #ffffff !important;
      border-color: rgba(231, 76, 60, 0.8) !important;
  }

  #school-header-container {
      margin-top: 52px !important;
  }

  /* ── Mobile Navigation Responsive Styles ── */
  @media (max-width: 768px) {
      .nav-menu-toggle {
          display: block !important;
      }

      .nav-links-right {
          display: none !important;
          flex-direction: column !important;
          position: absolute !important;
          top: 45px !important;
          right: 0 !important;
          width: 200px !important;
          background: #2c3e50 !important;
          border-radius: 8px !important;
          box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
          padding: 12px 10px !important;
          gap: 10px !important;
          z-index: 2001 !important;
          border: 1px solid rgba(255,255,255,0.08) !important;
      }

      .nav-links-right.open {
          display: flex !important;
          animation: navSlideDown 0.22s ease forwards !important;
      }

      .nav-item-link {
          width: 100% !important;
          padding: 10px 14px !important;
          box-sizing: border-box !important;
          border-radius: 6px !important;
          justify-content: flex-start !important;
      }
  }

  @keyframes navSlideDown {
      from {
          opacity: 0;
          transform: translateY(-8px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* ── My Bookings Page Styles ── */
  .my-bookings-container {
      max-width: 960px;
      margin: 40px auto 60px;
  }

  .my-bookings-heading {
      margin-bottom: 30px;
  }

  .my-bookings-alert {
      margin-bottom: 25px;
  }

  .my-bookings-card-body {
      padding: 0 !important;
  }

  .my-bookings-empty {
      text-align: center;
      padding: 48px 24px;
      color: #6b7280;
  }

  .my-bookings-empty-icon {
      font-size: 40px;
      display: block;
      margin-bottom: 12px;
  }

  .my-bookings-empty-text {
      margin: 0;
      font-size: 15px;
      font-weight: 500;
  }

  .my-bookings-empty-btn {
      margin-top: 16px;
      display: inline-block;
  }

  .my-bookings-table {
      width: 100%;
      border-collapse: collapse;
      margin: 0;
      min-width: 600px;
  }

  .my-bookings-table thead tr {
      background: #f8fafc;
      border-bottom: 1px solid #dde1e7;
  }

  .my-bookings-table th {
      padding: 14px 18px;
      text-align: left;
      font-size: 13px;
      font-weight: 700;
      color: #34485d;
      border-right: 1px solid #dde1e7;
      font-family: 'Roboto', sans-serif;
  }

  .my-bookings-table th:last-child {
      border-right: none;
  }

  .my-bookings-table tbody tr {
      border-bottom: 1px solid #e8ebef;
  }

  .my-bookings-table td {
      padding: 14px 18px;
      font-size: 13.5px;
      color: #22282f;
      border-right: 1px solid #e8ebef;
      font-family: 'Roboto', sans-serif;
  }

  .my-bookings-table td:last-child {
      border-right: none;
      color: #64748b;
  }

  .my-bookings-table-instructor-cell {
      font-weight: 500;
  }

  .my-bookings-instructor-name {
      color: #1a73a7;
  }

  .my-bookings-unassigned {
      color: #94a3b8;
      font-style: italic;
  }

  .my-bookings-time-text {
      font-weight: 600;
  }

  .my-bookings-badge {
      padding: 4px 10px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 600;
      display: inline-block;
  }

  .my-bookings-badge-confirmed {
      background: #e8f5e9;
      color: #2e7d32;
      border: 1px solid #a5d6a7;
  }

  .my-bookings-badge-pending {
      background: #fff3e0;
      color: #ef6c00;
      border: 1px solid #ffe0b2;
  }

  .my-bookings-footer-row {
      margin-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .my-bookings-btn-link {
      font-weight: 500;
  }

  .my-bookings-btn-signout {
      color: #b71c1c !important;
      font-weight: 500;
  }

  /* ── Student Login Page Styles ── */
  .login-container {
      max-width: 500px;
      margin: 60px auto;
  }

  .login-form-group-email {
      margin-bottom: 20px;
  }

  .login-form-group-password {
      margin-bottom: 24px;
  }

  .login-form-label {
      font-weight: 600;
      display: block;
      margin-bottom: 8px;
  }

  .login-submit-container {
      text-align: center;
  }

  .login-submit-btn {
      width: 100% !important;
      padding: 12px !important;
      font-size: 15px !important;
  }

  .login-back-container {
      text-align: center;
      margin-top: 20px;
  }

  .login-back-link {
      color: #34485d !important;
      text-decoration: none !important;
      font-size: 13.5px;
  }

  .login-back-link:hover {
      text-decoration: underline !important;
  }