/* ==================================================
   민원109 개발중 관리자 인증
   dev-admin-gate.css
================================================== */


/* ==================================================
   1. 페이지 잠금
================================================== */

body.dev-locked {
  overflow: hidden;
}


/* ==================================================
   2. 관리자 인증 전체 영역
================================================== */

.dev-gate {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: grid;
  place-items: center;

  padding: 16px;
}

.dev-gate[hidden] {
  display: none;
}


/* ==================================================
   3. 뒤쪽 배경 + 흐림 효과
================================================== */

.gate-bg {
  position: absolute;

  inset: 0;

  background:
    rgba(15, 23, 42, 0.58);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}


/* ==================================================
   4. 관리자 로그인 모달
================================================== */

.gate-box {
  position: relative;

  width: min(430px, 100%);

  padding: 30px;

  background: #ffffff;

  border-radius: 24px;

  box-shadow:
    0 30px 80px
    rgba(15, 23, 42, 0.30);

  text-align: center;
}


/* ==================================================
   5. 민원109 로고
================================================== */

.gate-logo {
  width: 64px;
  height: 64px;

  margin:
    0 auto 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #ffffff;

  border-radius: 18px;
}

.gate-logo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
}


/* ==================================================
   6. SERVICE PREPARING 배지
================================================== */

.gate-box em {
  display: inline-block;

  padding: 5px 9px;

  background: #eef6ff;

  color: #2684ff;

  border-radius: 999px;

  font-style: normal;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 0.04em;
}


/* ==================================================
   7. 안내 제목
================================================== */

.gate-box h2 {
  margin:
    14px 0 8px;

  color: #172033;

  font-size: 23px;

  letter-spacing: -0.03em;
}


/* ==================================================
   8. 개발중 안내 문구
================================================== */

.gate-box > p {
  margin: 0;

  color: #667085;

  font-size: 13px;

  line-height: 1.7;

  word-break: keep-all;
}


/* ==================================================
   9. 구분선
================================================== */

.gate-box hr {
  margin:
    22px 0;

  border: 0;

  border-top:
    1px solid #edf0f4;
}


/* ==================================================
   10. 로그인 FORM
================================================== */

.gate-box form {
  text-align: left;
}


/* ==================================================
   11. 관리자 전용 로그인 제목
================================================== */

.gate-box form > b {
  display: block;

  color: #172033;

  font-size: 16px;
}

.gate-box form > small {
  display: block;

  margin:
    4px 0 15px;

  color: #98a2b3;

  font-size: 12px;
}


/* ==================================================
   12. INPUT 라벨
================================================== */

.gate-box label {
  display: block;

  margin-top: 12px;

  color: #344054;

  font-size: 12px;
  font-weight: 800;
}


/* ==================================================
   13. 이메일 / 비밀번호 INPUT
================================================== */

.gate-box input {
  box-sizing: border-box;

  width: 100%;
  height: 48px;

  margin-top: 6px;

  padding:
    0 12px;

  border:
    1px solid #d9e0ea;

  border-radius: 12px;

  background: #ffffff;

  color: #172033;

  outline: none;
}

.gate-box input:focus {
  border-color: #2684ff;

  box-shadow:
    0 0 0 4px
    rgba(38, 132, 255, 0.10);
}


/* ==================================================
   14. 비밀번호 영역
================================================== */

.pw {
  position: relative;
}

.pw input {
  padding-right: 58px;
}


/* ==================================================
   15. 비밀번호 보기 / 숨김
================================================== */

.pw button {
  position: absolute;

  top: 50%;
  right: 8px;

  transform:
    translateY(-38%);

  padding:
    5px 7px;

  border: 0;

  background: transparent;

  color: #667085;

  font-size: 12px;
  font-weight: 800;

  cursor: pointer;
}


/* ==================================================
   16. 로그인 오류 메시지
================================================== */

.gate-error {
  min-height: 18px;

  margin-top: 10px;

  color: #d92d20;

  font-size: 12px;

  line-height: 1.45;

  word-break: break-all;
}


/* ==================================================
   17. 관리자 로그인 버튼
================================================== */

.gate-submit {
  width: 100%;
  height: 48px;

  margin-top: 8px;

  border: 0;

  border-radius: 12px;

  background: #2684ff;

  color: #ffffff;

  font-size: 14px;
  font-weight: 900;

  cursor: pointer;

  transition:
    background 0.15s ease,
    opacity 0.15s ease;
}

.gate-submit:hover {
  background: #1d4ed8;
}

.gate-submit:disabled {
  opacity: 0.60;

  cursor: wait;
}


/* ==================================================
   18. 모바일
================================================== */

@media (max-width: 640px) {

  .dev-gate {
    padding: 16px;
  }


  /* 로그인 모달 */

  .gate-box {
    width: 100%;

    padding:
      26px 20px;

    border-radius: 20px;
  }


  /* 로고 */

  .gate-logo {
    width: 58px;
    height: 58px;

    border-radius: 16px;
  }


  /* 제목 */

  .gate-box h2 {
    font-size: 21px;
  }


  /* 안내 문구 */

  .gate-box > p {
    font-size: 12px;
  }


  /* 입력창 */

  .gate-box input {
    height: 48px;
  }


  /* 로그인 버튼 */

  .gate-submit {
    height: 48px;
  }
}
