/* ==================================================
   MEMBER SKIN CSS — 회원가입 / 로그인
   ================================================== */

/* 파란 글로우/그라디언트 제거 — GNUBoard 기본 CSS 덮어쓰기 */
body,
#hd,
#wrapper,
#container,
#contents {
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
}

#hd,
#wrapper {
    background-image: none !important;
}

.mbr-wrap {
    max-width: 480px;
    margin: 100px auto 60px;
    padding: 0 24px;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

.mbr-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 48px 40px;
}

.mbr-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #111;
    margin: 0 0 4px;
    text-align: center;
}

.mbr-card__subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 32px;
    letter-spacing: 0.05em;
}

.mbr-field {
    margin-bottom: 20px;
}

.mbr-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.mbr-field label strong {
    color: #c00;
    font-weight: 400;
}

.mbr-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.mbr-input:focus {
    border-color: #111;
}

.mbr-input[readonly] {
    background: #f8f8f8;
    color: #999;
}

.mbr-textarea {
    width: 100%;
    height: 100px;
    padding: 10px 14px;
    border: 1px solid #eee;
    border-radius: 3px;
    font-size: 0.78rem;
    font-family: inherit;
    resize: none;
    background: #fafafa;
    color: #888;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.mbr-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #666;
    cursor: pointer;
}

.mbr-submit {
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    border-radius: 3px;
    font-family: inherit;
}

.mbr-submit:hover {
    background: transparent;
    color: #111;
}

.mbr-card__foot {
    text-align: center;
    margin-top: 24px;
    font-size: 0.82rem;
    color: #999;
}

.mbr-card__foot a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.mbr-card__foot a:hover {
    opacity: 0.5;
}

.mbr-card__foot span {
    margin: 0 8px;
    color: #ddd;
}

@media (max-width: 480px) {
    .mbr-wrap {
        margin-top: 80px;
        padding: 0 16px;
    }

    .mbr-card {
        padding: 32px 16px;
        border: none;
        box-shadow: none;
    }

    .mbr-card__title {
        font-size: 1.5rem;
    }
    
    .mbr-check {
        align-items: flex-start;
    }
    
    #captcha_img {
        max-width: 100%;
        height: auto;
    }
    
    #captcha_key {
        margin-top: 5px;
        margin-left: 0;
        width: 100%;
    }
}

/* 모바일 파란색 glow, 링크 색상 통일 */
.mbr-wrap a {
    color: #111;
}

.mbr-wrap input,
.mbr-wrap select,
.mbr-wrap textarea,
.mbr-wrap button {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border-radius: 3px;
}

.mbr-wrap input:focus,
.mbr-wrap select:focus,
.mbr-wrap textarea:focus {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    border-color: #111;
}

/* Captcha overrides for WIA skin */
#captcha {display:inline-block; position:relative; width: 100%; margin-top: 5px;}
#captcha legend {position:absolute; margin:0; padding:0; font-size:0; line-height:0; text-indent:-9999em; overflow:hidden;}
#captcha_img {width:160px; height:40px; border:1px solid #e9e9e9; margin-bottom:3px; vertical-align: middle;}
#captcha_mp3, #captcha_reload {
    display:inline-flex; 
    align-items:center; 
    justify-content:center; 
    width:auto; 
    padding:0 8px; 
    height:31px; 
    border:1px solid #ddd; 
    background:#f9f9f9; 
    cursor:pointer; 
    font-size:12px; 
    border-radius:3px; 
    vertical-align: middle;
    margin-right: 4px;
    color: #555;
}
#captcha_mp3 span, #captcha_reload span {display:none;}
#captcha_key {
    width: 90px;
    height: 31px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    margin-left: 4px;
    box-sizing: border-box;
}
#captcha_info {display:block; margin:5px 0 0; font-size:0.8rem; letter-spacing:-0.05em; color: #888;}