.login-main {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.login-shell {
  width: 100%;
  max-width: 600px;
}

.login-brand-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.login-brand-logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: min(180px, 70vw);
  object-fit: contain;
}

.login-card {
  width: 780px;
  max-width: 100%;
  background: rgba(255, 255, 255, .94);
  border-radius: 20px;
  padding: 48px 40px 36px;
  border: 1px solid rgba(123, 134, 204, .2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 8px 30px rgba(79, 84, 122, 0.12),
    0 18px 54px rgba(77, 82, 119, 0.16);
}

.login-card .hero-eyebrow {
  display: table;
  margin: 0 auto 20px;
}

.login-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -.4px;
}

.input-group {
  position: relative;
  width: 100%;
  border-bottom: 2px solid #d5d8ea;
  margin-bottom: 32px;
}

.input-group input {
  font-family: inherit;
  font-size: 15px;
  color: #555;
  display: block;
  width: 100%;
  height: 48px;
  background: transparent;
  padding: 0 5px;
  border: none;
  outline: none;
}

.input-group .label {
  position: absolute;
  top: 14px;
  left: 5px;
  font-size: 15px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s;
}

.input-group .bar {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-dk), var(--primary));
  transition: width 0.4s;
}

.input-group input:focus ~ .bar,
.input-group input.has-val ~ .bar {
  width: 100%;
}

.input-group input:focus ~ .label,
.input-group input.has-val ~ .label {
  top: -15px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.password-modal-help {
  margin-bottom: 16px;
}

.password-rule-list {
  margin: 0;
  padding-left: 0;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.7;
}

.btn-wrap {
  width: 100%;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 25px;
}

.btn-bg {
  position: absolute;
  z-index: 0;
  width: 300%;
  height: 100%;
  background: linear-gradient(105deg, #546090, #a6b2ff, #546090, #a6b2ff);
  top: 0;
  left: -100%;
  transition: left 0.4s;
}

.btn-wrap:hover .btn-bg {
  left: 0;
}

.btn-login {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  width: 100%;
  height: 52px;
  border: none;
  background: linear-gradient(135deg,#5262a3 0%, #98a6ff 100%);
  cursor: pointer;
  letter-spacing: 0.2px;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .2) inset,
    0 6px 20px rgba(80, 85, 122, 0.32),
    0 2px 6px rgba(0, 0, 0, .1);
}

.btn-wrap:hover .btn-login {
  background: transparent;
}

.login-links {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #7f869e;
  letter-spacing: -.1px;
}

.login-links-divider {
  margin: 0 8px;
  color: #b0b5c8;
}

.login-link-button {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.login-link-button:visited {
  color: inherit;
}

.login-link-button:hover {
  color: var(--primary);
  text-decoration: none;
}

.login-link-button:focus-visible {
  outline: none;
  text-decoration: underline;
}

.error-msg {
  background: #fff0f0;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #c80000;
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 24px;
  text-align: center;
}

.success-msg {
  background: #f0fff4;
  border: 1px solid #86efac;
  border-radius: 8px;
  color: #166534;
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 24px;
  text-align: center;
}

@media (max-width: 540px) {
  .login-card {
    padding: 40px 22px 30px;
    border-radius: 16px;
  }

  .login-brand-logo {
    height: 24px;
  }

  .login-title {
    font-size: 21px;
  }
}

/* ══════════════════════════════════════
   CONTENT MODAL (cmodal) — 시도별 권장 접수일자 안내
══════════════════════════════════════ */
.cmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 32, 48, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  animation: cmodal-bg-in 0.15s ease;
}
.cmodal-overlay[hidden] { display: none; }

.cmodal {
  background: #fff;
  border-radius: var(--radius, 16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .16), 0 4px 16px rgba(0, 0, 0, .06);
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: cmodal-card-in 0.22s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.cmodal-compact {
  max-width: 640px;
}

.cmodal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #efefef;
  flex-shrink: 0;
}

.cmodal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.cmodal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.cmodal-close:hover { background: #efefef; color: var(--text); }

.cmodal-body {
  flex: 1;
  overflow-y: auto;
}
.cmodal-body-padded { padding: 24px; }

.cmodal-footer {
  padding: 14px 22px;
  border-top: 1px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

@keyframes cmodal-bg-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cmodal-card-in {
  from { transform: translateY(-14px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(123, 134, 204, .3);
}
.btn-primary:hover { background: var(--primary-dk); box-shadow: 0 4px 12px rgba(100, 112, 187, .35); }

/* 시도별 권장 접수일자 목록 */
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.guide-date {
  min-width: 108px;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  background: #fff1c4;
  color: #7a5000;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.guide-text {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}

.guide-list-common {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed #e5e7f0;
}
.guide-date-common {
  background: var(--pri-lt);
  color: var(--primary-dk);
}

.guide-example {
  margin-top: 18px;
  padding: 12px 14px;
  background: #f7f8ff;
  border-radius: 8px;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.7;
}

@media (max-width: 540px) {
  .cmodal-header,
  .cmodal-footer {
    padding: 14px 16px;
  }
  .cmodal-body-padded {
    padding: 18px 16px;
  }
  .guide-date {
    min-width: 92px;
    font-size: 11px;
  }
  .guide-text {
    font-size: 13px;
  }
}
