* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Work Sans', system-ui, sans-serif; color: #1B2C4F;
  background-color: #F3F5F9;
  background-image: radial-gradient(circle, rgba(27,44,79,0.055) 1px, transparent 1.4px);
  background-size: 22px 22px;
  overflow-x: hidden;
}

.login-wrap { position: relative; min-height: 100vh; width: 100%; }
.login-stage { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }

.login-card {
  width: 420px; max-width: 100%; background: #fff; border-radius: 30px; padding: 42px 38px 32px;
  box-shadow: 0 24px 60px -28px rgba(20,150,170,.45), 0 2px 8px rgba(27,44,79,.06);
  border: 3px solid #15B3C7;
}

.login-card-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-logo { height: 96px; width: auto; object-fit: contain; }
.login-rule { width: 46px; height: 3px; background: #15B3C7; border-radius: 2px; margin: 18px 0 14px; }
.login-eyebrow { font-family: 'Source Serif 4', Georgia, serif; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: #2D5F8B; font-weight: 600; }
.login-subtitle { font-size: 13px; color: #7C879B; margin-top: 6px; }

.login-messages { margin-top: 20px; }
.login-error {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #FBE9E9; color: #B4413B;
  text-align: center; font-size: 13px; font-weight: 600;
}

.login-form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.login-field { display: flex; flex-direction: column; gap: 7px; }
.login-field-label { font-size: 12px; font-weight: 600; color: #5A6472; letter-spacing: .09em; text-transform: uppercase; }
.login-input-wrap { position: relative; display: flex; align-items: center; }
.login-input-icon {
  position: absolute; left: 11px; width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid #BFE3E9;
  display: flex; align-items: center; justify-content: center; color: #15B3C7; pointer-events: none;
}
.login-input-wrap input {
  width: 100%; height: 50px; padding: 0 16px 0 52px; border: 1.5px solid #C9E6EB; border-radius: 999px;
  font-size: 14.5px; font-family: inherit; color: #1B2C4F; background: #fff; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.login-input-wrap input:focus { border-color: #15B3C7; box-shadow: 0 0 0 3px rgba(21,179,199,.16); }

.login-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.login-remember { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: #4A5568; user-select: none; }
.login-remember input { width: 16px; height: 16px; accent-color: #15B3C7; cursor: pointer; }
.login-row a { font-size: 13px; color: #15B3C7; text-decoration: none; font-weight: 500; }
.login-row a:hover { color: #0F94A6; text-decoration: underline; }

.login-submit {
  margin-top: 10px; height: 52px; border: none; border-radius: 999px; background: #15B3C7; color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: .01em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 22px -10px #15B3C7;
  transition: background .18s, transform .12s, box-shadow .18s;
}
.login-submit:hover { background: #0F9AAD; transform: translateY(-1px); box-shadow: 0 14px 28px -10px #15B3C7; }

.login-footnote {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid #EEF1F6; display: flex; align-items: center;
  gap: 8px; justify-content: center; text-align: center; color: #9AA2B1; font-size: 11.5px;
}
