/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #f9fbfd, #e9eff5);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

/* Auth Container */
.auth-container {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 360px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.auth-container h2 {
  margin-bottom: 1.5rem;
  color: #222;
  font-size: 1.5rem;
}

.auth-container input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.2s ease;
  font-size: 0.95rem;
}
.auth-container input:focus {
  outline: none;
  border-color: #004aad;
}

/* Button */
.auth-container button {
  background: #004aad;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  width: 100%;
  transition: background 0.2s ease;
}
.auth-container button:hover {
  background: #003080;
}

/* Links and Messages */
.auth-container p {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.auth-container a {
  color: #004aad;
  text-decoration: none;
  font-weight: 500;
}
.auth-container a:hover {
  text-decoration: underline;
}

.message {
  color: red;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
/* 🌐 Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(to right, #e0ecff, #ffffff);
  color: #222;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 🔒 Auth Container */
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.auth-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  width: 100%;
}

.auth-card h2 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #004aad;
}

/* 📝 Input Fields */
.auth-card input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background: #f9f9f9;
  transition: border 0.3s;
}

.auth-card input:focus {
  border-color: #004aad;
  outline: none;
}

/* 🚀 Buttons */
.auth-card button,
.login-box button {
  width: 100%;
  padding: 12px;
  background: #004aad;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-card button:hover,
.login-box button:hover {
  background: #003080;
}

/* 🔁 Switch Text */
.switch-text {
  margin-top: 10px;
  font-size: 13px;
  color: #333;
}

.switch-text a {
  color: #004aad;
  text-decoration: none;
  font-weight: bold;
}
.switch-text a:hover {
  text-decoration: underline;
}

/* ⚠️ Message Box */
.message {
  margin-top: 10px;
  font-size: 13px;
  color: red;
  text-align: center;
}

/* 📦 Login Box (for Google login) */
.login-box {
  display: none; /* You already have Google login inside auth-card */
}

/* 📱 Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 20px;
  }
}

/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(to right, #eaf2ff, #f5faff);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}

/* Card */
.auth-card {
  background: #fff;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Heading */
.auth-card h2 {
  font-size: 1.5rem;
  color: #003e9c;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Inputs */
.auth-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

/* Main Login Button */
.auth-card button {
  width: 100%;
  padding: 12px;
  background-color: #0047ab;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-card button:hover {
  background-color: #003380;
}

/* Switch to Signup */
.switch-text {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}

.switch-text a {
  color: #0047ab;
  text-decoration: none;
  font-weight: 600;
}

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

/* Error / Message */
.message {
  margin-top: 10px;
  font-size: 14px;
  color: red;
}

/* Google Button */
.google-btn {
  margin-top: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #444;
  font-weight: 500;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.google-btn img {
  width: 20px;
  height: 20px;
}

.google-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
}
