*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.login-page-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 45%, #1e40af 100%);
}

.login-box {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 32px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  text-align: center;
}

.login-box h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.login-sub {
  margin: 0 0 32px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.login-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 26px;
  text-align: left;
}

.login-input {
  width: 100%;
  margin: 0;
  padding: 17px 18px;
  min-height: 56px;
  font-size: 16px;
  line-height: 1.5;
  font-family: inherit;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  outline: none;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.login-input:hover {
  border-color: #cbd5e1;
  background-color: #fff;
}

.login-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.login-input:focus {
  background-color: #fff;
  border-color: #3b82f6;
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.login-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: transform 0.1s, box-shadow 0.15s;
}

.login-btn:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.login-btn:active {
  transform: scale(0.98);
}

.login-msg {
  margin-top: 14px;
  min-height: 22px;
  font-size: 14px;
  color: #dc2626;
}

.login-hint {
  margin: 22px 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}
