:root {
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: #192321;
  background: #f3f0e8;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(circle at 12% -8%, rgba(211, 107, 61, 0.13), transparent 28rem),
    radial-gradient(circle at 96% 106%, rgba(36, 77, 67, 0.12), transparent 32rem),
    #f3f0e8;
}

button, input { font: inherit; }
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}
.login-card {
  width: min(100%, 430px);
  padding: 42px;
  border: 1px solid #dcd8ce;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 64px rgba(35, 44, 40, 0.12);
}
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 15px;
  color: white;
  background: #244d43;
  font: 700 25px/1 Georgia, serif;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.eyebrow {
  margin: 0 0 8px;
  color: #d36b3d;
  font: 800 11px/1.2 ui-monospace, monospace;
  letter-spacing: .12em;
}
h1 { margin: 0; font-size: 29px; letter-spacing: -.045em; }
.description { margin: 12px 0 30px; color: #66716d; font-size: 14px; line-height: 1.65; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
label:not(:first-of-type) { margin-top: 16px; }
.password-row { position: relative; }
input {
  width: 100%;
  height: 50px;
  padding: 0 66px 0 14px;
  border: 1px solid #c7c1b4;
  border-radius: 11px;
  color: #192321;
  background: white;
  outline: none;
}
#editorName { padding-right: 14px; }
input:focus { border-color: #244d43; box-shadow: 0 0 0 3px rgba(36, 77, 67, .12); }
.show-button {
  position: absolute;
  top: 7px;
  right: 7px;
  height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  color: #66716d;
  background: transparent;
  cursor: pointer;
}
.show-button:hover { background: #f3f0e8; }
.error-message { min-height: 22px; margin: 8px 0 5px; color: #b13e38; font-size: 12px; }
.login-button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 11px;
  color: white;
  background: #244d43;
  font-weight: 800;
  cursor: pointer;
}
.login-button:hover { background: #18382f; }
.login-button:disabled { opacity: .6; cursor: wait; }
.security-note { margin: 20px 0 0; color: #89918e; font-size: 11px; text-align: center; }

@media (max-width: 520px) {
  .login-card { padding: 32px 24px; border-radius: 18px; }
  h1 { font-size: 26px; }
}
