/* ------------------------------
       GLOBAL STYLES
    ------------------------------ */
* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f6f8;
  color: #111;
}

a {
  text-decoration: none;
}

/* ------------------------------
       MAIN SECTION
    ------------------------------ */
.account-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

/* ------------------------------
       CARD BOX
    ------------------------------ */
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 420px;
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ------------------------------
       HEADING
    ------------------------------ */
.login-heading {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.otp-text {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.8rem;
}

/* ------------------------------
       FORM FIELDS
    ------------------------------ */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.3rem;
}

.form-group label {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 0.4rem;
}

.form-group span {
  color: red;
}

.form-group input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #000;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

/* ------------------------------
       PRIVACY TEXT
    ------------------------------ */
.privacy {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 1.2rem;
}

/* ------------------------------
       REGISTER BUTTON
    ------------------------------ */
.login-btn {
  width: 100%;
  padding: 0.9rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.login-btn:hover {
  background: #333;
}

/* ------------------------------
       LOGIN LINK
    ------------------------------ */
.register-text {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 1.5rem;
}

.register-text a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.register-text a:hover {
  text-decoration: underline;
}

/* ------------------------------
       RESPONSIVE DESIGN
    ------------------------------ */
@media (max-width: 480px) {
  .login-card {
    max-width: 340px;
    padding: 2rem 1.5rem;
  }
}



.error-box {
  background: #ffe5e5;
  border: 1px solid #ffb3b3;
  color: #d9534f;
  padding: 12px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  animation: fadeIn 0.3s ease-out;
}

.error-box i {
  font-size: 18px;
  color: #d9534f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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