/* ============================================
   AUTH SCREENS - Login, Register, Forgot Password
   ============================================ */

.auth-screen {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #0b0d12 0%, #12151d 50%, #0b0d12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow-y: auto;
}

.auth-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(35, 209, 96, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(35, 209, 96, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.auth-container {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 21, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(20px);
}

.auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}

.auth-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(35, 209, 96, 0.5);
  color: #fff;
  transform: translateX(-2px);
}

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

.auth-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 209, 96, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(35, 209, 96, 0.2);
  padding: 16px;
}

.auth-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.auth-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

.auth-alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease;
}

.auth-alert-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

.auth-alert-success {
  background: rgba(35, 209, 96, 0.15);
  border: 1px solid rgba(35, 209, 96, 0.3);
  color: #86efac;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-field label svg {
  color: rgba(255, 255, 255, 0.5);
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(35, 209, 96, 0.5);
  box-shadow: 0 0 0 3px rgba(35, 209, 96, 0.1);
}

.form-field input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-link-btn {
  background: none;
  border: none;
  color: rgba(35, 209, 96, 0.9);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.auth-link-btn:hover {
  color: #23d160;
  text-decoration: underline;
}

.auth-link-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-primary-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #23d160 0%, #12a14a 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(35, 209, 96, 0.3);
  margin-top: 8px;
}

.auth-primary-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 209, 96, 0.4);
}

.auth-primary-btn:active:not(:disabled) {
  transform: translateY(0);
}

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

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-footer {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .auth-header h1 {
    font-size: 24px;
  }

  .auth-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
}

