@charset "UTF-8";
/* ============================================================
   center-login.css — 로그인 화면 (views/auth/login.ejs 전용)
   기존 광고주센터 로그인 원복 (2026-11-23 고객사 요청)
   원본: ../org_user/gugudas_web/src/main/webapp/assets/css/layout.css 의 "LOGIN" 블록 (PC + max-width 768px)
         body 배경 #F4F4F4 은 같은 원본 reset.css
   클래스명은 셀프웹 self-web.css 의 .login-* 와 겹치지 않게 center-login-* 로 바꿨다 (수치는 원본 그대로)
   ============================================================ */

body.center-login-body { margin: 0; background-color: #F4F4F4; }

.center-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    background-image: url("../img/center_login_bg.png");
    background-repeat: no-repeat;
    background-position: right 90px bottom 70px;
    background-size: 40%;
}

.center-login-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 72px;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 20px 0 rgba(255, 255, 255, 0.05);
}

.center-login-title { display: flex; justify-content: center; margin: 0; }
.center-login-title img { display: block; max-width: 100%; height: auto; }

.center-login-form { margin: 0; }
.center-login-fields {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.center-login-fields li { position: relative; }
.center-login-fields li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
}
.center-login-fields li.center-login-id::before { background-image: url("../img/center_login_ico_id.svg"); }
.center-login-fields li.center-login-pw::before { background-image: url("../img/center_login_ico_pw.svg"); }

.center-login-fields input[type="text"],
.center-login-fields input[type="password"] {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px 0 43px;
    box-sizing: border-box;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    background-color: transparent;
    color: #000000;
    font-size: 13px;
    font-weight: 400;
    outline: none;
}

/* 원본은 alert — 센터는 카드 안 문구로 표시 */
.center-login-error { margin: 12px 0 0; color: #E51814; font-size: 12px; line-height: 18px; text-align: center; }

.center-login-submit {
    margin-top: 24px;
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background-color: #E51814;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.center-login-submit:disabled { opacity: 0.6; cursor: default; }

.center-login-info {
    margin: 16px 0 0;
    color: #BEBEBE;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

@media screen and (max-width: 1440px) {
    .center-login-wrap { margin: 48px 16px; }
}

@media screen and (max-width: 768px) {
    .center-login { background-image: none; }
    .center-login-wrap { margin: 48px 16px; padding: 48px 16px; }
    .center-login-fields { margin-top: 32px; gap: 8px; }
    .center-login-fields input[type="text"],
    .center-login-fields input[type="password"] { height: 44px; }
    .center-login-submit { margin-top: 16px; height: 44px; }
}
