.auth-page {
  min-height: calc(100vh - 220px);
  background: #f0f4f8;
  display: flex;
  align-items: center;
  padding: 2rem 0 3.5rem;
}

.auth-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* ── Sidebar ── */
.auth-sidebar {
  background: linear-gradient(160deg, #00a652 0%, #007a3d 100%);
  color: white;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-sidebar::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.auth-sidebar::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.auth-sidebar-top { position: relative; z-index: 1; }
.auth-sidebar-bottom { position: relative; z-index: 1; }

.auth-sidebar h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.auth-sidebar p {
  opacity: 0.88;
  font-size: 0.95rem;
  line-height: 1.65;
}

.auth-trust-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.auth-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.auth-trust-list li i {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-logo-wrap {
  text-align: center;
  margin-top: 2rem;
}

.auth-logo-wrap img {
  max-width: 130px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.auth-logo-wrap p {
  font-size: 0.78rem;
  margin-top: 0.5rem;
  opacity: 0.75;
  letter-spacing: 0.3px;
}

/* ── Form Panel ── */
.auth-form {
  padding: 48px 44px 44px;
}

.auth-form h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
}

.auth-form .auth-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

/* Google button */
.social-login-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  background: white;
  font-size: 0.93rem;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.social-login-btn:hover {
  background: #fafafa;
  border-color: #bdbdbd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 1.3rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e9ecef;
}

.divider span {
  padding: 0 12px;
  color: #adb5bd;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Inputs */
.auth-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.auth-form .form-control {
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  padding: 0.65rem 0.9rem;
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus {
  border-color: #00a652;
  box-shadow: 0 0 0 3px rgba(0, 166, 82, 0.12);
}

.auth-form .input-group .form-control {
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.auth-form .input-group .btn-outline-secondary {
  border-radius: 0 10px 10px 0;
  border: 1.5px solid #e0e0e0;
  border-left: none;
  color: #6c757d;
  background: white;
  padding: 0 14px;
}

.auth-form .input-group .btn-outline-secondary:hover {
  background: #f8f9fa;
  color: #333;
}

.auth-form .input-group:focus-within .btn-outline-secondary {
  border-color: #00a652;
}

.auth-form .form-text {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.3rem;
}

/* Checkboxes */
.auth-form .form-check-label {
  font-size: 0.85rem;
  color: #555;
}

.auth-form .form-check-input:checked {
  background-color: #00a652;
  border-color: #00a652;
}

.auth-form .form-check-label a {
  color: #00a652;
  font-weight: 500;
  text-decoration: none;
}

.auth-form .form-check-label a:hover { text-decoration: underline; }

/* Forgot password link */
.auth-form a.forgot-link {
  font-size: 0.85rem;
  color: #00a652;
  text-decoration: none;
  font-weight: 500;
}

.auth-form a.forgot-link:hover { text-decoration: underline; }

/* Submit buttons */
.auth-form .btn-signin,
.auth-form .btn-signup {
  background: #00a652;
  border: none;
  border-radius: 10px;
  padding: 0.72rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.auth-form .btn-signin:hover,
.auth-form .btn-signup:hover {
  background: #008f46;
  box-shadow: 0 4px 14px rgba(0, 166, 82, 0.35);
  transform: translateY(-1px);
}

.auth-form .btn-signin:active,
.auth-form .btn-signup:active { transform: translateY(0); }

/* Bottom prompt links */
.auth-form .signup-prompt,
.auth-form .signin-prompt {
  font-size: 0.88rem;
  color: #6c757d;
}

.auth-form .signup-prompt a,
.auth-form .signin-prompt a {
  color: #00a652;
  font-weight: 600;
  text-decoration: none;
}

.auth-form .signup-prompt a:hover,
.auth-form .signin-prompt a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .auth-form { padding: 36px 28px; }
}
