@charset "utf-8";
/* ============================================================
 * LUXX Member Skin — Panax Luxury Style (2026-07-22 v6)
 * 오너 지시: 로그인/회원가입/약관/찾기/탈퇴 등 모든 member 스킨을
 * at/index.html Panax 참고문서 톤으로 재작성.
 * - 웜 오프화이트(#FAF9F6) 배경
 * - 다크그린(#1F493A) 헤딩 + 골드(#D4AF37) 강조
 * - Merriweather 헤딩 · DM Sans + Noto Sans KR 본문
 * 새 파일 X, 기존 style.css 를 통째 교체(15+ 스킨 자동 반영).
 * ============================================================ */

:root {
    --luxx-panax-green: #1F493A;
    --luxx-panax-green-light: #2C6350;
    --luxx-premium-gold: #D4AF37;
    --luxx-premium-gold-bright: #FCEEA7;
    --luxx-gold-gradient: linear-gradient(135deg,#B38728 0%,#FBF5B7 25%,#DAA520 50%,#FCEEA7 75%,#AA771C 100%);
    --luxx-gold-soft: linear-gradient(135deg,#D4AF37 0%,#FCEEA7 50%,#B88728 100%);
    --luxx-bg-light: #FAF9F6;
    --luxx-bg-white: #FFFFFF;
    --luxx-text-dark: #1C2D27;
    --luxx-text-muted: #5F6E68;
    --luxx-border-light: rgba(31,73,58,0.08);
    --luxx-border-medium: rgba(31,73,58,0.15);
    --luxx-gold-shadow: 0 10px 25px rgba(212,175,55,0.25);
    --luxx-focus-glow: 0 0 0 4px rgba(212,175,55,0.20);
    --luxx-card-shadow: 0 4px 20px rgba(31,73,58,0.06);
    --luxx-error-red: #DB4455;
    --luxx-error-bg: rgba(219,68,85,0.08);
}

/* ─────────── 공통 컨테이너 (.mbskin, .register, .new_win) ─────────── */
.mbskin, .register, .new_win {
    background: var(--luxx-bg-white);
    color: var(--luxx-text-dark);
    font-family: 'DM Sans','Noto Sans KR','Malgun Gothic',sans-serif;
    line-height: 1.7;
    border: 1px solid var(--luxx-border-light);
    border-radius: 12px;
    box-shadow: var(--luxx-card-shadow);
    padding: 40px 36px;
    max-width: 600px;
    margin: 40px auto;
    box-sizing: border-box;
    position: relative;
}

.mbskin h1, .register h1, .new_win h1,
.mbskin h2:first-of-type, .register h2:first-of-type, .new_win h2:first-of-type {
    font-family: 'Merriweather','Noto Serif KR','Nanum Myeongjo',serif;
    color: var(--luxx-panax-green);
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 26px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--luxx-premium-gold);
    display: inline-block;
}

.mbskin h2, .register h2, .new_win h2 {
    font-family: 'Merriweather','Noto Serif KR',serif;
    color: var(--luxx-panax-green);
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.mbskin h3, .register h3, .new_win h3 {
    font-family: 'Merriweather',serif;
    color: var(--luxx-panax-green);
    font-size: 16px;
    font-weight: 700;
    margin: 18px 0 10px;
}

.mbskin p, .register p, .new_win p {
    color: var(--luxx-text-dark);
    font-size: 14.5px;
    margin: 0 0 12px;
}

/* ─────────── 폼 필드 (form_01) ─────────── */
.form_01 {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.form_01 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.form_01 li {
    margin-bottom: 18px;
    padding: 0;
    list-style: none;
}
.form_01 label,
.mbskin label, .register label, .new_win label,
.label-gold {
    display: block;
    color: var(--luxx-panax-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'DM Sans','Noto Sans KR',sans-serif;
}

.form_01 input[type="text"],
.form_01 input[type="password"],
.form_01 input[type="email"],
.form_01 input[type="tel"],
.form_01 input[type="number"],
.form_01 input[type="search"],
.form_01 input[type="url"],
.form_01 select,
.form_01 textarea,
.mbskin input[type="text"], .mbskin input[type="password"], .mbskin input[type="email"],
.new_win input[type="text"], .new_win input[type="password"], .new_win input[type="email"],
.frm_input, .input-gold {
    background: var(--luxx-bg-light) !important;
    color: var(--luxx-text-dark) !important;
    border: 1.5px solid var(--luxx-border-medium) !important;
    border-radius: 6px !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-family: 'DM Sans','Noto Sans KR',sans-serif !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form_01 input:focus, .form_01 select:focus, .form_01 textarea:focus,
.mbskin input:focus, .register input:focus, .new_win input:focus,
.frm_input:focus, .input-gold:focus {
    outline: none !important;
    border-color: var(--luxx-premium-gold) !important;
    background: var(--luxx-bg-white) !important;
    box-shadow: var(--luxx-focus-glow) !important;
}
.form_01 input::placeholder, .frm_input::placeholder {
    color: var(--luxx-text-muted);
    opacity: 0.7;
}
.form_01 textarea {
    min-height: 100px;
    resize: vertical;
}

/* ─────────── 버튼 (btn_submit, btn_confirm, btn_cancel, btn02, btn-gold) ─────────── */
.btn_submit, .btn_confirm,
.mbskin input[type="submit"], .register input[type="submit"], .new_win input[type="submit"],
.mbskin button[type="submit"], .register button[type="submit"],
.btn-gold, .reg_btn_submit {
    display: inline-block;
    background: var(--luxx-gold-gradient) !important;
    color: var(--luxx-panax-green) !important;
    border: 1px solid #C49A3C !important;
    border-radius: 6px !important;
    padding: 14px 34px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212,175,55,0.35);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    text-decoration: none;
    text-align: center;
    font-family: 'DM Sans','Noto Sans KR',sans-serif !important;
    -webkit-appearance: none;
    appearance: none;
}
.btn_submit:hover, .btn_confirm:hover, .btn-gold:hover,
.mbskin button:hover, .register button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 30px rgba(212,175,55,0.45);
}

.btn_cancel, .btn02,
.mbskin input[type="button"], .mbskin a.btn_cancel {
    display: inline-block;
    background: transparent !important;
    color: var(--luxx-panax-green) !important;
    border: 2px solid var(--luxx-premium-gold) !important;
    border-radius: 6px !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}
.btn_cancel:hover, .btn02:hover {
    background: rgba(212,175,55,0.1) !important;
    color: var(--luxx-panax-green) !important;
}

/* ─────────── 링크 ─────────── */
.mbskin a, .register a, .new_win a {
    color: var(--luxx-panax-green);
    text-decoration: none;
    transition: color .2s ease;
}
.mbskin a:hover, .register a:hover, .new_win a:hover {
    color: var(--luxx-premium-gold);
    text-decoration: underline;
}

/* ─────────── 결과 카드 (register_result) ─────────── */
#reg_result {
    background: var(--luxx-bg-light);
    border: 1px solid var(--luxx-border-light);
    border-left: 4px solid var(--luxx-premium-gold);
    border-radius: 8px;
    padding: 28px 32px;
    color: var(--luxx-text-dark);
    margin: 16px 0;
}
#reg_result h2 {
    color: var(--luxx-panax-green);
    font-family: 'Merriweather',serif;
    margin: 0 0 12px;
    border-bottom: none;
    display: block;
}
.reg_btn { text-align: center; margin-top: 24px; }

/* ─────────── 인증서/비밀번호 안내 박스 (#find_info, #member_cert_refresh, #mb_confirm) ─────────── */
#find_info, #mb_confirm, #pw_confirm {
    background: var(--luxx-bg-light);
    border: 1px solid var(--luxx-border-light);
    border-radius: 8px;
    padding: 28px 30px;
    color: var(--luxx-text-dark);
}
#find_info h2, #mb_confirm h2, #pw_confirm h2 {
    color: var(--luxx-panax-green);
    font-family: 'Merriweather',serif;
    font-size: 20px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--luxx-premium-gold);
    display: inline-block;
}
#member_cert_refresh p {
    background: rgba(212,175,55,0.10);
    border-left: 4px solid var(--luxx-premium-gold);
    color: var(--luxx-text-dark);
    padding: 14px 18px;
    border-radius: 4px;
    margin: 0 0 20px;
}

/* ─────────── 체크박스·라디오 (기본 파랑 → 골드) ─────────── */
input[type="checkbox"], input[type="radio"] {
    accent-color: var(--luxx-premium-gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 4px;
}
.chk_box, .chk_all, .selec_chk_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    color: var(--luxx-text-dark);
    font-size: 14px;
}

/* ─────────── 팝업 (memo, point, profile, scrap) ─────────── */
.new_win {
    max-width: 480px;
    padding: 28px 26px;
}
.new_win_con {
    color: var(--luxx-text-dark);
}
.new_win_title {
    font-family: 'Merriweather',serif;
    color: var(--luxx-panax-green);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--luxx-premium-gold);
    display: inline-block;
}

/* ─────────── 표 (tbl_head02 등) ─────────── */
.tbl_head02, .tbl_head01 {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    background: var(--luxx-bg-white);
}
.tbl_head02 caption, .tbl_head01 caption {
    text-align: left;
    color: var(--luxx-panax-green);
    font-weight: 700;
    padding: 6px 0;
}
.tbl_head02 thead th, .tbl_head01 thead th {
    background: var(--luxx-panax-green);
    color: var(--luxx-premium-gold-bright);
    font-family: 'DM Sans','Noto Sans KR',sans-serif;
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid var(--luxx-premium-gold);
    text-align: left;
    letter-spacing: 0.5px;
}
.tbl_head02 tbody td, .tbl_head01 tbody td {
    color: var(--luxx-text-dark);
    padding: 12px 14px;
    border-bottom: 1px solid var(--luxx-border-light);
}
.tbl_head02 tbody tr:hover td { background: rgba(212,175,55,0.04); }

/* ─────────── 오류/성공 메시지 ─────────── */
.err_msg, .msg_error {
    background: var(--luxx-error-bg);
    border: 1px solid var(--luxx-error-red);
    color: var(--luxx-error-red);
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 14px;
    font-weight: 500;
}
.ok_msg, .msg_ok {
    background: rgba(212,175,55,0.10);
    border: 1px solid var(--luxx-premium-gold);
    color: var(--luxx-panax-green);
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 14px;
    font-weight: 700;
}

/* ─────────── Consent Modal (구 파랑 → 골드) ─────────── */
#consent_modal, #luxx_consent_modal {
    background: rgba(31,73,58,0.55);
    backdrop-filter: blur(6px);
}
#consent_modal .modal-body, #luxx_consent_modal .modal-body,
#consent_modal .cd-card, .cd-card {
    background: var(--luxx-bg-white) !important;
    border: 1px solid var(--luxx-border-light) !important;
    border-top: 4px solid var(--luxx-premium-gold) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(31,73,58,0.25) !important;
    color: var(--luxx-text-dark) !important;
    padding: 28px 32px !important;
}
#consent_modal h3, #luxx_consent_modal h3, .cd-card h3 {
    color: var(--luxx-panax-green) !important;
    font-family: 'Merriweather',serif !important;
    margin: 0 0 12px !important;
}
#consent_modal .btn-agree, .cd-agree {
    background: var(--luxx-gold-gradient) !important;
    color: var(--luxx-panax-green) !important;
    border: 1px solid #C49A3C !important;
    border-radius: 6px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.cd-close {
    background: transparent !important;
    color: var(--luxx-text-muted) !important;
    border: 1.5px solid var(--luxx-border-medium) !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.cd-close:hover {
    background: var(--luxx-bg-light) !important;
    color: var(--luxx-text-dark) !important;
}

/* ─────────── 소셜 로그인 컨테이너 ─────────── */
.social_login {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--luxx-border-light);
    text-align: center;
}
.social_login p {
    color: var(--luxx-text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

/* ─────────── 필드셋·범례·접근성 ─────────── */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
legend {
    display: none;
}
.sound_only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ─────────── 유틸 ─────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ─────────── 모바일 (max-width:600) ─────────── */
@media (max-width: 600px) {
    .mbskin, .register, .new_win {
        padding: 28px 20px;
        margin: 16px auto;
        border-radius: 8px;
    }
    .mbskin h1, .register h1, .new_win h1 { font-size: 22px; }
    .form_01 input, .form_01 select, .form_01 textarea,
    .mbskin input, .frm_input, .input-gold {
        font-size: 16px !important; /* iOS auto-zoom 방지 */
        padding: 12px 14px !important;
    }
    .btn_submit, .btn_confirm, .btn-gold {
        width: 100%;
        padding: 14px !important;
        font-size: 15px !important;
    }
}
