/* ===== رصيف طلاب ===== */

.students-page { overflow-x: hidden; }

/* Hero */
.stu-hero {
  position: relative;
  padding: 130px 0 70px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 85%, rgba(240,255,0,.16), transparent 30%),
    linear-gradient(120deg, #2a0a4a 0%, #481078 55%, #7025a7 100%);
  overflow: hidden;
}

[data-theme=dark] .stu-hero {
  background:
    radial-gradient(circle at 12% 85%, rgba(240,255,0,.10), transparent 30%),
    linear-gradient(120deg, #170a2b 0%, #24103f 60%, #2f1452 100%);
}

.stu-hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: -120px; top: -160px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 85px rgba(255,255,255,.02);
  pointer-events: none;
}

.stu-hero-inner { position: relative; z-index: 1; max-width: 680px; }

.stu-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; margin-bottom: 18px;
  border: 1px solid rgba(240,255,0,.3);
  border-radius: 30px;
  background: rgba(240,255,0,.1);
  color: #f0ff00;
  font-size: .85rem; font-weight: 800;
}

.stu-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 900; line-height: 1.45; color: #fff;
}
.stu-hero h1 span { color: #f0ff00; }

.stu-hero p {
  max-width: 560px; margin: 0 0 26px;
  color: rgba(255,255,255,.82);
  font-size: 1rem; line-height: 1.9;
}

.stu-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }

.stu-btn-main {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 50px; border: 0;
  background: #f0ff00; color: #1b0733;
  font-weight: 900;
}
.stu-btn-main:hover { background: #fff; color: #1b0733; transform: translateY(-2px); }

.stu-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.stu-link:hover { color: #f0ff00; }

.stu-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.stu-chips span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 30px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .78rem; font-weight: 700; color: #fff;
}
.stu-chips i { color: #f0ff00; }

/* Active subscription banner */
.stu-active {
  display: flex; align-items: center; gap: 14px;
  margin-top: -28px; position: relative; z-index: 2;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--teal);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(40,10,70,.12);
}
.stu-active > i { font-size: 1.8rem; color: var(--teal); }
.stu-active > div { flex: 1; min-width: 0; }
.stu-active b { display: block; color: var(--navy); font-size: .98rem; }
.stu-active small { color: var(--muted); font-size: .8rem; }
.stu-active .btn { border-radius: 50px; background: var(--teal); color: var(--on-teal); font-weight: 800; white-space: nowrap; }

/* Plans */
.stu-plans { padding-top: 70px; }

.stu-cycle {
  display: flex; width: fit-content; max-width: 100%;
  margin: 28px auto 40px; padding: 5px;
  background: var(--soft2);
  border: 1px solid var(--line);
  border-radius: 50px;
}
.stu-cycle button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 8px 26px;
  border: 0; border-radius: 50px;
  background: transparent; color: var(--muted);
  font-family: inherit; font-weight: 800; font-size: .95rem;
  cursor: pointer; transition: .2s;
}
.stu-cycle button.active { background: var(--teal); color: var(--on-teal); box-shadow: 0 6px 16px rgba(153,0,255,.25); }
.stu-save {
  padding: 2px 9px; border-radius: 20px;
  background: #f0ff00; color: #1b0733;
  font-size: .68rem; font-weight: 900;
}

.stu-plan {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: .25s;
}
.stu-plan:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(40,10,70,.1); }
.stu-plan.featured { border: 2px solid var(--teal); box-shadow: 0 18px 50px rgba(153,0,255,.15); }

.stu-ribbon {
  position: absolute; top: -14px; right: 24px;
  padding: 4px 14px; border-radius: 20px;
  background: var(--teal); color: var(--on-teal);
  font-size: .72rem; font-weight: 900;
}

.stu-plan-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.stu-plan-head h3 { margin: 0; font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.stu-plan-head small { color: var(--muted); font-size: .8rem; }
.stu-plan-icon {
  width: 48px; height: 48px; flex: 0 0 48px;
  display: grid; place-items: center;
  border-radius: 15px; background: var(--tint); color: var(--teal); font-size: 1.4rem;
}

.stu-price { display: flex; align-items: baseline; gap: 8px; }
.stu-price strong { font-size: 2.6rem; font-weight: 900; color: var(--navy); line-height: 1.2; }
.stu-price span { color: var(--muted); font-size: .9rem; font-weight: 700; }
.stu-price-sub { margin-top: 2px; color: var(--muted); font-size: .8rem; min-height: 1.3em; }
.stu-price-sub s { margin-inline-start: 5px; opacity: .7; }

.stu-features { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.stu-features li { display: flex; gap: 9px; padding: 8px 0; font-size: .88rem; color: var(--ink); line-height: 1.6; }
.stu-features li i { color: var(--teal); margin-top: 3px; }
.stu-features li.off { color: var(--muted); }
.stu-features li.off i { color: var(--faint); }

.stu-plan-btn {
  width: 100%; min-height: 50px; border-radius: 50px; border: 1px solid var(--teal);
  background: transparent; color: var(--teal);
  font-weight: 900; font-family: inherit; transition: .2s;
}
.stu-plan.featured .stu-plan-btn, .stu-plan-btn:hover { background: var(--teal); color: var(--on-teal); }
.stu-plan-btn:disabled { opacity: .55; cursor: default; background: var(--soft2); color: var(--muted); border-color: var(--line); }

.stu-fine { margin: 28px auto 0; max-width: 640px; text-align: center; color: var(--muted); font-size: .82rem; line-height: 1.8; }

/* Benefits */
.stu-benefits { background: var(--soft); }
.stu-benefit {
  height: 100%; padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
}
.stu-benefit-icon {
  width: 52px; height: 52px; margin-bottom: 16px;
  display: grid; place-items: center;
  border-radius: 16px; background: var(--tint); color: var(--teal); font-size: 1.4rem;
}
.stu-benefit h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.stu-benefit p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }

/* FAQ */
.stu-accordion { max-width: 760px; margin: 30px auto 0; }
.stu-accordion .accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; }
.stu-accordion .accordion-button { background: transparent; color: var(--navy); font-weight: 800; font-family: inherit; padding: 18px 20px; box-shadow: none; }
.stu-accordion .accordion-button:not(.collapsed) { color: var(--teal); }
.stu-accordion .accordion-body { color: var(--muted); line-height: 1.9; font-size: .9rem; padding-top: 0; }

/* Modal */
.stu-modal .modal-content { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; }
.stu-modal .modal-header, .stu-modal .modal-footer { border-color: var(--line); }
.stu-modal .modal-title { font-size: 1.15rem; font-weight: 900; color: var(--navy); }
.stu-modal .form-control { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft2); color: var(--ink); font-family: inherit; }
.stu-modal .form-control:focus { border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 3px rgba(153,0,255,.12); }
.stu-modal .form-label { font-weight: 800; font-size: .88rem; }
.stu-modal .form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.stu-modal .btn { min-height: 46px; border-radius: 50px; font-weight: 800; padding-inline: 24px; }
.stu-modal .btn-primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.stu-modal .btn-light { background: var(--soft2); border-color: var(--line); color: var(--ink); }

.stu-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.stu-summary > div { flex: 1; min-width: 130px; padding: 12px 15px; border-radius: 14px; background: var(--tint); }
.stu-summary small { display: block; color: var(--muted); font-size: .75rem; }
.stu-summary b { color: var(--navy); font-size: 1rem; }
.stu-replace { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .8rem; }

.stu-demo-note { display: flex; gap: 8px; padding: 11px 14px; border-radius: 12px; background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-fg); font-size: .78rem; line-height: 1.7; }

/* Student bits inside results / dashboard */
.result-old-price { margin-inline-start: 6px; font-size: .75rem; font-weight: 700; color: var(--muted); }
.result-student-tag { margin-top: 3px; color: var(--teal); font-size: .72rem; font-weight: 800; }
.result-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 12px; padding: 11px 14px;
  border-radius: 12px; background: var(--soft2); border: 1px solid var(--line);
  color: var(--muted); font-size: .78rem; line-height: 1.7;
}
.result-note i { margin-top: 3px; color: var(--teal); }
a.result-note-student { color: var(--ink); }
a.result-note-student:hover { border-color: var(--teal); }

@media (max-width: 767px) {
  .stu-hero { padding: 104px 0 52px; }
  .stu-hero p { font-size: .92rem; }
  .stu-hero-actions { gap: 16px; }
  .stu-btn-main { width: 100%; justify-content: center; min-height: 52px; }
  .stu-chips span { font-size: .72rem; }
  .stu-active { margin-top: -22px; padding: 14px; gap: 11px; flex-wrap: wrap; }
  .stu-active .btn { width: 100%; min-height: 44px; display: grid; place-items: center; }
  .stu-plans { padding-top: 50px; }
  .stu-cycle { width: 100%; margin: 22px 0 32px; }
  .stu-cycle button { flex: 1; justify-content: center; padding-inline: 12px; }
  .stu-price strong { font-size: 2.3rem; }
  .stu-modal .modal-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .stu-modal .modal-footer .btn { margin: 0; width: 100%; }
}

/* ===== بانر رصيف طلاب في الصفحة الرئيسية ===== */
.home-student { padding-top: 10px; }
.student-promo {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 44px 48px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 5% 100%, rgba(240,255,0,.18), transparent 35%),
    linear-gradient(120deg, #2a0a4a, #5b1a94);
  color: #fff;
}
[data-theme=dark] .student-promo { background: radial-gradient(circle at 5% 100%, rgba(240,255,0,.10), transparent 35%), linear-gradient(120deg, #1d1230, #35175c); border: 1px solid var(--line); }
.student-promo h2 { color: #fff; font-weight: 900; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 8px 0 10px; }
.student-promo p { color: rgba(255,255,255,.82); max-width: 520px; line-height: 1.9; margin-bottom: 14px; }
.student-promo .kicker.light { color: #f0ff00; }
.student-promo-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; font-weight: 700; }
.student-promo-list i { color: #f0ff00; margin-inline-end: 4px; }
.student-promo-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px; background: #f0ff00; color: #1b0733; font-weight: 900; border: 0; }
.student-promo-btn:hover { background: #fff; color: #1b0733; }
.student-promo-price {
  flex: 0 0 auto; text-align: center; padding: 24px 34px;
  border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
}
.student-promo-price small, .student-promo-price > span { display: block; color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 700; }
.student-promo-price strong { display: block; font-size: 2.8rem; font-weight: 900; line-height: 1.25; color: #f0ff00; }
.student-promo-price em { font-style: normal; font-size: 1rem; }
.nav-student i { color: var(--teal); }

@media (max-width: 767px) {
  .student-promo { flex-direction: column; align-items: stretch; padding: 28px 22px; gap: 22px; border-radius: 22px; }
  .student-promo-btn { width: 100%; justify-content: center; min-height: 52px; }
  .student-promo-price { padding: 16px; display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
  .student-promo-price strong { display: inline; font-size: 2rem; }
}

/* ===== كارت الاشتراك في لوحة الراكب ===== */
.stu-sub-card {
  position: relative; overflow: hidden;
  margin-bottom: 25px; padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.stu-sub-card.active { border-color: var(--teal); background: linear-gradient(135deg, var(--tint), var(--surface) 70%); }
.stu-sub-head { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.stu-sub-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 15px; background: var(--teal); color: var(--on-teal); font-size: 1.3rem; }
.stu-sub-head h2 { margin: 0; font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.stu-sub-head small { display: block; color: var(--muted); font-size: .78rem; }
.stu-sub-head > div { flex: 1; min-width: 160px; }
.stu-sub-bar { height: 10px; margin: 18px 0 8px; border-radius: 10px; background: var(--soft2); overflow: hidden; }
.stu-sub-bar span { display: block; height: 100%; border-radius: 10px; background: var(--teal); transition: width .4s; }
.stu-sub-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.stu-sub-meta b { color: var(--navy); }
.stu-sub-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.stu-sub-actions .btn { min-height: 44px; border-radius: 50px; font-weight: 800; font-size: .85rem; padding-inline: 20px; }
.stu-sub-actions .btn-main { background: var(--teal); color: var(--on-teal); border: 1px solid var(--teal); }
.stu-sub-actions .btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.stu-sub-card.promo { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.stu-sub-card.promo > div { flex: 1; min-width: 180px; }
.stu-sub-card.promo h2 { margin: 0 0 3px; font-size: 1.05rem; font-weight: 900; color: var(--navy); }
.stu-sub-card.promo p { margin: 0; color: var(--muted); font-size: .82rem; }
.booking-saving { color: #12805c; }
[data-theme=dark] .booking-saving { color: #5fe0b0; }

@media (max-width: 575px) {
  .stu-sub-card { padding: 18px 16px; border-radius: 18px; }
  .stu-sub-actions .btn { flex: 1; text-align: center; }
  .stu-sub-card.promo .btn { width: 100%; min-height: 46px; display: grid; place-items: center; }
}

.nav-student i { margin-inline-end: 6px; }

/* ===== خطوات الطالب + لوحات التوثيق والمقاعد ===== */
.stu-flow { padding-top: 40px; padding-bottom: 10px; }

.stu-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.stu-step { display: flex; gap: 11px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stu-step b { display: block; font-size: .9rem; color: var(--navy); }
.stu-step small { color: var(--muted); font-size: .74rem; }
.stu-step-n { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--soft2); color: var(--muted); font-weight: 900; }
.stu-step.current { border-color: var(--teal); }
.stu-step.current .stu-step-n { background: var(--teal); color: var(--on-teal); }
.stu-step.done .stu-step-n { background: #12805c; color: #fff; }
.stu-step.locked { opacity: .6; }

.stu-panel { margin-bottom: 22px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.stu-panel[hidden] { display: none; }
.stu-panel-title { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.stu-panel-title i { color: var(--teal); }
.stu-panel .form-label { font-weight: 800; font-size: .85rem; }
.stu-panel .form-control, .stu-panel .form-select { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft2); color: var(--ink); font-family: inherit; }
.stu-panel .form-control:focus, .stu-panel .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(153,0,255,.12); }
.stu-hint { margin: 12px 0 16px; color: var(--muted); font-size: .78rem; }
.stu-alert { margin-bottom: 14px; padding: 11px 14px; border-radius: 12px; background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-fg); font-size: .85rem; }
.stu-state { text-align: center; padding: 14px 6px; }
.stu-state i { font-size: 2.2rem; color: var(--teal); }
.stu-state h3 { margin: 8px 0 6px; font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.stu-state p { margin: 0; color: var(--muted); font-size: .88rem; }

.stu-dir { margin: 0; width: 100%; }
.stu-dir button { flex: 1; justify-content: center; padding-inline: 10px; min-height: 44px; font-size: .85rem; }

.stu-seatmap-head { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 10px; font-size: .85rem; color: var(--navy); }
.stu-seatmap-head span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .75rem; }
.stu-seatmap-head i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-inline-start: 6px; }
.stu-seatmap-head .free { background: var(--tint); border: 1px solid var(--teal); }
.stu-seatmap-head .taken { background: var(--line); }
.stu-seatmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; min-height: 52px; }
.stu-seat { min-height: 48px; border-radius: 12px; border: 1px solid var(--teal); background: var(--tint); color: var(--navy); font-weight: 900; font-family: inherit; cursor: pointer; transition: .15s; }
.stu-seat:hover:not(:disabled) { background: var(--teal); color: var(--on-teal); }
.stu-seat.picked { background: var(--teal); color: var(--on-teal); box-shadow: 0 6px 14px rgba(153,0,255,.28); }
.stu-seat.taken { border-color: var(--line); background: var(--line); color: var(--faint); cursor: not-allowed; }

.stu-sub-title { margin: 26px 0 12px; font-size: .95rem; font-weight: 900; color: var(--navy); }
.stu-seat-list { display: grid; gap: 10px; }
.stu-seat-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft2); border: 1px solid var(--line); }
.stu-seat-item b { display: block; font-size: .88rem; color: var(--navy); }
.stu-seat-item small { color: var(--muted); font-size: .76rem; }
.stu-cancel { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 50px; min-height: 40px; padding-inline: 16px; font-weight: 800; }

@media (max-width: 767px) {
  .stu-steps { grid-template-columns: 1fr; gap: 8px; }
  .stu-panel { padding: 18px 16px; border-radius: 18px; }
  .stu-seatmap { grid-template-columns: repeat(5, 1fr); }
  .stu-seat-item { align-items: flex-start; }
}
