/* Login Page CSS */

.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(37, 99, 235, 0.08) 0%,
    transparent 50%
  );
  padding: 1rem;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(31, 41, 55, 0.85); /* Slightly more opaque */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mb-lg {
  margin-bottom: 2rem;
}
.mt-md {
  margin-top: 1.5rem;
}
.mt-lg {
  margin-top: 2rem;
}

.full-width {
  width: 100%;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-btn {
  justify-content: center;
  font-weight: 500;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.3);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.link-sm {
  font-size: 0.85rem;
  color: var(--primary);
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.lock-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  z-index: 1;
}

.form-input.with-icon {
  padding-left: 2.5rem;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.link-highlight {
  color: var(--primary);
  font-weight: 500;
}

.login-footer {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.2);
}

.login-footer a:hover {
  color: var(--text-muted);
}
