/* --- Variables System --- */
:root {
  --bg-dark: #0a0b0d;
  --bg-card: #121316;
  --bg-btn: #28292c;
  --border-color: rgba(255, 255, 255, 0.08);
  --cyan-neon: #00f2fe;
  --purple-neon: #9d4edd;
  --lime-neon: #ccff00;
  --text-main: #ffffff;
  --text-muted: #e1e6ed;
  --main-neon: var(--cyan-neon);
}

/* --- Global Reset & Body --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* --- Layout Container --- */
.containerForm {
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-btn);
}

.form-box {
  background-color: var(--bg-card);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  width: 50%;
  margin: auto;
}

.form-box h2 {
  color: var(--text-main);
  font-size: 1.6rem;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.5px;
}

.form-box .subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  text-align: center;
}

/* --- Form Controls --- */
.input-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.label,
label {
  color: var(--text-main);
  font-size: 0.88rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.required {
  color: #ff4d4d;
  margin-left: 2px;
}

.input {
  width: 100%;
  padding: 11px 14px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.input::placeholder {
  color: #6c757d;
}

.input:focus {
  border-color: var(--main-neon);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.25);
}

.input option {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

/* --- Buttons --- */
.btnForm {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background-color: var(--main-neon);
  border: none;
  border-radius: 6px;
  color: #0a0b0d;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btnForm:hover {
  background-color: var(--purple-neon);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

/* --- Options & Links --- */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-main);
}

.remember-me input {
  accent-color: var(--main-neon);
  cursor: pointer;
}

.forgot-link {
  color: var(--main-neon);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  text-decoration: underline;
  color: var(--purple-neon);
}

.signup-link,
.login-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  margin-top: 22px;
}

.signup-link a,
.login-link a {
  color: var(--main-neon);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link a:hover,
.login-link a:hover {
  text-decoration: underline;
  color: var(--purple-neon);
}

.contact-form-container {
  width: 100%;
  max-width: 531px;
}

@media (max-width: 768px) {
  .form-box {
    width: 100%;
  }
}
