@charset "utf-8";

/* THENA Design System for Member Pages - Refined & Compact */
/* With User-requested border-radius: 10px */
:root {
    --bg-dark: #0f0c29; 
    --card-bg: #ececec; /* Light grey card as in image */
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --input-bg: #ebf2ff; /* Light bluish grey for inputs */
    --input-border: #dce7ff;
    --accent-magenta: #d946ef; /* Bright magenta button */
    --accent-purple: #a855f7; 
    --btn-dark: #4b5563; /* Dark grey for duplicate check buttons */
}

/* Basic Layout Reset */
body.member-pages {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

/* Ensure no theme-specific padding/margin breaks the centered layout */
body.member-pages #wrap,
body.member-pages .member-pages-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.member-pages .content_wrap {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
}

/* Background image handle */
.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

/* Main Container */
.mbskin {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.mbskin_box {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    border: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Header & Logo - ABOVE the box */
.mbskin h1 {
    margin: 0 0 30px;
    text-align: center;
    width: 100%;
}

.mbskin h1 img {
    max-width: 100%;
    height: auto;
    max-height: 55px;
}

.default-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: #5b21b6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 24px;
    color: #fff;
}

.mbskin .subTitle {
    margin-bottom: 25px;
}

.mbskin .subTitle h2 {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    margin: 0 0 4px;
}

.mbskin .subTitle p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Form Elements */
.frm_input {
    width: 100%;
    height: 48px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    display: block;
}

.frm_input:focus {
    background-color: white;
    border-color: var(--accent-purple);
    outline: none;
}


/* Input with Inline Button */
.input-row {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
}

.input-row .frm_input {
    flex: 1;
    margin-bottom: 0;
}

.btn-inline {
    width: 80px;
    height: 48px;
    background: var(--btn-dark);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.btn-inline:hover {
    filter: brightness(1.2);
}

.register_form_inner ul li {
    margin-bottom: 10px;
    list-style: none;
}

/* Submit Button */
.mbskin .btn_submit {
    width: 100%;
    height: 54px;
    background: var(--accent-magenta);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 10px 25px -5px rgba(217, 70, 239, 0.4);
}

.mbskin .btn_submit:hover {
    filter: brightness(1.1);
}

/* Help Sections */
.login_info {
    margin: 8px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.login_if_auto {
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-links {
    margin-top: 25px;
    font-size: 13px;
    color: #666;
}

.login-links a {
    color: var(--accent-magenta);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Hide theme header/footer explicitly just in case */
#header, #footer, #right-side, #open-button {
    display: none !important;
}

/* Birth date icon handling - using a standard placeholder for now */
.input-birth {
    position: relative;
}


/* Mobile Responsive */
@media (max-width: 480px) {
    .mbskin {
        padding: 15px;
    }
    .mbskin_box {
        padding: 25px 20px;
    }
}

.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}