/* ===================================
   Auth Page Styles
   =================================== */

.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  animation: slideUp 0.5s ease-out;
}

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

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.auth-header h1 {
  font-size: 1.5rem;
  color: #1E293B;
  margin-bottom: 8px;
}

.auth-header p {
  color: #64748B;
  font-size: 0.95rem;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: #F1F5F9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 25px;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: white;
  color: #10B981;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
  color: #1E293B;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.alert-error {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.alert-success {
  background: #D1FAE5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form.hidden {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-group input {
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder {
  color: #9CA3AF;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #10B981;
}

.checkbox-label a {
  color: #10B981;
  text-decoration: underline;
}

.forgot-link {
  color: #10B981;
  font-weight: 500;
}

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

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Auth Footer */
.auth-footer {
  margin-top: 30px;
  text-align: center;
}

.auth-footer p {
  color: #9CA3AF;
  font-size: 0.85rem;
  margin-bottom: 15px;
  position: relative;
}

.auth-footer p::before,
.auth-footer p::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: #E5E7EB;
}

.auth-footer p::before {
  left: 20px;
}

.auth-footer p::after {
  right: 20px;
}

.social-login {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid #E5E7EB;
  background: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.social-btn span {
  font-weight: 700;
  font-size: 1.1rem;
}

.social-btn.google span {
  background: linear-gradient(135deg, #EA4335, #FBBC05, #34A853, #4285F4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-btn.facebook span {
  color: #1877F2;
}

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .auth-footer p::before,
  .auth-footer p::after {
    width: 40px;
  }

  .auth-footer p::before {
    left: 10px;
  }

  .auth-footer p::after {
    right: 10px;
  }
}
