/* ================================================
   Pulsoid Login Page Styles
   ================================================ */

/* ================================================
   Base
   ================================================ */

.login-page {
  background: var(--background);
  font-family: var(--font-family);
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   Section
   ================================================ */

.login-section {
  padding: 20px 24px;
  background: linear-gradient(180deg, #0a0a0e 0%, #101015 50%, #0a0a0e 100%);
}

.login-inner {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

/* ================================================
   Title
   ================================================ */

.login-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 32px;
}

/* ================================================
   OAuth Buttons
   ================================================ */

.login-oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  width: 100%;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-primary);
}

.login-button:hover {
  transform: translateY(-2px);
}

.login-button--twitch {
  background: #6441A5;
  box-shadow: 0 4px 16px rgba(100, 65, 165, 0.3);
}

.login-button--twitch:hover {
  background: #7b57c0;
  box-shadow: 0 6px 24px rgba(100, 65, 165, 0.4);
}

.login-button--google {
  background: #4285F4;
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
}

.login-button--google:hover {
  background: #5a9bf4;
  box-shadow: 0 6px 24px rgba(66, 133, 244, 0.4);
}

.login-button--discord {
  background: #5865F2;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
}

.login-button--discord:hover {
  background: #6d78f5;
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4);
}

.login-button--kick {
  background: #53FC18;
  color: #000000;
  box-shadow: 0 4px 16px rgba(83, 252, 24, 0.3);
}

.login-button--kick:hover {
  background: #66ff35;
  box-shadow: 0 6px 24px rgba(83, 252, 24, 0.4);
}

/* ================================================
   Divider
   ================================================ */

.login-divider {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-1);
}

.login-divider span {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ================================================
   Email Form
   ================================================ */

.login-email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.login-errors {
  color: #ff8670;
  font-size: 14px;
  text-align: left;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--brand-teal);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.login-input::placeholder {
  color: var(--text-muted);
}

.login-input:focus {
  border-color: var(--brand-teal-light);
  box-shadow: 0 0 0 3px var(--brand-teal-glow);
}

/* ================================================
   Captcha
   ================================================ */

.login-captcha {
  display: flex;
  justify-content: center;
}

/* ================================================
   Legal
   ================================================ */

.login-legal {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.login-legal a {
  color: var(--brand-teal);
  text-decoration: none;
}

.login-legal a:hover {
  color: var(--brand-teal-light);
}

/* ================================================
   Submit Button
   ================================================ */

.login-submit {
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--brand-teal) 0%, #059e95 100%);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--brand-teal-glow);
}

.login-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--brand-teal-light) 0%, var(--brand-teal) 100%);
  box-shadow: 0 6px 30px var(--brand-teal-glow);
  transform: translateY(-1px);
}

.login-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ================================================
   Links
   ================================================ */

.login-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.login-links a {
  color: var(--brand-teal);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease;
}

.login-links a:hover {
  color: var(--brand-teal-light);
}

/* ================================================
   Responsive
   ================================================ */

@media (min-width: 768px) {
  .login-title {
    font-size: 42px;
  }
}
