@charset "utf-8";

footer {margin: 0;}

.member_wrap {background: #f4f9ff; padding: 60px 0 80px;}
.login_wrap {width: 520px; margin: 0 auto; box-sizing: border-box; border-radius: 24px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); padding: 48px 48px 60px;}
.login_wrap .top {text-align: center; font-size: 0; margin: 0 0 32px;}
.login_wrap .top > a {display: flex; align-items: center; font-size: 14px; text-align: left; margin-bottom: 24px; color: #495057; font-weight: 500; transition: color 0.2s;}
.login_wrap .top > a:hover {color: #212529;}
.login_wrap .top > a span {display: flex; align-items: center; gap: 8px;}
.login_wrap .top > a span:before {content: ''; display: block; width: 5px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s;}
.login_wrap .top > a:hover span:before {transform: rotate(45deg) translateX(-2px);}
.login_wrap .top > img {display: block; margin: 0 auto 16px; width: auto; max-height: 50px;}
.login_wrap .top > p {font-size: 15px; color: #495057; font-weight: 400; background: transparent; padding: 10px; border-radius: 0; margin-top: 16px; line-height: 1.6; border: 0;}
.login_wrap .top > p span.orange {color: #c90915; font-size: 13px; font-weight: 500; display: block; margin-top: 8px; margin-bottom: -8px;}
.login_wrap .top > p span.orange .mobile-only-br,
.login_wrap .top > p span.orange .mobile-only-br2 {display: none;}

@media screen and (max-width: 550px) {
    .login_wrap .top > p span.orange .mobile-only-br,
    .login_wrap .top > p span.orange .mobile-only-br2 {display: inline;}
}

.member_input {margin: 0 0 32px;}
.member_input .mem_rdo {padding: 16px 0; border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; margin-bottom: 24px;}
.member_input .mem_rdo ul.form_element {text-align: center;}
.member_input .mem_rdo ul.form_element li {display: inline-block; margin: 0 20px;}
.member_input .mem_rdo ul.form_element li label {font-size: 15px; font-weight: 500; cursor: pointer;}

.input_wrap {}
.input_wrap dl {font-size: 15px; margin-bottom: 20px;}
.input_wrap dl:last-child {margin-bottom: 0;}
.input_wrap dt {display: block; padding-left: 4px; margin: 0 0 10px; font-weight: 500; color: #333;}
.input_wrap dd {display: block; position: relative;}
.input_wrap dd input {border-radius: 12px; width: 100%; height: 56px; border: 1px solid #e9ecef; background: #fafbfc; padding: 0 20px; box-sizing: border-box; font-size: 15px; transition: all 0.2s;}
.input_wrap dd input:focus {outline: none; border-color: #c90915; background: #fff; box-shadow: 0 0 0 3px rgba(201, 9, 21, 0.08);}
.input_wrap dd input.id_padding {padding-right: 210px;}
.input_wrap dd .info-box {border: 0; border-radius: 0; padding: 0; margin-top: 8px; margin-left: 4px; background: transparent;}
.input_wrap dd .info-box p {font-size: 12px; color: #666; line-height: 1.4; margin: 0; padding: 0;}
.input_wrap dd .info-box p:not(:last-child) {margin-bottom: 4px;}
.input_wrap dd .btn_join_chk {position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #fff; background: #999; border: 0; border-radius: 24px; height: 48px; padding: 0 35px;}

.login_wrap .btn_center_box {margin: 0;}
.login_wrap .btn_center_box ul {}
.login_wrap .btn_center_box ul li {margin-right: 0; box-sizing: border-box; padding: 0;}
.login_wrap .btn_center_box ul li button,
.login_wrap .btn_center_box ul li a {width: 100%; display: block; height: 56px; text-align: center; border-radius: 12px; font-size: 16px; font-weight: 600; transition: all 0.2s;}
.login_wrap .btn_center_box ul li.btn_blue button:hover {background: #555; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);}

.login_wrap .btn_center_box li:only-child {width: 100%;}
.login_wrap .btn_center_box li:first-child:nth-last-child(2),
.login_wrap .btn_center_box li:first-child:nth-last-child(2)+li {width: 50%;}
.login_wrap .btn_center_box li:first-child:nth-last-child(3),
.login_wrap .btn_center_box li:first-child:nth-last-child(3)~li {width: 33.33%;}
.login_wrap .btn_center_box li:first-child:nth-last-child(4),
.login_wrap .btn_center_box li:first-child:nth-last-child(4)~li {width: 25%;}
.login_wrap .btn_center_box li:first-child:nth-last-child(5),
.login_wrap .btn_center_box li:first-child:nth-last-child(5)~li {width: 20%;}

.login_wrap .certification_wrap {margin: 10px 0 0;}
.login_wrap .certification_wrap > button {font-size: 16px; font-weight: 800;  border-radius: 32px; color: #fff; width: 100%; height: 64px;}
.login_wrap .certification_wrap .btn_cert {background: #666;}
.login_wrap .certification_wrap .btn_cert.on {background: #999;}
.login_wrap .certification_wrap .btn_cert_chk {background: #666;}
.login_wrap .certification_wrap .btn_cert_chk.on {background: #999;}

.login_wrap .cert_num {margin: 15px 0 10px;}
.login_wrap .cert_num > strong {font-size: 16px; font-weight: 400; display: block; padding-left: 30px; margin: 0 0 8px;}
.login_wrap .cert_num .cert_input {background: #f6f6f6; border-radius: 32px; position: relative;}
.login_wrap .cert_num .cert_input > input[type="text"] {background: transparent; border: 0; height: 64px; padding-left: 30px; box-sizing: border-box; font-size: 18px; width: calc(100% - 190px);}

.login_wrap .cert_num .cert_time {position: absolute; right: 10px; top: 50%; transform: translateY(-50%);}
.login_wrap .cert_num .cert_time span {font-size: 18px; color: #999; margin-right: 14px;}
.login_wrap .cert_num .cert_time button {font-size: 18px; color: #fff; border-radius: 24px; background: #999; padding: 0 27px; height: 48px;}
.login_wrap .cert_num .cert_time button:disabled {opacity: 0.5; cursor: not-allowed;}

.member_link {margin: 24px 0 0; padding-top: 24px; border-top: 1px solid #f1f3f5;}
.member_link ul {text-align: center;}
.member_link ul li {display: inline-block; vertical-align: middle; padding: 0 12px; position: relative;}
.member_link ul li:after {content: ''; width: 1px; height: 12px; background: #dee2e6; position: absolute; right: 0; top: 50%; transform: translateY(-50%);}
.member_link ul li:last-child:after {display: none;}
.member_link ul li a {font-size: 14px; color: #666; transition: color 0.2s;}
.member_link ul li a:hover {color: #333;}
.member_link ul li a strong {font-weight: 700; color: #333;}

.member_tab {}
.member_tab ul {text-align: center; font-size: 0;}
.member_tab ul li {display: inline-block; width: 130px; text-align: center; border-top: 1px solid #e6e6e6; border-radius: 10px 0 0 0; background: #e6e6e6; border-left: 1px solid #e6e6e6;}
.member_tab ul li:last-child {border-radius: 0 10px 0 0; border-left: 0; border-right: 1px solid #e6e6e6;}
.member_tab ul li a {display: block;}
.member_tab ul li a span {font-size: 14px; line-height: 35px;}
.member_tab ul li.on {background: #fff;}
.member_tab ul li.on a {}
.member_tab ul li.on a span {color: #cc0000;}

@media screen and (max-width: 800px) {
    .login_wrap {width: calc(100% - 30px); margin: 0 15px;}
}

/* Number Pad Styles */
.number-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.number-pad-btn {
    height: 50px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.number-pad-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.number-pad-btn:active {
    background: #e9ecef;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.number-pad-special {
    font-size: 16px;
    background: #f8f9fa;
    border-color: #adb5bd;
}

.number-pad-special:hover {
    background: #e9ecef;
    border-color: #6c757d;
}

.number-pad-clear {
    font-size: 16px;
    background: #999;
    color: white;
    border-color: #999;
    grid-column: span 3;
}

.number-pad-clear:hover {
    background: #808080;
    border-color: #808080;
}

/* Accompanied Count Control */
.accompanied_control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.accompanied_btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accompanied_btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.accompanied_control input[type="number"] {
    width: 100px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 12px;
    border: 2px solid #e6e6e6;
    padding: 10px;
    height: 50px;
    background: #f8f9fa;
    color: #333;
    transition: all 0.2s ease;
}

.accompanied_control input[type="number"]:focus {
    outline: none;
    border-color: #0099ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

/* Remove default number input spinners */
.accompanied_control input[type="number"]::-webkit-outer-spin-button,
.accompanied_control input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.accompanied_control input[type="number"][type="number"] {
    -moz-appearance: textfield;
}

/* Step titles */
.step2_title, .step3_title {
    text-align: center;
    margin-bottom: 20px;
}

.step2_title h3, .step3_title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step2_title p, .step3_title p {
    font-size: 14px;
    color: #666;
}

/* Link button */
.btn_secondary_link {
    display: inline-block;
    font-size: 13px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.btn_secondary_link:hover {
    color: #666;
}

.link_button {
    font-size: 14px;
}

@media screen and (max-width: 550px) {
    .login_wrap {padding: 20px 15px;}
    .login_wrap .top {margin: 0 0 24px;}
    .login_wrap .top > a {font-size: 12px;}
    .login_wrap .top > img {margin: 20px auto 10px; height: 24px; width: auto;}
    .login_wrap .top > p {font-size: 13px;}

    .member_input {margin: 0 0 20px;}
    .member_input .input_wrap {padding-bottom: 16px;}
    .member_input .mem_rdo {padding: 8px 0;}
    .member_input .mem_rdo ul.form_element li label {font-size: 14px;}

    .input_wrap dl {font-size: 14px; margin-bottom: 15px;}
    .input_wrap dt {padding-left: 0;}
    .input_wrap dd input {padding: 0 15px; height: 35px; font-size: 13px;}

    .login_wrap .btn_center_box ul li button, .login_wrap .btn_center_box ul li a, .login_wrap .certification_wrap > button {height: 48px; font-size: 15px;}

    .member_link {margin: 20px 0 0; padding-top: 20px;}
    .member_link ul {text-align: center;}
    .member_link ul li {display: inline-block; vertical-align: middle; padding: 0 8px; position: relative;}
    .member_link ul li:after {content: ''; width: 1px; height: 10px; background: #dee2e6; position: absolute; right: 0; top: 50%; transform: translateY(-50%);}
    .member_link ul li:last-child:after {display: none;}
    .member_link ul li a {font-size: 13px; color: #666;}
    .input_wrap dd > p {font-size: 14px;}
    .login_wrap .certification_wrap > button {font-size: 13px;}
    .login_wrap .cert_num .cert_input > input[type="text"] {height: 45px; font-size: 13px;}
    .login_wrap .cert_num .cert_time button {height: 32px; font-size: 13px;}
    .login_wrap .cert_num .cert_time span {font-size: 13px;}
    .login_wrap .cert_num > strong {font-size: 14px; padding: 0;}

    .input_wrap dd input.id_padding {padding-right: 140px;}
    .input_wrap dd .btn_join_chk {padding: 0 20px; height: 32px; right: 0; font-size: 13px;}

    /* Number Pad Mobile */
    .number-pad-btn {
        height: 45px;
        font-size: 16px;
    }

    .number-pad-special, .number-pad-clear {
        font-size: 14px;
    }

    /* Accompanied Control Mobile */
    .accompanied_control {
        gap: 8px;
    }

    .accompanied_btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .accompanied_control input[type="number"] {
        width: 80px;
        height: 45px;
        font-size: 18px;
        border-radius: 10px;
    }
}
