:root {
  --primary: hsl(33, 93%, 54%);
  --primary-dark: hsl(33, 93%, 44%);
  --bg-light: #ffffff;
  --light-gray: #F8F9FA;
  --bg-card: #f9f9f9;
  --text-dark: #1e293b;
  --text-muted: #6b7280;
  --error: #ef4444;
  --border-light: #d1d5db;
}

/* -----------------------------
   RESET & BASE STYLES
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

body {
  background-color: var(--light-gray);
  color: var(--text-dark);
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* -----------------------------
   FORM CONTAINER
------------------------------ */
.form-container {
  background: var(--bg-light);
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 460px;
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card {
  padding: 40px 30px;
}

/* -----------------------------
   LOGO
------------------------------ */
.logo-container {
  display: flex;
  justify-content: center;
  margin: 25px;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* -----------------------------
   TITLE
------------------------------ */
.title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
}

/* -----------------------------
   INPUT FIELDS
------------------------------ */
.input-container {
  position: relative;
  margin-bottom: 25px;
}

.input-container input {
  width: 100%;
  padding: 14px 42px 14px 18px;
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.input-container input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.input-container label {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: 0.3s ease;
  pointer-events: none;
}

.input-container input:focus ~ label,
.input-container input:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 14px;
  background: var(--bg-card);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0 6px;
}

/* -----------------------------
   PASSWORD EYE ICON
------------------------------ */
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--primary);
}

/* -----------------------------
   FORGOT PASSWORD
------------------------------ */
.forgot-password {
  display: block;
  text-align: right;
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* -----------------------------
   TERMS & CONDITIONS
------------------------------ */
.tnc {
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 25px 0 18px;
}

.tnc a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.tnc a:hover {
  text-decoration: underline;
}

/* -----------------------------
   BUTTON
------------------------------ */
.btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* -----------------------------
   DIVIDER
------------------------------ */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 25px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-light);
}

.divider:not(:empty)::before {
  margin-right: 0.75em;
}

.divider:not(:empty)::after {
  margin-left: 0.75em;
}

/* -----------------------------
   GOOGLE BUTTON
------------------------------ */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 35px;
  border: 1px solid var(--border-light);
  background: white;
  color: #444;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.google-btn img {
  width: 24px;
  height: 24px;
}

.google-btn:hover {
  background-color: #f5f5f5;
  border-color: var(--primary);
  color: var(--primary);
}

/* -----------------------------
   GOOGLE DIVIDER
------------------------------ */
.google-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-transform: lowercase;
  margin: 20px 0;
  gap: 10px;
}

.google-divider::before,
.google-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* -----------------------------
   SIGN-IN / SIGN-UP LINK
------------------------------ */
.signin-link {
  text-align: center;
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.signin-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.signin-link a:hover {
  text-decoration: underline;
}

/* -----------------------------
   RESPONSIVE ADJUSTMENTS
------------------------------ */
@media (max-width: 480px) {
  .form-card {
    padding: 30px 20px;
  }

  .logo img {
    width: 140px;
  }
}
