@charset "utf-8";

/* ===== 0) 폰트(선택) ===== */
/* Noto Sans KR가 필요하면 주석 해제
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
*/

/* ===== 1) Micro Reset / Normalization ===== */
html, body { margin:0; padding:0; }
html { box-sizing: border-box; -webkit-text-size-adjust:100%; }
*, *::before, *::after { box-sizing: inherit; }

body.page-login {
  font-family: 'Noto Sans KR', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #192e42;
}

/* 링크/버튼 기본 */
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

/* ===== 2) Form Controls: 공통 안정화 ===== */
input, select, textarea {
  font: inherit;
  color: inherit;
  background-color: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  outline: none;
  width: 100%;
  transition: border-color .15s, box-shadow .15s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}

/* 텍스트/비번 입력 필드 공통 크기 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"] {
  height: 44px;
  padding: 0 12px;
  line-height: 44px; /* 수직 중앙 정렬 */
}

/* 포커스 상태 */
input:focus, select:focus, textarea:focus {
  border-color: #0685d5;
  box-shadow: 0 0 0 3px rgba(6,133,213,0.15);
}

/* placeholder 색 */
::placeholder { color: #98a2af; opacity: 1; }
:-ms-input-placeholder { color:#98a2af; }
::-ms-input-placeholder { color:#98a2af; }

/* 크롬 자동완성 노란 배경 제거 */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-text-fill-color: #192e42 !important;
  caret-color: #192e42;
}

/* 비밀번호 가시화 버튼 영역 고려 */
.inp-with-btn input { padding-right: 44px; }
.inp-with-btn .btn-eye {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  height: 34px; min-width: 34px; border-radius: 6px;
}
.inp-with-btn .btn-eye:hover { background: rgba(0,0,0,0.04); }

/* 체크박스/라디오(기본) */
input[type="checkbox"], input[type="radio"] {
  width: 16px; height: 16px; border-radius: 3px;
  vertical-align: middle; margin: 0 6px 0 0;
}

/* 비활성화 */
input:disabled, select:disabled, textarea:disabled {
  background-color: #f5f7fa; color: #98a2af; cursor: not-allowed;
}

/* ===== 3) 로그인 레이아웃(기존에 있던 것 보강만) ===== */
body.page-login {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(6,133,213,0.12) 0%, rgba(6,133,213,0) 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(25,46,66,0.10) 0%, rgba(25,46,66,0) 60%),
    #f4f7fb;
  display: flex; align-items: center; justify-content: center;
}

.login-wrap { width: 100%; padding: 24px; display: flex; align-items: center; justify-content: center; }
.login-card {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid #e6edf5; border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(6,133,213,0.06);
  padding: 28px; backdrop-filter: blur(6px);
}
.login-head { text-align:center; margin-bottom: 18px; }
.login-title { font-size: 22px; font-weight: 700; margin:4px 0 6px; }
.login-sub { font-size: 14px; color:#5b6066; margin:0; }
.login-form .form-item { margin-top:14px; }
.form-row.between { margin-top:12px; display:flex; align-items:center; justify-content: space-between; }
.chk { font-size:14px; color:#2b3545; }

.btn-primary {
  display:block; width:100%; height:44px; margin-top:14px;
  border-radius:10px; color:#fff; font-size:16px; font-weight:600;
  background: linear-gradient(180deg, #0797d6 0%, #0685d5 100%);
  transition: transform .04s ease, box-shadow .2s ease;
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(6,133,213,0.25); }
.btn-primary:active { transform: translateY(1px); }

.form-msg {
  margin-top:10px; padding:10px 12px; font-size:13px;
  color:#b42318; background:#ffefef; border:1px solid #ffd8d8; border-radius:8px;
}

.login-foot { margin-top:18px; text-align:center; color:#7a8594; }

/* 모바일 */
@media (max-width: 420px){
  .login-card { padding: 22px; border-radius: 14px; }
  .login-title { font-size: 20px; }
}

/* login.css : 로그인 전용 스타일 */
body.page-login {
  min-height: 100vh;
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: linear-gradient(135deg, #f4f7fb, #e6edf5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #192e42;
}

.login-wrap {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 28px;
}

.login-head {
  text-align: center;
  margin-bottom: 20px;
}
.login-title {
  font-size: 22px;
  font-weight: 700;
}
.login-sub {
  font-size: 14px;
  color: #5b6066;
}

.login-form .form-item {
  margin-top: 14px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.inp-with-btn {
  position: relative;
}
.inp-with-btn input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 12px;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
}
.btn-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
}

.form-row.between {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.btn-primary {
  width: 100%;
  height: 44px;
  background: linear-gradient(180deg, #0797d6 0%, #0685d5 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 14px;
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(6,133,213,0.25);
}

.form-msg {
  margin-top: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: #b42318;
  background: #ffefef;
  border: 1px solid #ffd8d8;
  border-radius: 8px;
}

.login-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  letter-spacing: -0.2px;
}
