* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: radial-gradient(circle at right, #111 0%, #000 60%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* MAIN */
.auth-wrapper {
  display: flex;
  width: 1000px;
  max-width: 95%;
  height: 620px;
  overflow: hidden;

  /* حيدنا الكادر */
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
}


/* LEFT IMAGE */
.auth-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #0b1a2a, #000);
  overflow: hidden;
}

/* الفيديو */
.auth-video {
  width: 75%;          /* ← هنا التصغير الحقيقي */
  max-width: 520px;    /* حد أقصى */
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  transform: translateY(10px);
}

/* badge */
.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
}

/* MOBILE */
@media (max-width: 900px) {
  .auth-video {
    width: 90%;
    max-width: none;
  }
}


/* RIGHT FORM */
.auth-form {
  flex: 1;
  padding: 60px 50px;

  /* حيدنا الخلفية */
  background: transparent;
}


.auth-form h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

.auth-form h1 span {
  opacity: 0.6;
}

.small-text {
  font-size: 14px;
  margin-bottom: 30px;
  color: #aaa;
}

.small-text a {
  color: #fff;
  text-decoration: underline;
}

/* INPUTS */
input {
  width: 100%;
  padding: 15px 18px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 15px;
}

input::placeholder {
  color: #888;
}

/* BUTTON */
button {
  margin-top: 10px;
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #1f1f1f, #000);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}

.arrow {
  width: 36px;
  height: 36px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* TERMS */
.terms {
  margin-top: 25px;
  font-size: 12px;
  color: #777;
}

.terms a {
  color: #aaa;
}

/* MOBILE */
@media (max-width: 900px) {
  .auth-wrapper {
    flex-direction: column;
    height: auto;
  }

  .auth-image {
    height: 250px;
  }
}
.terms-text {
  font-size: 13px;
  color: #9ca3af;
  margin-top: -1px;   /* نقصها باش تطلع لفوق */
  line-height: 1.5;
}


.terms-text a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.terms-text a:hover {
  text-decoration: underline;
}
/* TERMS CHECKBOX */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #9ca3af;
  transform: translateY(-10px);
  cursor: pointer;
  line-height: 1.4;
}

.terms-check input {
  display: none;
}

/* Custom box */
.terms-check .checkmark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #374151;
  background: rgba(255,255,255,0.03);
  position: relative;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

/* Hover */
.terms-check:hover .checkmark {
  border-color: #6366f1;
}

/* Checked state */
.terms-check input:checked + .checkmark {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
}

/* Check icon */
.terms-check input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

/* Text */
.terms-text {
  max-width: 320px;
}

.terms-text a {
  color: #a5b4fc;
  text-decoration: none;
}

.terms-text a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .terms-check {
    font-size: 12px;
  }

  .terms-check .checkmark {
    width: 16px;
    height: 16px;
  }
}
/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  direction: ltr;
}


/* LOGO */
.logo {
  height: 30px;
  width: auto;
  background: none;
}

/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: 0.25s;
}

.nav-links li a:hover {
  opacity: 0.6;
}

/* BURGER */
.menu-btn {
  display: none;
  font-size: 32px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 850px) {

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 50%;
    transform: translateX(50%);
    width: 90%;
    background: #000;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    gap: 25px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    color: #fff;
    font-size: 18px;
  }
}
