/* ==========================================================
   BlinkRT Auth — Premium Dark Theme 2026
   ========================================================== */

.auth-body {
  background: #0A0A0A;
  color: #E5E7EB;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(244, 197, 66, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
  pointer-events: none;
  animation: authBgPulse 8s ease-in-out infinite alternate;
}

@keyframes authBgPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

.auth-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: rgba(16, 16, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 175, 55, 0.05);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #D4AF37;
  margin-bottom: 1rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: #6B7280;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.auth-link {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-link:hover {
  color: #F4C542;
  text-decoration: underline;
}

.auth-footer-text {
  color: #6B7280;
  font-size: 0.875rem;
}

/* Form */
.auth-body .form-label {
  color: #9CA3AF;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.auth-body .input-group {
  border-radius: 10px;
  overflow: hidden;
}

.auth-body .input-group-text {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  color: #6B7280;
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
}

.auth-body .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E5E7EB;
  border-radius: 0 10px 10px 0;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.auth-body .form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  color: #fff;
}

.auth-body .form-control::placeholder {
  color: #4B5563;
}

.auth-body .input-group:focus-within .input-group-text {
  border-color: #D4AF37;
  color: #D4AF37;
}

.auth-body .form-check-input {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.auth-body .form-check-input:checked {
  background-color: #D4AF37;
  border-color: #D4AF37;
}

.auth-body .form-check-label {
  color: #9CA3AF;
  font-size: 0.875rem;
}

.auth-body .btn-gold {
  background: linear-gradient(135deg, #D4AF37, #F4C542);
  color: #000;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.auth-body .btn-gold:hover {
  background: linear-gradient(135deg, #F4C542, #D4AF37);
  color: #000;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.auth-body .btn-gold:active {
  transform: translateY(0);
}

.auth-body .alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
  border-radius: 10px;
  font-size: 0.875rem;
}
