@charset "utf-8";

.employee_auth {
  --employee_navy: #112b49;
  --employee_gold: #b38d43;
  --employee_line: #dce3ea;
  min-height: calc(100vh - 80px);
  padding: 72px 20px;
  box-sizing: border-box;
  background: linear-gradient(145deg, #f3f6f8 0%, #fff 52%, #f7f2e8 100%);
  color: #202a35;
}

.employee_auth_recovery .employee_auth_captcha {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
}

.employee_auth_recovery .employee_auth_field input.is_email_error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.employee_auth_recovery .employee_auth_field input.is_email_found {
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, .08);
}

.employee_email_status { min-height: 18px; }
.employee_email_status.is_error { color: #dc2626; }
.employee_email_status.is_found { color: #15803d; }

.employee_auth_mail_dialog {
  width: min(420px, calc(100% - 32px));
  padding: 28px;
  border: 1px solid #e2e6eb;
  border-radius: 16px;
  box-sizing: border-box;
  background: #fff;
  color: #273344;
  font-family: Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  box-shadow: 0 24px 70px rgba(17, 43, 73, .18);
}

.employee_auth_mail_dialog::backdrop { background: rgba(17, 43, 73, .35); }
.employee_auth_mail_dialog h2 { margin: 0 0 14px; color: #112b49; font-size: 20px; }
.employee_auth_mail_dialog p { margin: 0; color: #586575; font-size: 14px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.employee_auth_mail_dialog .employee_auth_button { background: #112b49; }

.employee_auth_recovery #captcha {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) 40px;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.employee_auth_recovery #captcha #captcha_img {
  position: static;
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  box-sizing: border-box;
}

.employee_auth_recovery #captcha #captcha_key {
  position: static;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid var(--employee_line);
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
  text-align: center;
}

.employee_auth_recovery #captcha #captcha_reload {
  position: static;
  width: 40px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--employee_line);
  border-radius: 8px;
  box-sizing: border-box;
}

.employee_auth_recovery #captcha legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.employee_auth_recovery #captcha #captcha_info {
  display: block;
  grid-column: 1 / -1;
  margin-top: 2px;
  color: #78838f;
  white-space: normal;
}

.employee_auth_cert {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e7ebef;
}

.employee_auth_cert h2 {
  margin: 0 0 14px;
  color: #28394c;
  font-size: 15px;
}

.employee_auth_cert_buttons {
  display: grid;
  gap: 10px;
}

.employee_auth_cert_buttons button {
  width: 100%;
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.employee_auth_signup {
  padding-top: calc(72px + 80px);
}

.employee_auth_inner {
  width: min(100%, 520px);
  margin: 0 auto;
}

.employee_auth_brand {
  margin-bottom: 20px;
  color: var(--employee_gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}

.employee_auth_card {
  padding: 46px;
  border: 1px solid rgba(17, 43, 73, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(17, 43, 73, .1);
}

.employee_auth_title {
  margin: 0;
  color: var(--employee_navy);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1.5px;
  text-align: center;
}

.employee_auth_desc {
  margin: 12px 0 30px;
  color: #687482;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.employee_invite_timer {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin: -8px 0 26px;
  padding: 14px 16px;
  border: 1px solid rgba(179, 141, 67, .28);
  border-radius: 10px;
  background: #fbf8f1;
  color: #66717d;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.employee_invite_timer > span,
.employee_invite_timer > strong {
  width: 100%;
  text-align: center;
}

.employee_invite_timer strong {
  flex: 0 0 auto;
  color: var(--employee_navy);
  font-size: 13px;
}

.employee_invite_timer time {
  margin-left: 4px;
  color: var(--employee_gold);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.employee_invite_timer.is_expired {
  border-color: rgba(196, 49, 49, .3);
  background: #fff5f5;
}

.employee_invite_timer.is_expired strong,
.employee_invite_timer.is_expired time {
  color: #c43131;
}

.employee_auth_invitee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin-bottom: 26px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f5f7fa;
  font-size: 14px;
}

.employee_auth_invitee dt {
  color: #7a8591;
}

.employee_auth_invitee dd {
  margin: 0;
  color: #28394c;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.employee_auth_field {
  margin-bottom: 18px;
}

.employee_auth_field label {
  display: block;
  margin-bottom: 8px;
  color: #28394c;
  font-size: 14px;
  font-weight: 700;
}

.employee_auth_field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--employee_line);
  border-radius: 10px;
  box-sizing: border-box;
  background: #fff;
  color: #202a35;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.employee_auth_field input:focus {
  border-color: var(--employee_gold);
  box-shadow: 0 0 0 3px rgba(179, 141, 67, .12);
}

.employee_auth_field input[readonly] {
  background: #f5f7fa;
  color: #64707d;
}

.employee_auth_help {
  margin: 8px 0 0;
  color: #7a8591;
  font-size: 12px;
  line-height: 1.5;
}

.employee_id_status {
  min-height: 18px;
}

.employee_id_status.is_checking {
  color: #687482;
}

.employee_id_status.is_available {
  color: #207447;
  font-weight: 700;
}

.employee_id_status.is_error {
  color: #c43131;
  font-weight: 700;
}

.employee_auth_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 26px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  background: var(--employee_navy);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.employee_auth_button:hover {
  background: #1a3b61;
  color: #fff;
}

.employee_auth_links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  font-size: 13px;
}

.employee_auth_links a {
  color: #596777;
  text-decoration: none;
}

.employee_auth_note {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid #e7ebef;
  color: #78838f;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.employee_auth_terms {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--employee_line);
  border-radius: 12px;
}

.employee_auth_terms h2 {
  margin: 0 0 12px;
  color: #28394c;
  font-size: 16px;
}

.employee_auth_terms textarea {
  display: block;
  width: 100%;
  height: 130px;
  padding: 14px;
  border: 1px solid #e5e9ed;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fafbfc;
  color: #65717e;
  font-size: 12px;
  line-height: 1.7;
  resize: none;
}

.employee_auth_agree {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  color: #4e5b69;
  font-size: 13px;
  line-height: 1.5;
}

.employee_auth_agree input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--employee_navy);
}

.employee_auth_actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: 26px;
}

.employee_auth_actions .employee_auth_button {
  margin: 0;
}

.employee_auth_cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--employee_line);
  border-radius: 10px;
  color: #596777;
  font-weight: 700;
  text-decoration: none;
}

.employee_auth_complete {
  padding: 20px 0 4px;
  color: #4d5b69;
  line-height: 1.8;
  text-align: center;
}

.employee_auth_complete strong {
  color: var(--employee_gold);
}

@media (max-width: 767px) {
  .employee_auth_signup {
    padding-top: calc(72px + 60px);
  }
}

@media (max-width: 600px) {
  .employee_auth {
    min-height: 100vh;
    padding: 32px 16px;
  }

  .employee_auth_signup {
    padding-top: calc(32px + 60px);
  }

  .employee_auth_card {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .employee_auth_title {
    font-size: 27px;
  }

  .employee_invite_timer {
    align-items: center;
    flex-direction: column;
    gap: 6px;
  }
}
