/**
 * Admin 로그인 페이지 스타일
 * reset.css에서 추출한 body#login 관련 스타일
 */

/* ===== 폰트 import ===== */
@import url("https://fonts.googleapis.com/earlyaccess/notosanskr.css");

/* ===== 전역 리셋 ===== */
* {
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

/* ===== 폰트 스타일 ===== */
body, ul, li, ol, span, p, div, table, th, td, tr, dl, dt, dd, fieldset, legend, input, textarea, select, i, a, pre, button, em, label, address {
    font-family: Noto Sans KR, Dotum, Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
}

/* ===== HTML/Body 기본 리셋 ===== */
html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    background: #f2f0f1;
    color: #666;
    word-break: keep-all;
}

/* ===== 전역 #wrap ===== */
#wrap {
    min-width: 1280px;
    max-width: 1280px;
    margin: 0 auto;
    opacity: 0;
}

/* ===== 기본 리셋 ===== */
body#login fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

body#login legend {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== 기본 레이아웃 ===== */
body#login {
    height: 100%;
    background: url("/images/bg_loginbody-0a650da3ea57f2d24fff6e6ab149fd7a.jpg") no-repeat;
    background-size: cover;
}

body#login #wrap {
    position: relative;
    height: 100%;
}

body#login #wrap::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: rgba(72, 92, 199, 0.95);
    content: "";
}

/* ===== 헤더 ===== */
body#login .header {
    position: relative;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 61px;
    background: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

body#login .header h1 {
    float: left;
    margin: 13px 0 0 22px;
    margin-right: 150px;
    width: 160px;
    height: 36px;
}

body#login .header h1 a {
    display: block;
    width: 100%;
    height: 100%;
    background: 0;
    font-size: 0;
    text-indent: 0;
}

/* ===== 로그인 폼 래퍼 ===== */
body#login .loginwrap {
    position: relative;
    z-index: 30;
    margin: 0 0 0 calc(40% + 150px);
    padding-top: 170px;
}

body#login .loginwrap h2 {
    margin: 0 0 120px 0;
}

body#login .loginwrap h2 strong {
    display: block;
    margin: 0 0 30px 0;
    font-size: 50px;
    font-weight: 700;
    color: #fff;
}

body#login .loginwrap h2 span {
    display: block;
    font-size: 18px;
    line-height: 30px;
    color: #fff;
}

body#login .loginwrap fieldset {
    width: 550px;
}

/* ===== 입력 필드 (inpbox) ===== */
body#login .loginwrap fieldset .inpbox {
    float: left;
    width: 250px;
    height: 50px;
    background: 0;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #fff;
}

body#login .loginwrap fieldset .inpbox input {
    padding: 0 10px;
    width: 100%;
    height: 100%;
    background: 0;
    border: 0;
    font-size: 16px;
    font-weight: 200;
    color: #fff;
}

body#login .loginwrap fieldset .inpbox + .inpbox {
    margin-left: 45px;
}

body#login .loginwrap fieldset button {
    margin: 50px 0 0 0;
    width: 100%;
    height: 67px;
    background: #ff3a96;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    cursor: pointer;
}

body#login .loginwrap fieldset button:hover {
    background: #e62e85;
}

body#login .loginwrap fieldset > p {
    position: relative;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

/* ===== Placeholder 스타일 ===== */
body#login .loginwrap fieldset input::-webkit-input-placeholder {
    font-size: 16px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.6);
}

body#login .loginwrap fieldset input:-moz-placeholder {
    font-size: 16px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.6);
}

body#login .loginwrap fieldset input::-moz-placeholder {
    font-size: 16px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.6);
}

body#login .loginwrap fieldset input:-ms-input-placeholder {
    font-size: 16px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== 체크박스 ===== */
body#login input.ichkbox + label {
    padding-left: 28px;
}

body#login input.ichkbox + label:before {
    left: 0;
    width: 20px;
    height: 20px;
    background: url("/images/icon_checkbox_login_off-1ada2519409be90960a6961ec4ca259c.png") no-repeat 0 48%;
}

body#login input.ichkbox:checked + label:before {
    left: 0;
    background: url("/images/icon_checkbox_login_on-4cfd9a9c8d24a63b175a1d715bb18529.png") no-repeat 0 48%;
}

body#login input.ichkbox:checked + label:after {
    left: 0;
    width: 20px;
    height: 20px;
    background: url("/images/icon_checkbox_login_on-4cfd9a9c8d24a63b175a1d715bb18529.png") no-repeat 0 48%;
}

/* ===== 이메일 인증 화면 스타일 - 2열 레이아웃 ===== */
body#login .verification-form fieldset {
    width: 550px;
}

body#login .verification-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

body#login .verification-col {
    flex: 1;
}

body#login .field-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

body#login .field-value {
    display: block;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

body#login .field-input {
    display: block;
    width: 100%;
    padding: 0 0 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    outline: none;
}

body#login .field-input::-webkit-input-placeholder {
    font-size: 14px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.5);
}

body#login .btn-row {
    margin-top: 10px;
}

body#login .btn-verify {
    display: block;
    width: 100%;
    height: 55px;
    background: #ff3a96;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

body#login .btn-verify:hover {
    background: #e62e85;
}

body#login .btn-verify:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body#login .timer-row {
    margin-bottom: 15px;
}

body#login .resend-timer {
    font-size: 14px;
    color: #ff3a96;
    font-weight: 500;
}

body#login .resend-timer #timerCount {
    font-size: 14px;
    color: #ff3a96;
    font-weight: 600;
}

body#login .back-to-login {
    margin-top: 20px;
    text-align: center;
}

body#login .back-to-login a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

body#login .back-to-login a:hover {
    color: #fff;
}

/* ===== 메시지 박스 ===== */
#messageBox {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

#messageBox.error {
    background: rgba(255, 58, 150, 0.2);
    color: #ff3a96;
    border: 1px solid #ff3a96;
}

#messageBox.success {
    background: rgba(92, 199, 92, 0.2);
    color: #5cc75c;
    border: 1px solid #5cc75c;
}

#verificationMessageBox {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #ff3a96;
}
