@charset "UTF-8";
/* 엔트리: main/login.php 전용 → 컴파일 결과 css/login.css */
/* ================================================
   PITAPAT ADMIN — COLOR PALETTE (Design Token)
   브랜드: electric blue / yellow / navy
   ================================================ */
/* Brand */
/* Grayscale */
/* State */
/* ================================================
   SEMANTIC
   ================================================ */
/* ================================================
   TYPOGRAPHY
   ================================================ */
/* ================================================
   RADIUS / SHADOW
   ================================================ */
/* ================================================
   BREAKPOINTS (팀 표준: sm 480 / md 768 / lg 1024 / xl 1280 / xxl 1440)
   ================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: keep-all;
}

html {
  -webkit-text-size-adjust: none;
}

body {
  font-family: "Pretendard", -apple-system, "Noto Sans KR", sans-serif;
  color: #2d3257;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ============================================================
   로그인 화면 — HTML/DOM 유지, 셀렉터 훅만 재사용
   대상: main/login.php  ->  컴파일 결과 css/login.css
   ============================================================ */
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef1ff 0%, #e3e8ff 100%);
}

#wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 100vh;
  padding: 24px;
}
#wrapper #wrap {
  width: 100%;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* login card */
#sec01 .cont_wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 44px 36px 40px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(1, 52, 255, 0.14), 0 2px 8px rgba(45, 50, 87, 0.06);
  overflow: hidden;
}
#sec01 .cont_wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0134ff 0%, #0134ff 70%, #ffe229 100%);
}
#sec01 .cont_wrap .text_box {
  text-align: center;
}
#sec01 .cont_wrap .text_box::before {
  content: "PITAPAT";
  display: block;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0134ff;
}
#sec01 .cont_wrap .text_box::after {
  content: "관리자 로그인";
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2d3257;
}
#sec01 .cont_wrap .text_box .text {
  margin-top: 14px;
  font-size: 12.5px;
  color: #8a8fa6;
  line-height: 1.6;
}

/* login box */
.login_box {
  margin-top: 28px;
}
.login_box .form_box {
  position: relative;
}
.login_box .user_pw {
  margin-top: 14px;
}
.login_box input[type=text],
.login_box input[type=password] {
  width: 100%;
  height: 54px;
  padding: 16px;
  font-size: 15px;
  color: #2d3257;
  background: #f5f6fa;
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.login_box input[type=text]::placeholder,
.login_box input[type=password]::placeholder {
  color: #aeb3c7;
  letter-spacing: -0.3px;
}
.login_box input[type=text]:focus,
.login_box input[type=password]:focus {
  background: #ffffff;
  border-color: #0134ff;
  box-shadow: 0 0 0 4px rgba(1, 52, 255, 0.12);
}
.login_box input[type=text]:not(:placeholder-shown),
.login_box input[type=password]:not(:placeholder-shown) {
  background: #ffffff;
  border-color: #e3e6f0;
}
.login_box .form_box label {
  position: absolute;
  top: -8px;
  left: 12px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0134ff;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}
.login_box input:not(:placeholder-shown) + label {
  opacity: 1;
  visibility: visible;
}
.login_box p.btn_box {
  margin-top: 24px;
  background: none;
  width: auto;
  height: auto;
}
.login_box .submit_btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 54px;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  background: #0134ff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(1, 52, 255, 0.28);
  transition: background 0.2s, transform 0.05s, box-shadow 0.2s;
}
.login_box .submit_btn:hover {
  background: #0128cc;
  box-shadow: 0 10px 26px rgba(1, 52, 255, 0.36);
}
.login_box .submit_btn:active {
  transform: translateY(1px);
}

/* loading (기존 훅 유지) */
.loading_area {
  position: fixed;
  inset: 0;
  z-index: 99;
}
.loading_area #bg {
  position: absolute;
  inset: 0;
  background: rgba(45, 50, 87, 0.35);
}

@media (max-width: 480px) {
  #sec01 .cont_wrap {
    padding: 36px 24px 32px;
  }
}