*{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  min-height:100%;
  margin:0;
}

body{
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    Arial,
    sans-serif;

  background:
    linear-gradient(
      135deg,
      #f7f9f7 0%,
      #edf3ef 100%
    );

  color:#222;
}

button,
input{
  font:inherit;
}

.login-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 18px;
}

.login-card{
  width:min(430px,100%);
  padding:42px 40px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  background:#fff;
  box-shadow:
    0 20px 60px
    rgba(31,57,45,.10);
}

.login-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:38px;
}

.login-brand-mark{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:#2f5c48;
  color:#fff;
  font-size:18px;
  font-weight:800;
}

.login-brand strong{
  color:#2f5c48;
  font-size:18px;
  letter-spacing:.03em;
}

.login-heading{
  margin-bottom:28px;
}

.login-eyebrow{
  margin:0 0 7px;
  color:#769084;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
}

.login-heading h1{
  margin:0 0 9px;
  color:#222;
  font-size:30px;
}

.login-heading>p:last-child{
  margin:0;
  color:#888;
  font-size:13px;
  line-height:1.6;
}

.login-error{
  margin-bottom:18px;
  padding:12px 14px;
  border:1px solid #eccccc;
  border-radius:10px;
  background:#fff5f5;
  color:#b55353;
  font-size:12px;
}

.login-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.login-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.login-field label{
  color:#444;
  font-size:12px;
  font-weight:700;
}

.login-field input{
  width:100%;
  height:46px;
  padding:0 13px;
  border:1px solid #ddd;
  border-radius:10px;
  background:#fff;
  color:#333;
  font-size:14px;
  outline:none;
}

.login-field input:focus{
  border-color:#2f5c48;
  box-shadow:
    0 0 0 3px
    rgba(47,92,72,.08);
}

.password-input-wrap{
  position:relative;
}

.password-input-wrap input{
  padding-right:65px;
}

.password-toggle{
  position:absolute;
  top:50%;
  right:8px;
  height:30px;
  padding:0 9px;
  border:0;
  border-radius:7px;
  background:#f3f5f4;
  color:#66736d;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  transform:translateY(-50%);
}

.remember-row{
  display:flex;
  align-items:center;
  gap:8px;
  width:max-content;
  cursor:pointer;
}

.remember-row input{
  width:15px;
  height:15px;
  accent-color:#2f5c48;
}

.remember-row span{
  color:#666;
  font-size:12px;
}

.login-button{
  width:100%;
  height:48px;
  border:0;
  border-radius:11px;
  background:#2f5c48;
  color:#fff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:
    background .15s ease,
    transform .15s ease;
}

.login-button:hover{
  background:#264d3c;
}

.login-button:active{
  transform:translateY(1px);
}

.login-footer{
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid #eee;
  text-align:center;
}

.login-footer span{
  color:#999;
  font-size:10px;
}

@media(max-width:500px){

  .login-page{
    padding:18px;
  }

  .login-card{
    padding:32px 24px;
    border-radius:20px;
  }

  .login-heading h1{
    font-size:27px;
  }

}