@charset "utf-8";

/* ========================================
   Social Register - Dark Theme
   ======================================== */

/* 기본 리셋 */
.sr-wrap *,
.sr-wrap *::before,
.sr-wrap *::after {
    box-sizing: border-box;
}

/* 메인 래퍼 */
.sr-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    color: #fff;
}

/* 헤더 */
.sr-header {
    text-align: center;
    margin-bottom: 40px;
}

.sr-title {
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

.sr-steps {
    display: inline-flex;
    gap: 30px;
    align-items: center;
}

.sr-step {
    font-size: 20px;
    color: #ccc;
}

.sr-step.active {
    color: #fff;
    font-weight: 600;
}

.sr-step em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
    margin-right: 6px;
    background: #000;
    color: #CCCCCC;
    border: 1px solid #CCC;
}

.sr-step.active em {
    background: #FFCE00;
    border: 1px solid #FFCE00;
    color: #000;
}


.sr_lay {padding:50px;
border-radius: 5px;
background: #121212;
}

/* 섹션 */
.sr-section {
    margin-bottom: 30px;
}

.sr-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #FFCE00;
    text-align: center;
    margin: 0 0 50px;
	word-break: auto-phrase;
}

.sr-section-title p{font-size:16px; margin-top:10px; word-break: auto-phrase;}

.sr-section-desc {
    font-size: 18px;
    color: #fff;
    margin: 0 0 15px;
}

/* 필드 그룹 */
.sr-field-group {
    margin-bottom: 12px;
}

.sr-cols-2 {
    display: flex;
    gap: 12px;
}

.sr-cols-2 .sr-field {
    flex: 1;
}

.sr-field {
    position: relative;
}

.sr-field.full {
    width: 100%;
}

.mt50 {margin-top: 50px;}

/* 인풋 */
.sr-input {
    width: 100%;
    height: 50px;
    padding: 0 35px 0 15px;
    background: #fff;
    border-radius: 5px;
    color: #222;
    font-size:18px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.sr-input:focus {
    border-color: #f5c518;
}

.sr-input::placeholder {
    color: #888;
}

.sr-input[readonly] {
    background: #fff;
    color: #222;
    cursor: pointer;
}

.sr-input[disabled] {
    background: #fff;
    color: #222;
    cursor: not-allowed;
}

/* 셀렉트 */
.sr-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23888'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.sr-select option {
    background: #222;
    color: #fff;
}

/* 필수 표시 */
.sr-required {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #f5c518;
    font-size: 1.1em;
    pointer-events: none;
}

/* 에러 메시지 */
.sr-error {
    color: #ff4d4d;
    font-size: 0.85em;
    margin-top: 5px;
    padding-left: 5px;
}

/* 본인인증 버튼 */
.sr-btn-cert {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    background: transparent;
    border: 1px solid #f5c518;
    color: #f5c518;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s;
}

.sr-btn-cert:hover {
    background: rgba(245, 197, 24, 0.1);
}

/* ========================================
   Terms 섹션
   ======================================== */

.sr-term-item {
    border-top: 1px solid #4D4D4D;
    padding: 18px 0;
}

.sr-term-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sr-term-view {
    background: none;
    border: none;
    color: #FFCE00;
    font-size: 17px;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sr-term-view:hover {
    opacity: 0.7;
}

/* 전체 동의 */
.sr-term-all {
    background: #0C0C0C;
    border: 1px solid #CCC;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 20px;
}

/* 체크박스 커스텀 */
.sr-checkbox {
    display: none;
}

.sr-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 17px;
    color: #E5E5E5;
    user-select: none;
}

.sr-checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #121212;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
    background: #C3C3C3;
    
}

.sr-checkbox:checked + .sr-checkmark {
    background: #f5c518;
    border-color: #121212;
}

.sr-checkbox:checked + .sr-checkmark::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 캡차 */
.sr-captcha {
    margin-top: 20px;
    padding: 15px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
}

.sr-captcha-desc {
    color: #888;
    font-size: 0.8em;
    margin: 10px 0 0;
}

/* ========================================
   버튼
   ======================================== */

.sr-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.sr-btn {
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;

    display: flex;
    padding: 16px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    color: #E5E5E5;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.51px;
    border-radius: 5px;
    border: 1px solid #f5c518;
}

.sr-btn:hover {
  /*  opacity: 0.85; */
}
.reg-login-link {display: none;}
.sr-btn-back {
display: flex;
padding: 16px 20px;
justify-content: center;
align-items: center;
gap: 10px;
flex: 1 0 0;
color: #E5E5E5;
font-size: 17px;
font-weight: 600;
letter-spacing: -0.51px;
border-radius: 5px;
border: 1px solid #FFF;
}

.sr-btn-join {
    background: #f5c518;
    color: #000;
}

/* ========================================
   약관 팝업 모달
   ======================================== */

.sr-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sr-modal-overlay.active {
    display: flex;
}

.sr-modal {
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #333;
}

.sr-modal-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.sr-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.8em;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.sr-modal-close:hover {
    color: #fff;
}

.sr-modal-body {
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    color:#fff;
}

#termModalContent {
    width: 100%;
    flex: 1;
    min-height: 300px;
    background: #121212;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.9em;
    line-height: 1.7;
    word-break: keep-all;
    white-space: pre-wrap;
    overflow-y: auto;
}

/* flatpickr 월/년 드롭다운 */
.flatpickr-month-dropdown,
.flatpickr-year-dropdown {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    -webkit-appearance: auto;
    appearance: auto;
}
.flatpickr-month-dropdown { width: 55px; }
.flatpickr-year-dropdown { width: 75px; margin-left: 6px; }
.flatpickr-month-dropdown:hover,
.flatpickr-year-dropdown:hover {
    border-color: #888;
}

/* 약관 테이블 */
.sr-term-table {
    width: 100%;
    border-collapse: collapse;
}

.sr-term-table th,
.sr-term-table td {
    padding: 12px;
    border: 1px solid #444;
    text-align: left;
    font-size: 0.9em;
}

.sr-term-table th {
    background: #2a2a2a;
    color: #f5c518;
    font-weight: 600;
}

.sr-term-table td {
    color: #ccc;
}

/* ========================================
   기존 계정 연결
   ======================================== */

.member_connect {
    max-width: 800px;
    margin: 40px auto 0;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.member_connect:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.member_connect .strong {
    font-size: 1em;
    font-weight: bold;
    margin: 0 0 10px;
    color: #fff;
}

.member_connect button {
    color: #f5c518;
    border: 0;
    padding: 6px 0;
    font-weight: bold;
    background: transparent;
    font-size: 0.91em;
    cursor: pointer;
}

.member_connect button:hover {
    text-decoration: underline;
}

/* remodal 스타일 유지 */
#sns-link-pnl .connect-close {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #383838;
    cursor: pointer;
    font-size: 15px;
}

#sns-link-pnl .connect-close:hover {
    color: #ff5191;
}

#sns-link-pnl .connect-close .txt {
    position: absolute;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
}

#sns-link-pnl #login_fs {
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

#sns-link-pnl #login_fs label {
    display: block;
    font-size: 0.93em;
    color: #7a7a7a;
    margin: 5px 0;
}

#sns-link-pnl #login_fs .lg_id,
#sns-link-pnl #login_fs .lg_pw {
    width: 100%;
    margin-bottom: 5px;
}

#sns-link-pnl #login_id,
#sns-link-pnl #login_pw {
    width: 100%;
}

#sns-link-pnl #login_fs .login_submit {
    width: 100%;
    height: 44px;
    font-size: 1.167em;
    margin: 10px auto 0;
    font-weight: bold;
    cursor: pointer;
    display: block;
}

#sns-link-pnl .connect-fg {
    height: 320px;
    text-align: left;
}

#sns-link-pnl .connect-fg .connect-desc {
    margin: 0 0 10px;
    padding: 15px;
    border: 1px solid #d6e9c6;
    background: #dff0d8;
    color: #3c763d;
}

#sns-link-pnl .connect-fg .connect-title {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.667em;
    font-weight: bold;
    text-align: center;
}

html.remodal-is-locked {
    overflow-y: scroll !important;
}

@media only screen and (min-width: 641px) {
    #sns-link-pnl.remodal {
        max-width: 400px;
        padding: 50px;
    }
}

/* ========================================
   기존 SNS 로그인/가입 스타일 (유지)
   ======================================== */

.social_info_guide {
    background: #f3f3f3;
    border: 1px solid #ddd;
    margin: 0 10px 10px;
    padding: 10px 15px;
    line-height: 1.5em;
}

.login-sns {
    margin-top: 5px;
    clear: both;
}

.login-sns h3 {
    padding-top: 10px;
    text-align: center;
    color: #777;
    font-weight: normal;
}

.sns-wrap {
    margin: 10px 0 0;
    text-align: center;
}

.sns-icon {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
}

.sns-icon:hover {
    text-decoration: none;
}

.sns-icon .ico {
    display: block;
    vertical-align: middle;
}

.sns-icon .txt i {
    font-style: normal;
}

#sns_login {
    border: 0;
    margin-top: 15px;
}

#sns_login h3 {
    padding: 10px 0 0;
    text-align: left;
    font-weight: bold;
}

#sns_login .sns-icon {
    position: relative;
    display: block;
    height: 40px;
    line-height: 40px;
    width: 100%;
    margin: 0 0 5px;
    text-align: left;
    color: #fff;
    border-radius: 2px;
}

#sns_login .sns-naver {
    background-color: #1fc800;
    border-bottom: 1px solid #1ea505;
}

#sns_login .sns-kakao {
    background-color: #ffeb00;
    border-bottom: 1px solid #e2c10a;
    color: #3c1e1e;
}

#sns_login .sns-facebook {
    background-color: #3b579d;
    border-bottom: 1px solid #28458f;
}

#sns_login .sns-google {
display: flex;
height: 60px;
padding: 16px 30px;
align-items: center;
font-size: 20px;
color: #111;
gap: 10px;
border: 1px solid #FFF;
font-weight: 500;
border-radius: 5px;
background: #FFF;
    letter-spacing: -0.5px;
}

#sns_login .sns-twitter {
    background-color: #1ea1f2;
    border-bottom: 1px solid #1e82c0;
}

#sns_login .sns-payco {
    background-color: #df0b00;
    border-bottom: 1px solid #9d0800;
}

#sns_login .txt {
    text-align: left;
    padding-left: 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    font-weight: 500;
}

#sns_login .txt:hover {
 /*   background: rgba(0, 0, 0, 0.07); */
}

.social-login-loading {
    width: 100%;
    height: auto;
    text-align: center;
}

.social-login-loading p {
    display: inline-block;
    margin-top: 10px;
    padding: 40px 0 0;
    line-height: 30px;
}

/* ========================================
   회원가입 완료 결과 페이지
   ======================================== */

.sr-step.done em {
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    font-weight: 700;
}

.sr-result-content {
    text-align: center;
    padding: 20px 0 10px;
}

.sr-result-logo {
    margin-bottom: 25px;
}

.sr-result-logo img {
    max-width: 120px;
    height: auto;
}

.sr-result-welcome {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: 2px;
}

.sr-result-msg {
    font-size: 15px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.sr-result-email {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    text-align: left;
}

.sr-result-email-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #333;
}

.sr-result-email-info strong {
    color: #fff;
    margin-left: 8px;
}

.sr-result-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.sr-result-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 1px solid #555;
    border-radius: 5px;
    background: transparent;
    transition: all 0.2s;
}

.sr-result-btn:hover {
    background: #FFCE00;
    border-color: #FFCE00;
    color: #000;
}

/* ========================================
   반응형
   ======================================== */

@media screen and (max-width: 600px) {
    .sr_lay {
        padding: 30px 15px 30px;
    }
    .sr-wrap {
        padding: 50px 20px 40px;
    }

    .sr-title {
        font-size: 1.8em;
    }

    .sr-section-title {
        font-size: 1.3em;
    }

    .sr-cols-2 {
        flex-direction: column;
        gap: 12px;
    }

    .sr-input {
        height: 44px;
        font-size: 0.9em;
    }

    .sr-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .sr-btn {
        height: 48px;
        line-height: 48px;
    }

    .sr-steps {
        gap: 20px;
    }

    .sr-step {
        font-size: 16px;
    }

    .sr-modal {
        max-height: 90vh;
        border-radius: 8px;
    }

    .sr-modal-header {
        padding: 16px 18px;
    }

    .sr-modal-body {
        padding: 18px;
    }

    .member_connect {
        margin: 20px 0 0;
    }

    .sr-result-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .sr-result-btn {
        padding: 15px 0;
        font-size: 16px;
    }

    .sr-result-welcome {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .sr-result-msg {
        font-size: 14px;
    }

    .sr-result-logo img {
        max-width: 90px;
    }
	.sr-section-title p{font-size:12px; margin-top:10px; word-break: auto-phrase;}
}

@media screen and (max-width: 400px) {
    .sr-wrap {
        padding: 50px 20px 30px;
    }

    .sr-title {
        font-size:30px;
    }

    .sr-term-row {
        flex-wrap: wrap;
        gap: 8px;
    }
}
