/* Leros Capital Authentication Styles */

.auth-card {
  background: rgba(22, 27, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
  max-width: 480px;
  width: 100%;
}

.auth-tabs .nav-link {
  color: rgba(255, 255, 255, 0.6);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.auth-tabs .nav-link:hover {
  color: #ffffff;
}

.auth-tabs .nav-link.active {
  color: #ffffff;
  background: transparent;
  border-bottom: 2px solid #38bdf8;
}

.passkey-icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0.04) 70%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.passkey-icon-wrapper.pulsing {
  animation: passkeyPulse 2s infinite ease-in-out;
}

@keyframes passkeyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(56, 189, 248, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    transform: scale(1);
  }
}

.form-control-dark {
  background-color: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f6fc;
}

.form-control-dark:focus {
  background-color: rgba(13, 17, 23, 0.95);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25);
}

.form-control-dark::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.btn-passkey {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.btn-passkey:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
}

.domain-badge {
  background-color: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
