/* 이 파일이 하는 일: 로그인 화면 꾸미기 */

:root {
  --orange: #F68220;
  --orange-dark: #E0710F;
  --ink: #1F1D1B;
  --ink-soft: #4A453F;
  --ink-faint: #8A8176;
  --line: #D6D0C9;
  --card-line: #E3DED7;
  --ground: #F5F3F0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--ground);
  color: var(--ink);
  font-family: 'IBM Plex Sans KR', system-ui, sans-serif;
}

.box {
  width: 100%;
  max-width: 440px;
  padding: 52px 48px 40px;
  background: #ffffff;
  border: 1px solid var(--card-line);
  border-radius: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.logo { width: 224px; max-width: 100%; height: auto; }
.sys {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #6B645C;
  letter-spacing: 0.02em;
}

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.field input {
  height: 52px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(246, 130, 32, 0.22);
}

button {
  height: 54px;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  background: var(--orange);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
button:hover { background: var(--orange-dark); }
button:active { transform: translateY(1px); }

.hint {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
}

.alert {
  margin: 0 0 22px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #A32015;
  background: #FDECEA;
  border: 1px solid #F3C9C3;
  border-radius: 10px;
}

@media (max-width: 480px) {
  body { align-items: flex-start; padding: 56px 20px; }
  .box { padding: 36px 24px 32px; border-radius: 16px; }
  .logo { width: 200px; }
}
/* 로그인 유지 (10/17 as-stable1) */
.keep { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink); cursor: pointer; min-height: 44px; }
.keep input { width: 22px; height: 22px; margin: 0; accent-color: var(--orange-dark); }
.form + .hint { margin-top: 16px; }
