/* =========================================================
   CHAMPIONS OF THE FUTURE
   Complete Responsive CSS
   Theme: Black & Gold | Arabic RTL
========================================================= */

/* ===================== VARIABLES ===================== */

:root {
  --gold: #d6ad55;
  --gold-light: #f0d58e;
  --gold-dark: #a77b2d;

  --bg: #090909;
  --bg-secondary: #111111;
  --bg-card: #171717;
  --bg-soft: #202020;

  --text: #f5f5f5;
  --text-muted: #a8a8a8;

  --border: rgba(214, 173, 85, 0.18);
  --shadow: 0 15px 45px rgba(0, 0, 0, 0.35);

  --header-height: 82px;
  --container: 1200px;

  --radius: 16px;
  --transition: 0.3s ease;
}

[data-theme="light"] {
  --bg: #f7f7f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #eeeeea;

  --text: #171717;
  --text-muted: #666666;

  --border: rgba(167, 123, 45, 0.2);
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* ===================== RESET ===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Cairo", sans-serif;
  background:
    linear-gradient(rgba(9, 9, 9, 0.80), rgba(9, 9, 9, 0.88)),
    url("images/hero-bg.jpg") center center / cover no-repeat fixed;
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #111;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

section {
  position: relative;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 55px;
}

.section-header h2,
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 15px;
}

.section-header h2 span,
.section-title span {
  color: var(--gold);
}

.section-header p {
  color: var(--text-muted);
  font-size: 15px;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  background: rgba(214, 173, 85, 0.1);
  border: 1px solid var(--border);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 15px;
}

/* ===================== SCROLLBAR ===================== */

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ===================== TOP BAR ===================== */

.top-bar {
  background: #050505;
  color: #ddd;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(214, 173, 85, 0.12);
}

.top-bar .container,
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--gold-light);
  transition: var(--transition);
}

.top-bar a:hover {
  color: white;
}

.top-bar i {
  color: var(--gold);
  margin-left: 5px;
}

/* ===================== HEADER ===================== */

header,
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled,
#header.scrolled {
  box-shadow: var(--shadow);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.4;
}

.nav-links,
.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.mobile-menu-btn,
#themeToggle,
#mobileMenuBtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: var(--transition);
}

.theme-toggle:hover,
.mobile-menu-btn:hover,
#themeToggle:hover,
#mobileMenuBtn:hover {
  background: var(--gold);
  color: #111;
}

.mobile-menu-btn,
#mobileMenuBtn {
  display: none;
}

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 27px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  box-shadow: 0 7px 25px rgba(214, 173, 85, 0.18);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(214, 173, 85, 0.3);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-3px);
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px 80px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(214, 173, 85, 0.04));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.hero-tag {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 22px;
  background: rgba(214, 173, 85, 0.07);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.4;
  font-weight: 1000;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 650px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 50px;
}

.hero-stats-card {
  min-width: 140px;
  padding: 15px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  text-align: center;
}

.hero-stats-card strong,
.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.4;
}

.hero-stats-card span {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===================== ABOUT ===================== */

.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 15px -15px -15px 15px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--gold);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.about-feature i {
  color: var(--gold);
  font-size: 18px;
}

/* ===================== PROGRAMS ===================== */

.programs {
  background: var(--bg);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-9px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.program-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover img {
  transform: scale(1.06);
}

.program-card-content {
  padding: 22px;
}

.program-card h3 {
  color: var(--gold);
  font-size: 19px;
  margin-bottom: 10px;
}

.program-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.program-card a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

/* ===================== COACH ===================== */

.coach {
  background: var(--bg-secondary);
}

.coach-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
}

.coach-image {
  position: relative;
  max-width: 400px;
  margin: auto;
}

.coach-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid var(--gold);
}

.coach-content h2 {
  font-size: 35px;
  margin-bottom: 10px;
}

.coach-content h2 span {
  color: var(--gold);
}

.coach-title {
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 20px;
}

.coach-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.coach-belt {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 20px;
}

.coach-belt img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.coach-belt span {
  font-weight: 800;
  color: var(--gold);
}

/* ===================== ACHIEVEMENTS ===================== */

.achievements {
  background:
    linear-gradient(rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.94)),
    var(--bg-secondary);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.achievement-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(214, 173, 85, 0.2);
  border-radius: 15px;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.achievement-card i {
  font-size: 35px;
  color: var(--gold);
  margin-bottom: 15px;
}

.ac-number {
  display: block;
  font-size: 35px;
  font-weight: 900;
  color: var(--gold);
}

.achievement-card p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===================== SCHEDULE ===================== */

.schedule {
  background: var(--bg-secondary);
}

.schedule-table-wrapper {
  overflow-x: auto;
  border-radius: 15px;
  border: 1px solid var(--border);
}

.schedule table,
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: var(--bg-card);
}

.schedule th,
.schedule td,
.schedule-table th,
.schedule-table td {
  padding: 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.schedule th,
.schedule-table th {
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold);
  font-weight: 900;
}

.schedule td,
.schedule-table td {
  color: var(--text-muted);
  font-size: 14px;
}

.schedule tr:last-child td,
.schedule-table tr:last-child td {
  border-bottom: none;
}

/* ===================== VALUES ===================== */

.values {
  background: var(--bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 30px 25px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
}

.value-card i {
  font-size: 35px;
  color: var(--gold);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===================== CONTACT ===================== */

.contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.contact-item i {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #111;
  background: var(--gold);
  border-radius: 50%;
  font-size: 18px;
}

.contact-item h4 {
  font-size: 14px;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===================== REGISTRATION FORM ===================== */

.registration-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.registration-form h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.registration-form>p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea,
.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-secondary);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 173, 85, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-error {
  display: block;
  color: #ff6565;
  font-size: 11px;
  margin-top: 5px;
  min-height: 16px;
}

.is-invalid {
  border-color: #ff6565 !important;
}

.submit-btn,
#submitBtn {
  width: 100%;
  border: none;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  font-weight: 900;
  border-radius: 8px;
  transition: var(--transition);
}

.submit-btn:hover,
#submitBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 173, 85, 0.2);
}

/* ===================== MODAL ===================== */

.modal,
#successModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(7px);
}

.modal.show,
#successModal.show,
#successModal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(100%, 450px);
  padding: 40px 30px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: modalIn 0.35s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 173, 85, 0.15);
  color: var(--gold);
  border-radius: 50%;
  font-size: 30px;
}

.modal-content h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.modal-text,
.modal-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-close,
#modalClose {
  position: absolute;
  top: 12px;
  left: 15px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 25px;
}

.modal-close:hover,
#modalClose:hover {
  color: var(--gold);
}

/* ===================== MOBILE DRAWER ===================== */

.mobile-drawer,
#mobileDrawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1500;
  width: min(85%, 330px);
  height: 100vh;
  padding: 30px 25px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(110%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.mobile-drawer.is-open,
#mobileDrawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-overlay,
#drawerOverlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.is-open,
#drawerOverlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-close,
#drawerClose {
  display: block;
  margin-right: auto;
  margin-bottom: 30px;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 25px;
}

.drawer-logo {
  margin-bottom: 30px;
}

.drawer-link {
  display: block;
  padding: 14px 5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  transition: var(--transition);
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--gold);
  padding-right: 15px;
}

/* ===================== FOOTER ===================== */

footer,
.footer {
  background: #050505;
  color: #eee;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.footer-logo span {
  color: var(--gold);
  font-size: 19px;
  font-weight: 900;
}

.footer h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer p,
.footer li {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 173, 85, 0.3);
  color: var(--gold);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(214, 173, 85, 0.15);
  padding-top: 20px;
  color: #888;
  font-size: 12px;
}

/* ===================== FLOATING BUTTONS ===================== */

.floating-contact,
.floating-buttons {
  position: fixed;
  left: 22px;
  bottom: 25px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-contact a,
.floating-buttons a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.floating-contact a:hover,
.floating-buttons a:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  background: #25d366;
}

.phone-float {
  background: #1d8ee8;
}

/* ===================== BACK TO TOP ===================== */

.back-to-top,
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible,
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===================== REVEAL ANIMATIONS ===================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== IMAGE FALLBACK ===================== */

img.image-error {
  object-fit: contain;
  background: var(--bg-soft);
}

/* ===================== ACCESSIBILITY ===================== */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== RESPONSIVE TABLET ===================== */

@media (max-width: 1050px) {

  .nav-links,
  .desktop-nav .nav-links {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .coach-grid,
  .contact-grid {
    gap: 35px;
  }
}

/* ===================== RESPONSIVE MOBILE ===================== */

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  body {
    background-attachment: scroll;
  }

  section {
    padding: 70px 0;
  }

  .container {
    width: 90%;
  }

  .top-bar {
    font-size: 10px;
  }

  .top-bar .container,
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }

  .navbar {
    gap: 10px;
  }

  .nav-links,
  .desktop-nav .nav-links {
    display: none;
  }

  .mobile-menu-btn,
  #mobileMenuBtn {
    display: inline-flex;
  }

  .nav-logo img {
    width: 45px;
    height: 45px;
  }

  .nav-logo span {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero p {
    font-size: 14px;
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 10px;
  }

  .hero-stats-card {
    min-width: 125px;
    padding: 12px;
  }

  .about-grid,
  .coach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin: 0 10px 20px;
  }

  .about-image img {
    height: 320px;
  }

  .about-image::after {
    inset: 10px -10px -10px 10px;
  }

  .about-content {
    text-align: center;
  }

  .about-features {
    text-align: right;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }

  .program-card img {
    height: 155px;
  }

  .program-card-content {
    padding: 15px;
  }

  .program-card h3 {
    font-size: 16px;
  }

  .program-card p {
    font-size: 12px;
  }

  .coach-grid {
    text-align: center;
  }

  .coach-image img {
    height: 350px;
  }

  .coach-content h2 {
    font-size: 28px;
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .achievement-card {
    padding: 22px 12px;
  }

  .ac-number {
    font-size: 28px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .value-card {
    padding: 22px 12px;
  }

  .value-card h3 {
    font-size: 15px;
  }

  .value-card p {
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-grid> :first-child {
    grid-column: 1 / -1;
  }

  .section-header {
    margin-bottom: 35px;
  }

  .section-header h2 {
    font-size: 29px;
  }

  .registration-form {
    padding: 22px 17px;
  }

  .floating-contact,
  .floating-buttons {
    left: 12px;
    bottom: 15px;
  }

  .floating-contact a,
  .floating-buttons a {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }

  .back-to-top,
  #backToTop {
    right: 12px;
    bottom: 15px;
    width: 42px;
    height: 42px;
  }
}

/* ===================== SMALL MOBILE ===================== */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-tag {
    font-size: 11px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats-card {
    min-width: 105px;
  }

  .hero-stats-card strong,
  .stat-number {
    font-size: 23px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card img {
    height: 210px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid> :first-child {
    grid-column: auto;
  }

  .section-header h2 {
    font-size: 25px;
  }
}

/* =========================================================
   PORTAL & MANAGEMENT SYSTEM STYLES (THEME: BLACK & GOLD)
   نظام إدارة النادي الرياضي - المجمع الرياضي أبطال المستقبل
   ========================================================= */

.portal-app {
  position: fixed;
  inset: 0;
  background: #090909;
  color: #f5f5f5;
  z-index: 99999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: "Cairo", sans-serif;
  direction: rtl;
}

.portal-app.is-active {
  display: flex;
}

.portal-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Header */
.portal-header {
  height: 70px;
  background: #111111;
  border-bottom: 1px solid rgba(214, 173, 85, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.portal-header-start {
  display: flex;
  align-items: center;
  gap: 28px;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-brand-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #d6ad55;
}

.portal-brand-sub {
  display: block;
  font-size: 11px;
  color: #888;
}

.portal-role-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  padding: 4px 8px;
  border-radius: 30px;
  border: 1px solid rgba(214, 173, 85, 0.15);
}

.role-switch-label {
  font-size: 12px;
  color: #a0a0a0;
  padding: 0 6px;
}

.role-pill {
  background: transparent;
  border: none;
  color: #ccc;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.role-pill:hover {
  color: #d6ad55;
}

.role-pill.active {
  background: #d6ad55;
  color: #090909;
  box-shadow: 0 2px 10px rgba(214, 173, 85, 0.4);
}

.portal-header-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portal-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #181818;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.portal-user-badge i {
  color: #d6ad55;
}

.role-tag {
  background: rgba(214, 173, 85, 0.15);
  color: #d6ad55;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(214, 173, 85, 0.3);
}

.portal-btn-exit {
  background: transparent;
  border: 1px solid rgba(214, 173, 85, 0.3);
  color: #d6ad55;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.portal-btn-exit:hover {
  background: #d6ad55;
  color: #000;
}

/* Portal Main Wrapper */
.portal-main-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar */
.portal-sidebar {
  width: 250px;
  background: #0e0e0e;
  border-left: 1px solid rgba(214, 173, 85, 0.15);
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  flex-shrink: 0;
}

.sidebar-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
  padding: 0 20px 10px;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #bbb;
  font-size: 13.5px;
  font-weight: 500;
  text-align: right;
  width: 100%;
  transition: all 0.2s ease;
}

.sidebar-link i {
  font-size: 16px;
  width: 22px;
  color: #888;
  transition: color 0.2s;
}

.sidebar-link:hover {
  background: #191919;
  color: #d6ad55;
}

.sidebar-link:hover i {
  color: #d6ad55;
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(214, 173, 85, 0.18), transparent);
  color: #d6ad55;
  border-right: 3px solid #d6ad55;
  font-weight: 700;
}

.sidebar-link.active i {
  color: #d6ad55;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.club-badge-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #888;
}

.club-badge-mini i {
  color: #d6ad55;
}

/* Main Content Area */
.portal-content {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  background: #090909;
}

.portal-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 13px;
  color: #888;
}

.page-actions {
  display: flex;
  gap: 10px;
}

/* Buttons */
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.portal-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.portal-btn-gold {
  background: linear-gradient(135deg, #d6ad55, #a77b2d);
  color: #000;
  box-shadow: 0 4px 15px rgba(214, 173, 85, 0.25);
}

.portal-btn-gold:hover {
  background: linear-gradient(135deg, #f0d58e, #d6ad55);
  box-shadow: 0 6px 20px rgba(214, 173, 85, 0.4);
}

.portal-btn-outline {
  background: transparent;
  border: 1px solid rgba(214, 173, 85, 0.35);
  color: #d6ad55;
}

.portal-btn-outline:hover {
  background: rgba(214, 173, 85, 0.1);
  border-color: #d6ad55;
}

.portal-btn-danger {
  background: #991b1b;
  color: #fff;
}

.portal-btn-danger:hover {
  background: #b91c1c;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: #141414;
  border: 1px solid rgba(214, 173, 85, 0.15);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.kpi-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-icon.icon-gold {
  background: rgba(214, 173, 85, 0.15);
  color: #d6ad55;
}

.kpi-icon.icon-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.kpi-icon.icon-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 12px;
  color: #888;
}

.kpi-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.kpi-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-gold {
  background: rgba(214, 173, 85, 0.15);
  color: #d6ad55;
  border: 1px solid rgba(214, 173, 85, 0.3);
}

.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Content Box */
.content-box {
  background: #141414;
  border: 1px solid rgba(214, 173, 85, 0.15);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.box-title {
  font-size: 17px;
  font-weight: 700;
  color: #f0d58e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-desc {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 18px;
  line-height: 1.6;
}

.btn-link-gold {
  background: none;
  border: none;
  color: #d6ad55;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Data Tables */
.portal-table-responsive {
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 13px;
}

.portal-table th {
  background: #191919;
  color: #d6ad55;
  padding: 12px 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(214, 173, 85, 0.2);
}

.portal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e5e5e5;
}

.portal-table tr:hover td {
  background: rgba(214, 173, 85, 0.04);
}

.badge-code {
  font-family: monospace;
  background: #222;
  padding: 2px 6px;
  border-radius: 4px;
  color: #f0d58e;
  font-size: 12px;
  border: 1px solid rgba(214, 173, 85, 0.2);
}

.badge-group {
  background: #1e1e1e;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #ccc;
}

.portal-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tag-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.tag-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.tag-gold {
  background: rgba(214, 173, 85, 0.15);
  color: #d6ad55;
  border: 1px solid rgba(214, 173, 85, 0.3);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.action-btn:hover {
  background: #d6ad55;
  color: #000;
  border-color: #d6ad55;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.search-box input {
  width: 100%;
  background: #141414;
  border: 1px solid rgba(214, 173, 85, 0.2);
  border-radius: 8px;
  padding: 10px 42px 10px 14px;
  color: #fff;
  font-size: 13px;
}

.search-box input:focus {
  outline: none;
  border-color: #d6ad55;
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.portal-select,
.portal-input,
.portal-textarea {
  background: #181818;
  border: 1px solid rgba(214, 173, 85, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  width: 100%;
}

.portal-select:focus,
.portal-input:focus,
.portal-textarea:focus {
  outline: none;
  border-color: #d6ad55;
}

/* Groups Detail Cards */
.groups-detail-grid,
.schedule-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.group-detail-card,
.group-summary-card {
  background: #181818;
  border: 1px solid rgba(214, 173, 85, 0.2);
  border-radius: 12px;
  padding: 20px;
}

.gdc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.gdc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(214, 173, 85, 0.15);
  color: #d6ad55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.gdc-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.gdc-sub {
  font-size: 11px;
  color: #888;
}

.gdc-info-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.gdc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 6px;
}

.gdc-row .label {
  color: #888;
}

.font-gold {
  color: #d6ad55;
}

.font-bold {
  font-weight: 700;
}

/* Attendance Controls */
.attendance-controls-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ac-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.ac-item label {
  font-size: 12px;
  color: #aaa;
}

.attendance-radio-group {
  display: flex;
  gap: 6px;
}

.att-radio-label {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.att-radio-label input {
  display: none;
}

.att-radio-label.active.att-present {
  background: #15803d;
  color: #fff;
  border-color: #22c55e;
}

.att-radio-label.active.att-absent {
  background: #b91c1c;
  color: #fff;
  border-color: #ef4444;
}

.att-radio-label.active.att-late {
  background: #b45309;
  color: #fff;
  border-color: #f59e0b;
}

.att-radio-label.active.att-excused {
  background: #0369a1;
  color: #fff;
  border-color: #0284c7;
}

.att-note {
  font-size: 12px;
  padding: 4px 8px;
}

/* Athlete ID Card */
.athlete-id-card-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.athlete-id-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, #181818 0%, #111111 100%);
  border: 2px solid #d6ad55;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(214, 173, 85, 0.2);
  position: relative;
  overflow: hidden;
}

.athlete-id-card::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(214, 173, 85, 0.15), transparent 70%);
}

.aidc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(214, 173, 85, 0.3);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.aidc-club {
  font-size: 15px;
  font-weight: 800;
  color: #d6ad55;
}

.aidc-type {
  font-size: 11px;
  color: #aaa;
}

.aidc-qr {
  font-size: 32px;
  color: #d6ad55;
}

.aidc-body {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.aidc-photo img {
  width: 85px;
  height: 95px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d6ad55;
}

.aidc-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.aidc-meta {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 3px;
}

.aidc-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.aidc-valid {
  color: #22c55e;
  font-weight: 600;
}

/* Modals */
.portal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portal-modal-overlay.active {
  display: flex;
}

.portal-modal-card {
  background: #141414;
  border: 1px solid #d6ad55;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  padding: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(214, 173, 85, 0.2);
  padding-bottom: 12px;
}

.modal-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #d6ad55;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-card-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #888;
  cursor: pointer;
}

.modal-card-close:hover {
  color: #fff;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-form .form-group {
  margin-bottom: 14px;
}

.portal-label {
  display: block;
  font-size: 12px;
  color: #ccc;
  margin-bottom: 6px;
}

.modal-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* Toast Notifications */
.portal-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-toast {
  background: #181818;
  border: 1px solid #d6ad55;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.portal-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.portal-toast i {
  font-size: 18px;
}

.portal-toast-success i {
  color: #22c55e;
}

.portal-toast-warning i {
  color: #f59e0b;
}

.portal-toast-info i {
  color: #d6ad55;
}

/* Parent Portal Child Switcher */
.child-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.child-switcher .label {
  font-size: 12px;
  color: #aaa;
}

.child-btn {
  background: #1c1c1c;
  border: 1px solid rgba(214, 173, 85, 0.25);
  color: #ccc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.child-btn:hover {
  border-color: #d6ad55;
  color: #d6ad55;
}

.child-btn.active {
  background: #d6ad55;
  color: #000;
  box-shadow: 0 2px 10px rgba(214, 173, 85, 0.35);
}

.parent-contact-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Championships Cards */
.championships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.championship-card {
  background: #161616;
  border: 1px solid rgba(214, 173, 85, 0.2);
  border-radius: 14px;
  padding: 22px;
}

.championship-card.upcoming-border {
  border: 1px solid #d6ad55;
  box-shadow: 0 4px 20px rgba(214, 173, 85, 0.15);
}

.champ-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.champ-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.champ-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
}

.champ-results-box {
  background: #111;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.results-title {
  font-size: 12px;
  color: #d6ad55;
  margin-bottom: 8px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.medal-gold {
  color: #fbbf24;
}

.medal-silver {
  color: #9ca3af;
}

.medal-bronze {
  color: #d97706;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .portal-sidebar {
    width: 70px;
    padding: 14px 0;
  }
  .sidebar-heading,
  .sidebar-link span,
  .sidebar-footer {
    display: none;
  }
  .sidebar-link {
    justify-content: center;
    padding: 14px;
  }
  .sidebar-link i {
    width: auto;
    font-size: 18px;
  }
  .portal-header-start {
    gap: 12px;
  }
  .role-switch-label {
    display: none;
  }
  .role-pill {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .portal-header {
    height: auto;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
  }
  .portal-content {
    padding: 14px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Portal Showcase Cards on Public Page */
.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.portal-role-card {
  background: var(--bg-card);
  border: 1px solid rgba(214, 173, 85, 0.22);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.portal-role-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(214, 173, 85, 0.18);
}

.prc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.prc-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.prc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.prc-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

.prc-features li {
  font-size: 12.5px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prc-features li i {
  color: var(--gold);
  font-size: 11px;
}

.schedule-tz {
  font-size: 11px;
  opacity: 0.8;
  margin-right: 4px;
}

/* =========================================================
   PATCH: MATCHING INDEX.HTML CLASSES & LAYOUT FIXES
   ========================================================= */

/* 1. Top Bar & Navbar Fixes */
.top-bar-inner {
  width: min(92%, var(--container));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  gap: 18px;
}

.nav-link {
  white-space: nowrap;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  box-shadow: 0 7px 25px rgba(214, 173, 85, 0.18);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(214, 173, 85, 0.3);
}

.btn-call {
  background: #1d8ee8;
  color: #fff;
}

.btn-call:hover {
  background: #1677c5;
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25d366;
  color: #111;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

/* 2. Hero Section Fixes */
.hero-content {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero-badge,
.section-badge,
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  background: rgba(214, 173, 85, 0.08);
  margin-bottom: 16px;
}

.hero-title-gold,
.text-gold {
  color: var(--gold);
}

.hero-subtitle {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-social-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
}

.hero-social-label {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-social-pages {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-social-page-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
  transition: var(--transition);
}

.hero-social-page-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hsb-icon {
  color: var(--gold);
  font-size: 16px;
}

.hsb-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.hsb-platform {
  font-weight: 800;
  color: var(--text);
}

.hsb-handle {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-stats-card {
  width: 100%;
  padding: 24px;
  margin-top: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 10px;
  border-left: 1px solid var(--border);
}

.stat-item:last-child {
  border-left: none;
}

.stat-label {
  color: var(--text-muted);
  font-size: 13px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold);
}

/* 3. About & Programs Fixes */
.about-image-wrapper {
  position: relative;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
}

.badge-year {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}

.badge-label {
  font-size: 11px;
  color: var(--text-muted);
}

.about-heading {
  font-size: 26px;
  margin-bottom: 16px;
}

.about-feature {
  align-items: flex-start;
  background: var(--bg-card);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.program-card-image {
  position: relative;
}

.program-card-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(9, 9, 9, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.program-card-body {
  padding: 22px;
}

.program-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(214, 173, 85, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 12px;
}

.program-features i {
  color: var(--gold);
  margin-left: 6px;
}

.card-featured-label {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

/* 4. Coach Section Fixes */
.coach-image-wrapper {
  position: relative;
  text-align: center;
}

.coach-belt-badge {
  margin-top: 15px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.coach-name {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
}

.coach-rank {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.coach-rank i {
  color: var(--gold);
  margin-left: 6px;
}

.coach-certs {
  margin: 20px 0;
}

.coach-certs-title {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--gold);
}

.cert-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cert-icon {
  color: var(--gold);
  font-size: 20px;
}

.cert-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.cert-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.coach-stats {
  display: flex;
  gap: 20px;
  margin: 22px 0;
}

.coach-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
}

.cs-number {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}

.cs-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 5. ACHIEVEMENTS SECTION FIXES */
.achievement-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 45px;
}

.achievement-counters .ac-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: var(--transition);
}

.achievement-counters .ac-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.ac-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ac-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Spotlight Card (Champion Amani) */
/* جعل بطاقة البطل تعرض النص والصورتين في سطر واحد */
.spotlight-card {
  display: grid !important;
  grid-template-columns: 1.3fr auto auto !important;
  gap: 24px !important;
  align-items: center !important;
}

.champion-image-wrapper {
  width: 210px !important;
  max-width: 210px !important;
  margin: 0 !important;
}

.champion-img {
  height: 290px !important;
  object-fit: cover !important;
}

/* للشاشات المتوسطة والهواتف: النص في الأعلى والصورتان جنباً إلى جنب تحته */
@media (max-width: 960px) {
  .spotlight-card {
    grid-template-columns: 1fr 1fr !important;
  }
  .spotlight-card > :first-child {
    grid-column: 1 / -1;
  }
  .champion-image-wrapper {
    width: 100% !important;
    max-width: 240px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 520px) {
  .spotlight-card {
    grid-template-columns: 1fr !important;
  }
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 173, 85, 0.15);
  color: var(--gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.spotlight-name {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
}

.spotlight-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.spotlight-achievements {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.spotlight-ach {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.spotlight-ach i {
  color: var(--gold);
}

.spotlight-quote {
  padding: 14px 18px;
  border-right: 3px solid var(--gold);
  background: rgba(214, 173, 85, 0.06);
  border-radius: 8px;
  font-style: italic;
  color: var(--gold-light);
}

.champion-image-wrapper {
  position: relative;
  max-width: 300px;
  margin-inline: auto;
}

.champion-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.champion-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.champion-ribbon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: 12px;
  background: rgba(9, 9, 9, 0.88);
  border: 1px solid var(--gold);
  color: var(--gold);
  text-align: center;
  padding: 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.floating-trophy-seal {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
}

.ac-card-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 12px;
}

.ac-card-category {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.ac-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.ac-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ac-card-placeholder {
  display: none !important;
}

.consultation-banner {
  margin-top: 45px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-icon {
  font-size: 30px;
  color: var(--gold);
}

.banner-actions {
  display: flex;
  gap: 12px;
}

/* 6. Schedule Section Cards */
.schedule-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(214, 173, 85, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 12px 20px;
  border-radius: 12px;
  max-width: 650px;
  margin: 0 auto 35px;
  font-size: 14px;
  font-weight: 700;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 35px;
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}

.schedule-card:hover,
.schedule-card-gold {
  border-color: var(--gold);
}

.schedule-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.schedule-group {
  font-size: 20px;
  margin-bottom: 16px;
}

.schedule-days {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 800;
}

.schedule-day i,
.schedule-sep {
  color: var(--gold);
}

.schedule-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* 7. Values, Contact, Footer & Floating Buttons */
.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(214, 173, 85, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.form-card,
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
}

.form-title,
.contact-info-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--gold);
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content {
  display: flex;
  flex-direction: column;
}

.quick-contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.map-placeholder {
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.map-placeholder i {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 8px;
}

.map-placeholder p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.social-links-row,
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-btn,
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover,
.social-link:hover {
  background: var(--gold);
  color: #111;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}

.footer-col-title {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 17px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Floating Quick Actions */
.floating-quick-actions {
  position: fixed;
  left: 22px;
  bottom: 25px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.floating-call-btn {
  background: #1d8ee8;
}

.floating-whatsapp-btn {
  background: #25d366;
}

.floating-tooltip {
  display: none;
}

/* Responsive Overrides for Patched Sections */
@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn,
  #mobileMenuBtn {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .achievement-counters,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-card,
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .achievement-counters,
  .stats-grid,
  .cert-list {
    grid-template-columns: 1fr;
  }
  .nav-controls .btn-open-portal span,
  .nav-cta {
    display: none;
  }
}

/* =========================================================
   GLOBAL LOGO CIRCLE & FULL-PAGE BACKGROUND OVERRIDES
   ========================================================= */

header img,
footer img,
.nav-logo img,
.nav-logo-img,
.drawer-logo img,
.footer-logo img,
img[src*="logo.jpg"],
img[src*="001.jpg"] {
  border-radius: 50% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  transform: scale(1.04);
  mix-blend-mode: lighten;
}

.hero,
.about-section,
.programs-section,
.coach-section,
.achievements-section,
.schedule-section,
.values-section,
.portal-showcase-section,
.contact-section {
  background: transparent !important;
}

.hero-stats-card,
.program-card,
.about-feature,
.cert-item,
.coach-stat,
.achievement-card,
.achievement-counters .ac-item,
.spotlight-card,
.schedule-card,
.value-card,
.portal-role-card,
.form-card,
.contact-item,
.contact-info-card {
  background: rgba(18, 18, 18, 0.86) !important;
  backdrop-filter: blur(6px);
}
/* فصل بطاقة البطل البارزة عن بطاقات الإنجازات اللي تحتها */
.spotlight-card {
  margin-bottom: 85px !important;
  position: relative;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  bottom: -42px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 173, 85, 0.45), transparent);
}
/* إبراز كادر البطل قادرة أماني بإطار وتوهج ذهبي واضح */
.spotlight-card {
  background: linear-gradient(135deg, rgba(24, 21, 14, 0.96), rgba(14, 14, 14, 0.94)) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 22px !important;
  padding: 40px 36px !important;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(214, 173, 85, 0.22),
    inset 0 0 25px rgba(214, 173, 85, 0.06) !important;
}

/* جعل إطار الصورتين متناسقاً مع الكادر الكبير */
.spotlight-card .champion-image-frame {
  border: 2px solid var(--gold) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(214, 173, 85, 0.2) !important;
}
/* =========================================================
   إصلاح ظهور الخلفية الثابتة على الهواتف (Android & iOS)
   ========================================================= */

body {
  background: #090909 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(9, 9, 9, 0.78), rgba(9, 9, 9, 0.86)),
    url("images/hero-bg.jpg") center center / cover no-repeat;
  pointer-events: none;
  will-change: transform;
  /* ضبط تمركز صورة الخلفية على شاشات الهواتف الطولية */

}
/* ضبط تمركز صورة الخلفية على شاشات الهواتف الطولية */
@media (max-width: 768px) {
  body::before {
    /* القيمة الأولى (35%) تحرك الصورة أفقياً (يمين/يسار)
       القيمة الثانية (center) تحركها عمودياً (أعلى/أسفل) */
    background-position: 35% center !important;
  }
}
/* =========================================================
   INTERNAL RULES SECTION & MODAL (BLACK & GOLD)
   قسم النظام الداخلي والنافذة المنبثقة
   ========================================================= */

.rules-section {
  background: transparent !important;
}

.rules-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.rule-tab-btn {
  background: rgba(18, 18, 18, 0.88);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

[data-theme="light"] .rule-tab-btn {
  background: var(--bg-card);
}

.rule-tab-btn i {
  color: var(--gold);
}

.rule-tab-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.rule-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(214, 173, 85, 0.28);
}

.rule-tab-btn.active i {
  color: #111;
}

.rules-tab-panels {
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(214, 173, 85, 0.32);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

[data-theme="light"] .rules-tab-panels {
  background: var(--bg-card);
}

.rule-tab-panel {
  display: none;
  animation: fadeRulePanel 0.3s ease;
}

.rule-tab-panel.active {
  display: block;
}

@keyframes fadeRulePanel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rule-summary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-summary-list li {
  position: relative;
  padding-right: 22px;
  color: var(--text);
  line-height: 1.85;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

[data-theme="light"] .rule-summary-list li {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.rule-summary-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rule-summary-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(214, 173, 85, 0.6);
}

.rule-summary-list li strong {
  color: var(--gold);
}

.rules-cta-bar {
  text-align: center;
  margin-top: 28px;
}

.btn-open-full-rules {
  background: rgba(18, 18, 18, 0.85);
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-open-full-rules:hover {
  background: var(--gold);
  color: #111;
  box-shadow: 0 8px 25px rgba(214, 173, 85, 0.35);
}

/* النافذة المنبثقة للنظام الداخلي الكامل */
.rules-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rules-modal-overlay.active {
  display: flex;
}

.rules-modal-box {
  background: #121212;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(214, 173, 85, 0.18);
}

.rules-modal-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(214, 173, 85, 0.14), rgba(18, 18, 18, 0.95));
  border-bottom: 1px solid rgba(214, 173, 85, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.rules-modal-header h3 {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
}

.rules-modal-sub {
  display: block;
  font-size: 12.5px;
  color: #a8a8a8;
  margin-top: 4px;
}

.rules-modal-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rules-action-icon {
  background: rgba(214, 173, 85, 0.15);
  color: var(--gold);
  border: 1px solid rgba(214, 173, 85, 0.4);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rules-action-icon:hover {
  background: var(--gold);
  color: #111;
}

.rules-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.rules-modal-search {
  padding: 12px 24px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rules-modal-search i {
  color: var(--gold);
}

.rules-modal-search input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.rules-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rules-chapter h4 {
  color: var(--gold);
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214, 173, 85, 0.25);
  font-size: 16px;
}

.rule-article {
  background: rgba(255, 255, 255, 0.03);
  border-right: 3px solid var(--gold);
  padding: 11px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  color: #e2e2e2;
  line-height: 1.8;
  font-size: 14px;
}

.rule-article strong {
  color: var(--gold);
}

.rules-no-result {
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
  font-size: 14px;
}

.rules-modal-footer {
  padding: 16px 24px;
  background: #0e0e0e;
  border-top: 1px solid rgba(214, 173, 85, 0.2);
  text-align: left;
}

.btn-accept-rules {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #111;
  border: none;
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* مربع الإقرار داخل نموذج التسجيل */
.rules-consent-box {
  margin: 14px 0 18px;
  padding: 12px 14px;
  background: rgba(214, 173, 85, 0.07);
  border: 1px solid rgba(214, 173, 85, 0.3);
  border-radius: 10px;
}

.rules-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
}

.rules-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.rules-consent-label a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 700;
}

@media (max-width: 600px) {
  .rules-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .rules-tab-panels {
    padding: 20px 16px;
  }
  .rules-modal-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================================
   MOBILE RESPONSIVE OVERRIDES (<= 820px) — DESKTOP LAYOUT UNTOUCHED
   تحسينات شاملة للهاتف المحمول دون المساس بشكل الحاسوب إطلاقاً
   ========================================================================= */
@media (max-width: 820px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* 1. الهيدر العلوي للموقع */
  .navbar, header.site-header, .main-header {
    padding: 10px 14px !important;
  }

  .brand, .logo-wrap {
    gap: 8px !important;
    max-width: 72%;
  }

  .brand img, .logo-wrap img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-text h1, .brand-title {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .brand-text span, .brand-sub {
    font-size: 10.5px !important;
  }

  /* 2. الواجهة الرئيسية (Hero Section) */
  .hero {
    min-height: auto !important;
    padding: 96px 0 48px !important;
  }

  .hero-grid, .hero-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center !important;
  }

  .hero-content {
    align-items: center !important;
    text-align: center !important;
  }

  .hero h1 {
    font-size: 28px !important;
    line-height: 1.35 !important;
  }

  .hero p, .hero-desc {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    max-width: 100% !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-buttons .btn,
  .hero-buttons a,
  .hero-buttons button {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-stats-card, .hero-visual-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px 14px !important;
  }

  /* 3. الأقسام العامة والبطاقات */
  section {
    padding: 52px 0 !important;
  }

  .section-title h2, .section-header h2 {
    font-size: 23px !important;
    line-height: 1.35 !important;
  }

  .section-title p, .section-header p {
    font-size: 13.5px !important;
  }

  .about-grid,
  .coach-grid,
  .contact-grid,
  .portals-grid,
  .programs-grid,
  .schedule-grid,
  .achievements-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* 4. نافذة تسجيل الدخول وإنشاء الحساب (تحويل من عمودين إلى عمود واحد بالهاتف) */
  .portal-login-overlay {
    padding: 12px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  .portal-login-card-responsive {
    width: 100% !important;
    max-width: 100% !important;
    margin: auto 0 !important;
    border-radius: 16px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }

  .login-modal-split-grid {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .login-modal-banner-col {
    order: -1 !important;
    min-height: 175px !important;
    padding: 22px 18px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(214, 173, 85, 0.3) !important;
  }

  .login-modal-banner-col h2 {
    font-size: 19px !important;
    margin-bottom: 6px !important;
  }

  .login-modal-banner-col h2 span {
    font-size: 22px !important;
  }

  .login-modal-banner-col p:last-child {
    display: none !important;
  }

  .login-modal-form-col {
    padding: 20px 18px 24px !important;
  }

  /* 5. لوحة التحكم والبوابات الإدارية على الهاتف */
  .portal-header {
    height: auto !important;
    min-height: 60px !important;
    padding: 10px 12px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .portal-brand-title {
    font-size: 14px !important;
  }

  .portal-brand-sub {
    display: none !important;
  }

  .dev-role-switcher {
    width: 100% !important;
    order: 3 !important;
    overflow-x: auto !important;
    padding: 6px !important;
    justify-content: flex-start !important;
  }

  .portal-user-badge {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }

  .portal-btn-exit span {
    display: none !important;
  }

  .portal-main-wrapper {
    flex-direction: column !important;
    height: calc(100vh - 64px) !important;
  }

  /* تحويل القائمة الجانبية إلى شريط تنقل أفقي مرن أعلى المحتوى في الهاتف */
  .portal-sidebar {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 8px 10px !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(214, 173, 85, 0.25) !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    flex-shrink: 0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-heading,
  .sidebar-footer {
    display: none !important;
  }

  .sidebar-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    width: max-content !important;
  }

  .sidebar-link {
    width: auto !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    font-size: 12.5px !important;
    gap: 6px !important;
  }

  .sidebar-link span {
    display: inline !important;
  }

  .portal-content {
    padding: 14px 12px 40px !important;
    width: 100% !important;
  }

  .portal-page-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .page-title {
    font-size: 19px !important;
  }

  .page-actions {
    width: 100% !important;
    flex-wrap: wrap !important;
  }

  .page-actions .portal-btn {
    flex: 1 1 auto !important;
    justify-content: center !important;
    font-size: 12.5px !important;
    padding: 9px 12px !important;
  }

  .kpi-grid,
  .schedule-summary-cards,
  .groups-detail-grid,
  .championships-grid,
  .settings-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .filter-bar,
  .attendance-controls-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .filter-selects {
    flex-direction: column !important;
    width: 100% !important;
  }

  .filter-selects .portal-select,
  .filter-selects .portal-btn,
  .search-box {
    width: 100% !important;
  }

  /* النوافذ المنبثقة داخل لوحة التحكم */
  .portal-modal-overlay {
    padding: 10px !important;
  }

  .portal-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 14px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .champ-result-input-row {
    grid-template-columns: 1fr !important;
  }

  /* بطاقة العضوية الرقمية للرياضي */
  .athlete-id-card {
    width: 100% !important;
    padding: 16px !important;
  }

  .aidc-body {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .aidc-footer {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .child-switcher {
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .parent-contact-strip {
    flex-direction: column !important;
  }

  .parent-contact-strip .portal-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* أزرار الحضور في الجداول */
  .attendance-radio-group {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .att-radio-label {
    padding: 4px 8px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px !important;
  }

  .login-modal-form-col h3 {
    font-size: 18px !important;
  }

  .portal-table th,
  .portal-table td {
    padding: 9px 8px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
}
/* =========================================================================
   MOBILE DRAWER & HAMBURGER BUTTON FIX (إصلاح زر القائمة الجانبية والهيدر)
   ========================================================================= */
@media (max-width: 1120px) {
  /* 1. تحويل الزر الدائري الفارغ إلى زر 3 خطوط واضح */
  .mobile-menu-btn,
  #mobileMenuBtn {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: rgba(214, 173, 85, 0.14) !important;
    border: 1.5px solid var(--gold) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1005 !important;
  }

  /* رسم الخطوط الثلاثة داخل الزر */
  .mobile-menu-btn span,
  #mobileMenuBtn span {
    display: block !important;
    width: 20px !important;
    height: 2.5px !important;
    background-color: var(--gold) !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
  }

  /* في حال كان الزر لا يحتوي على span (أيقونة فقط) */
  .mobile-menu-btn:empty::before,
  #mobileMenuBtn:empty::before {
    content: "\f0c9";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold);
    font-size: 18px;
  }

  /* 2. تنظيم الشريط العلوي في الهاتف ومنع تزاحم الأزرار */
  .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .nav-logo {
    max-width: calc(100% - 105px) !important;
    gap: 8px !important;
  }

  .nav-logo-name {
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nav-logo-sub {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .nav-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  /* إخفاء أزرار "سجل الآن" و"نظام الإدارة" من الشريط العلوي الصغير لأنها موجودة داخل القائمة */
  .nav-controls .btn-open-portal,
  .nav-controls .nav-cta,
  .nav-controls a.btn {
    display: none !important;
  }

  /* 3. ضبط القائمة الجانبية لتظهر فوق الهيدر بالكامل وبشكل أنيق */
  .drawer-overlay,
  #drawerOverlay {
    z-index: 9998 !important;
  }

  .mobile-drawer,
  #mobileDrawer {
    z-index: 9999 !important;
    width: min(82%, 310px) !important;
    padding: 22px 20px !important;
    background: #111111 !important;
    border-left: 2px solid var(--gold) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .drawer-header,
  .drawer-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(214, 173, 85, 0.25) !important;
  }

  .drawer-close,
  #drawerClose {
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background: rgba(214, 173, 85, 0.12) !important;
    border: 1px solid rgba(214, 173, 85, 0.4) !important;
    color: var(--gold) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
  }

  .drawer-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 6px !important;
    font-size: 14.5px !important;
  }

  .drawer-link i {
    color: var(--gold) !important;
    width: 20px !important;
    text-align: center !important;
  }
}
/* =========================================================================
   PORTAL LOGIN MODAL OVERLAY & INPUT ICONS FIX
   إصلاح ظهور نافذة تسجيل الدخول في وسط الشاشة وضبط أيقونات العين والقفل
   ========================================================================= */

/* 1. تثبيت نافذة تسجيل الدخول فوق الصفحة بالكامل وإخفاؤها افتراضياً */
.portal-login-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(7px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  overflow-y: auto !important;
}

.portal-login-overlay.active {
  display: flex !important;
}

/* زر الإغلاق X في زاوية النافذة */
.portal-login-card .login-close-btn {
  position: absolute !important;
  top: 14px !important;
  left: 16px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(20, 20, 20, 0.85) !important;
  border: 1px solid rgba(214, 173, 85, 0.45) !important;
  color: #d6ad55 !important;
  font-size: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 30 !important;
}

.portal-login-card .login-close-btn:hover {
  background: #d6ad55 !important;
  color: #111111 !important;
}

/* 2. ضبط حاوية الحقول وأيقونات المستخدم والقفل والعين */
.login-input-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.login-input-wrap > i:first-child {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #d6ad55 !important;
  font-size: 14px !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.login-input-wrap .portal-input {
  width: 100% !important;
  padding-right: 40px !important;
  padding-left: 42px !important;
}

.login-input-wrap .toggle-pass-btn {
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #a8a8a8 !important;
  padding: 6px !important;
  font-size: 15px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4 !important;
}

.login-input-wrap .toggle-pass-btn:hover {
  color: #d6ad55 !important;
}

.login-error-msg {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12.5px;
}

/* 3. ضبط النافذة على شاشات الهاتف */
@media (max-width: 820px) {
  .portal-login-overlay {
    padding: 12px !important;
    align-items: flex-start !important;
  }

  .portal-login-card-responsive {
    margin: auto 0 !important;
  }
}