/* Login page styles - Premium Apple Light Refactoring */

.login-body {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 400px at 15% 15%, rgba(0, 102, 204, 0.03), transparent 50%),
    radial-gradient(600px 300px at 85% 85%, rgba(52, 199, 89, 0.02), transparent 50%),
    #f5f5f7;
  z-index: 0;
}

.login-shell {
  position: relative;
  z-index: 2;
  width: min(420px, 92vw);
  padding: 24px;
}

.login-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  animation: cardEntry 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.02);
}

.login-brand {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accents-4);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.login-brand-link span {
  color: #1d1d1f;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.login-github-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  color: var(--accents-4);
}

.login-title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.018em;
}

.login-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: var(--accents-4);
}

.login-form {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.login-input {
  height: 38px;
  font-size: 13px;
  background: #ffffff;
  border-color: #d2d2d7;
}

.login-input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.login-button {
  height: 38px;
  font-size: 13px;
  justify-content: center;
  font-weight: 500;
  margin-top: 4px;
  background: #1d1d1f;
  color: #ffffff;
}

.login-button:hover {
  background: #000000;
}

.login-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--accents-4);
  text-align: center;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .login-shell {
    width: min(420px, 94vw);
    padding: 16px;
  }

  .login-card {
    padding: 22px 18px;
  }

  .login-form {
    margin-top: 16px;
    gap: 10px;
  }

  .login-input,
  .login-button {
    height: 38px;
    font-size: 13px;
  }

  .login-note {
    font-size: 12px;
  }
}
