:root {
  --color-emerald: #10b981;
  --color-sky: #0ea5e9;
  --color-amber: #f59e0b;
  --color-navy-dark: #0f172a;
  --color-navy: #1f2937;
  --color-text: #1f2937;
  --color-muted: #64748b;
  --font-main: "Cairo", Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: #f1f5f9;
  color: var(--color-text);
}

body.rtl {
  direction: rtl;
}

a {
  text-decoration: none;
}

.top-nav {
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo{
  width: 20%;
}

.nav-inner {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
}

.brand-toggle-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-emerald);
}

.brand span:last-child {
  color: var(--color-navy-dark);
}

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

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(248, 250, 252, 0.85);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  color: var(--color-navy-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  outline: none;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-icon::after {
  position: absolute;
  bottom: -6px;
  left: 0;
}

.nav-menu-toggle.is-active .nav-toggle-icon {
  background: transparent;
}

.nav-menu-toggle.is-active .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-menu-toggle.is-active .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.select-control,
.button,
.link-button {
  font-family: inherit;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 16px;
  background: #fff;
  color: var(--color-muted);
}

.select-control:focus {
  outline: 2px solid rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.5);
}

.link-button {
  border: none;
  background: transparent;
  color: var(--color-navy);
  font-weight: 500;
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.danger-button:hover,
.danger-button:focus {
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.35);
  transform: translateY(-1px);
  outline: none;
}

.nav-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, var(--color-emerald), var(--color-sky));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-pill-button:hover,
.nav-pill-button:focus {
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.25);
  transform: translateY(-1px);
}

.nav-pill-button:focus {
  outline: 2px solid rgba(15, 118, 110, 0.3);
  outline-offset: 2px;
}

.nav-pill-button.is-login {
  background: var(--color-amber);
  color: var(--color-navy);
  padding: 12px 32px;
  min-width: 0;
  box-shadow: 0 18px 30px rgba(245, 158, 11, 0.4);
}

.nav-pill-button.is-connect {
  box-shadow: 0 16px 28px rgba(14, 165, 233, 0.35);
}

.nav-pill-button.is-logout {
  background: linear-gradient(90deg, #f97316, #fb7185);
  box-shadow: 0 16px 28px rgba(249, 113, 116, 0.35);
}

.nav-pill-button.is-logout:hover,
.nav-pill-button.is-logout:focus {
  color: #fff;
  box-shadow: 0 20px 36px rgba(249, 113, 116, 0.45);
}

.nav-pill-button.is-login:hover,
.nav-pill-button.is-login:focus {
  color: var(--color-navy);
  box-shadow: 0 20px 34px rgba(245, 158, 11, 0.5);
}

.primary-button {
  background: linear-gradient(90deg, var(--color-emerald) 0%, var(--color-sky) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: 600;
}

.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.hero-card {
  background: linear-gradient(90deg, var(--color-emerald) 0%, var(--color-sky) 100%);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 30px 60px rgba(15, 118, 110, 0.25);
}

.hero-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions .nav-pill-button {
  width: fit-content;
}

.hero-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  margin: 0;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.hero-cta {
  background: var(--color-amber);
  color: var(--color-navy);
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 18px 30px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(245, 158, 11, 0.5);
}

.hero-link {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.hero-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.grid-two {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.map-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
  padding: 32px;
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}

.map-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.map-header span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.map-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.map-tile {
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.15);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-state {
  font-size: 14px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.9);
}

.map-count {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-amber);
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--color-navy-dark);
}

.card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.card-text-white {
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
}

.card-text.muted {
  color: rgba(100, 116, 139, 0.8);
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-emerald);
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.event-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.event-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

.event-title {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
  color: var(--color-navy-dark);
}

.event-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.event-location {
  font-size: 12px;
  color: rgba(100, 116, 139, 0.85);
  margin-top: 8px;
}

footer {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-navy-dark);
}

.credit-bouna{
  color: var(--color-muted);
}

.auth-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

.auth-sidebar {
  background: linear-gradient(135deg, var(--color-emerald), var(--color-sky));
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-sidebar h1 {
  font-size: 28px;
  margin: 0;
}

.auth-sidebar p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.auth-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
}

.field-hint,
.field-help {
  font-size: 13px;
  color: var(--color-muted);
  margin: -4px 0 4px;
}

.field-help {
  font-size: 12px;
  color: rgba(30, 41, 59, 0.8);
}

.field input,
.field select,
.field textarea,
.field .checkbox-inline {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
}

.field textarea {
  min-height: 90px;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 0;
}

.checkbox-inline input {
  width: 16px;
  height: 16px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(90deg, var(--color-emerald), var(--color-sky));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
}

.alert {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-left: 4px solid #10b981;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border-left: 4px solid #ef4444;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border-left: 4px solid #f59e0b;
}

.alert-info {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
  border-left: 4px solid #3b82f6;
}

@media (max-width: 720px) {
  .nav-inner,
  .main-wrapper,
  .auth-form,
  .auth-sidebar,
  .footer-inner {
    padding: 16px;
  }

  .nav-inner {
    justify-content: flex-start;
  }

  .brand-toggle-group {
    gap: 12px;
  }

  body.rtl .nav-inner {
    justify-content: flex-end;
  }

  body.rtl .brand-toggle-group {
    flex-direction: row-reverse;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .nav-actions {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: auto;
    width: min(360px, calc(100vw - 40px));
    padding: 18px 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    z-index: 20;
  }

  body.rtl .nav-actions {
    left: auto;
    right: 16px;
  }

  .nav-actions.is-open {
    display: flex;
  }

  .nav-actions select,
  .nav-actions .select-control,
  .nav-actions .nav-pill-button,
  .nav-actions .primary-button,
  .nav-actions .nav-pill-button.is-login {
    width: 100%;
    font-size: 14px;
    box-sizing: border-box;
  }

  .nav-actions .nav-pill-button,
  .nav-actions .primary-button {
    justify-content: center;
    font-size: 14px;
    padding: 12px 20px;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .nav-pill-button {
    width: 100%;
    justify-content: center;
  }

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

  .logo{
    width: 40%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flash-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.phone-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 160px 1fr;
}

.status-student,
.status-professional,
.status-trainee,
.status-other {
  display: none;
}

.field-group {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.checkbox-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-muted);
}

.checkbox-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.checkbox-consent span {
    line-height: 1.6;
}

.toggle-control {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    user-select: none;
}

.toggle-control-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-control-track {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #cbd5ff;
    transition: background 0.18s ease, box-shadow 0.18s ease;
    box-shadow: inset 0 1px 4px rgba(15, 23, 42, 0.12);
}

.toggle-control-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.18s ease;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.toggle-control-input:checked + .toggle-control-track {
    background: linear-gradient(135deg, #02dfa3, #1ca6ff);
    box-shadow: inset 0 1px 8px rgba(2, 143, 252, 0.18);
}

.toggle-control-input:checked + .toggle-control-track::after {
    transform: translateX(22px);
}

.toggle-control-label {
    font-size: 0.95rem;
    color: #0f172a;
}

.status-professional .field,
.status-trainee .field,
.status-other .field {
  display: flex;
  flex-direction: column;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border-left: 3px solid #ef4444;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.language-student {
  display: none;
}

.student-university {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}

.state-card-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.state-card-grid:not(.is-open) {
  display: none;
}

.state-controls {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
.state-toggle {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  color: #e2e8f0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.state-toggle:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(37, 99, 235, 0.45);
}
.state-toggle:focus {
  outline: 2px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
}

.state-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.state-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

.state-card-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}

.state-card-count {
  font-size: 24px;
  font-weight: 700;
  color: #f59e0b;
}

.map-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-swatch {
  width: 18px;
  height: 10px;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

germany-map {
  display: block;
  height: 420px;
  margin-top: 8px;
}

@media (max-width: 720px) {
  germany-map {
    height: 360px;
  }
}

.input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.mentor-section {
  margin-top: 48px;
}

.mentor-card {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  padding: 40px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mentor-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mentor-title {
  font-size: 26px;
  margin: 0;
  color: var(--color-navy-dark);
}

.mentor-subtitle {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

.mentor-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mentor-message {
  padding: 18px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.mentor-actions {
  display: flex;
  justify-content: flex-end;
}

.field-group {
  display: none;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 720px) {
  .top-nav {
    position: static;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    justify-content: center;
    font-size: 18px;
  }

  .nav-actions {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .select-control,
  .primary-button,
  .link-button,
  .nav-pill-button {
    width: 100%;
    justify-content: center;
  }

  .main-wrapper {
    padding: 32px 16px;
  }

  .hero-card {
    padding: 28px 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-two {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-card {
    padding: 26px;
    order: -1;
  }

  .mentor-section {
    margin-top: 32px;
  }

  .mentor-card {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mentor-intro {
    text-align: center;
    align-items: center;
  }

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

@media (max-width: 480px) {
  .nav-actions {
    gap: 8px;
  }

  .mentor-card {
    padding: 22px;
  }

  .hero-title {
    font-size: clamp(26px, 8.5vw, 38px);
  }

  .map-card {
    padding: 22px;
  }

  .mentor-actions {
    justify-content: center;
  }
}
.success-register {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 16px;
}

.success-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    max-width: 560px;
    width: 100%;
    padding: 56px 40px;
    text-align: center;
}

.success-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-icon {
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
}

.success-icon svg {
    width: 60px;
    height: 60px;
}

.success-message {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 32px;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.success-actions .link-button {
    padding: 12px 28px;
}

.success-actions .primary-button {
    padding: 14px 32px;
}


.logout-button {
    background: linear-gradient(135deg, var(--color-sky) 0%, #dc2626 100%);
    color: #fff;
    border: none;
}

.logout-button:hover {
    background: linear-gradient(135deg, var(--color-sky) 0%, #b91c1c 100%);
}

.state-toggle,
.ss-toggle {
    font-family: var(--font-main);
    font-weight: 600;
}

.event-showcase {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.event-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-emerald);
  font-weight: 600;
  font-size: 14px;
}

body.rtl .event-type {
  flex-direction: row-reverse;
}

.event-name {
  margin: 12px 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.event-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
}

.event-meta-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  flex: 1;
}

.event-card.is-rtl .event-meta-body {
  align-items: flex-end;
}

.event-card.is-rtl {
  direction: rtl;
  text-align: right;
}

.event-countdown {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.countdown-label {
  display: block;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
}

.countdown-value {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  direction: ltr;
}

.countdown-chunk {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 68px;
  font-weight: 600;
  color: var(--color-navy-dark);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.64);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}


.countdown-chunk .countdown-number {
  font-size: 18px;
  line-height: 1.2;
}

.countdown-chunk .countdown-unit {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
}

.countdown-separator {
  font-weight: 700;
  font-size: 20px;
  color: rgba(15, 23, 42, 0.35);
  align-self: center;
}

.event-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-sky);
}

.event-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

.event-value,
.event-value-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.event-time-value {
  white-space: nowrap;
}

.event-value-link {
  color: var(--color-sky);
}

.event-notes .event-icon {
  background: rgba(245, 158, 11, 0.14);
}

.event-notes .event-icon svg {
  fill: var(--color-amber);
}

body.rtl .event-meta-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .event-label {
  min-width: auto;
}

body.rtl .event-value,
body.rtl .event-value-link {
  text-align: right;
}

body.rtl .event-countdown {
  flex-direction: column;
  align-items: stretch;
}

body.rtl .countdown-label {
  text-align: right;
}

body.rtl .countdown-value {
  justify-content: flex-end;
}

body.rtl .countdown-chunk {
  align-items: center;
}

.admin-dashboard {
  max-width: 1200px;
  margin: 32px auto 48px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  padding: 24px 28px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.admin-panels {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.admin-card-title {
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--color-navy-dark);
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.field-grid--languages {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field-group--stacked {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-group-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.admin-table-wrapper {
  margin-top: 16px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 14px;
}

.admin-table th {
  background: rgba(15, 23, 42, 0.06);
  font-weight: 700;
  color: var(--color-navy-dark);
}

.danger-button,
.danger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: transparent;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.danger-button:hover,
.danger-link:hover {
  background: rgba(239, 68, 68, 0.12);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}

.danger-link {
  text-decoration: none;
}

.admin-events {
  background: #fff;
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.admin-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-event-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(248, 250, 252, 0.6);
}

.admin-event-locales {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.locale-line {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
}

.locale-line strong {
  font-weight: 700;
  color: var(--color-navy-dark);
}

@media (max-width: 1024px) {
  .admin-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-event-item {
    flex-direction: column;
  }
}

body.rtl .admin-header,
body.rtl .admin-event-item {
  flex-direction: row-reverse;
}

body.rtl .admin-table th,
body.rtl .admin-table td {
  text-align: right;
}
