/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.auth-body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #81fc8b, #ffffff); /* soft green fade */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 16px;
}

/* Auth Container */
.auth-container {
  background-color: white;
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 445px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid #e0f2f1;
}

/* Groceit Branding */
.logo-img {
  width: 60px;
  margin-bottom: 12px;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #00c853;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 24px;
}

/* Input Fields */
form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* Login Button */
form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #00c853;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 14px;
}

form button[type="submit"]:hover {
  background-color: #00b247;
}

/* OR Divider */
.or-text {
  margin: 12px 0;
  color: #888;
  font-size: 0.85rem;
}

/* Support Button */
.support-btn {
  margin-top: 10px;
  background-color: #fffde7;
  color: #fbc02d;
  border: 1px solid #fbc02d;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
}

.support-btn:hover {
  background-color: #fff9c4;
}

/* Switch Link */
.switch-link {
  margin-top: 12px;
  font-size: 0.9rem;
}

.switch-link a {
  color: #00c853;
  text-decoration: none;
}

.switch-link a:hover {
  text-decoration: underline;
}

/* Loader */
.loader {
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #00c853;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .auth-container {
    padding: 24px 16px;
  }
}

