/* ==================== AUTH PAGES STYLES ==================== */

/* Auth Container */
.auth-container {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 10;
  animation: slideIn 0.6s ease;
  margin: 0 auto;
  padding: 20px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glass Card */
.auth-glass-card {
  background: rgba(240, 253, 244, 0.3);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), inset 0 2px 0 rgba(255,255,255,0.5);
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 35px;
}

.glass-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: float-logo 3s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.glass-logo i {
  font-size: 2.8rem;
  color: var(--color-primary);
  filter: drop-shadow(0 2px 4px rgba(22, 163, 74, 0.3));
}

.auth-title {
  font-size: 2rem;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}

.auth-subtitle {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Capsule Input */
.input-capsule {
  margin-bottom: 20px;
}

.input-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.input-wrapper:hover {
  border-color: rgba(22, 163, 74, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.15);
}

.input-wrapper:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
  transform: translateY(-2px);
}

.input-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(22, 163, 74, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
  background: rgba(22, 163, 74, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.input-icon i {
  font-size: 1.1rem;
  color: var(--color-primary);
}

.capsule-input {
  width: 100%;
  padding: 16px 70px 16px 25px;
  background: transparent;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  font-weight: 500;
}

.capsule-input::placeholder {
  color: #64748b;
}

/* Options Row */
.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0;
  font-size: 0.9rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #475569;
  font-weight: 500;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.forgot-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.forgot-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--color-primary), #10b981);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer Links */
.footer-links {
  text-align: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid rgba(203, 213, 225, 0.3);
}

.footer-links p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-links a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Toast & Loading - already in login.html */

/* Responsive */
@media (max-width: 768px) {
  .auth-glass-card {
    padding: 40px 25px;
  }
}
