input.custom-control-input {transition:outline 400ms;}
input.outline-focus {outline:2px solid red;}
input.outline-focus:focus {
    box-shadow: 0 0 0 0.2rem rgb(255 0 0 / 100%);
}

#member-join-step0 {}
#member-join-step0 .wrap {}
#member-join-step0 .wrap .d-block {padding-top:1.5rem; padding-bottom:1.5rem;}

.join-wrap {
    width: 1120px;
    margin: 0 auto;
}

.join-title {

    font-family: "LINE Seed Sans KR";
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.join-desc {
    margin-bottom: 40px;
    color: #555;
    font-family: "LINE Seed Sans KR";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */

}

.join-desc a {
    color: #298282;
    text-decoration: underline;
}

.join-divider {
    border: none;
    border-top: 1px solid #000000;
    margin: 40px 0;
}

.join-form {
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 8px;
    padding-left: 160px;
    padding-right: 160px;
}

.form-row {
    display: contents;
}

.form-row label {
    font-weight: 500;
    font-family: "LINE Seed Sans KR";
    align-self: center;
    color: #555;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 142.857% */
}

.req {
    color: #ef4444;
    margin-left: 2px;
}

.form-row input,
.form-row select {
    width: 100%;
    height: 52px;
    border: 1px solid #D1D2D3;
    border-radius: 4px;
    padding: 16px 10px;
    
    color: var(--4-b-4-b-4-b, #4B4B4B);
    font-size: 15px;
    font-family: "LINE Seed Sans KR";
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    opacity: 0.8;
}

.flex {
    display: flex;
    gap: 8px;
}

.triple .flex input {
    flex: 1;
}

.email-box input {
    flex: 1;
}

.email-box select {
    width: 285px;
    border-radius: 4px;
    /* border: 1px solid var(--eaedf-2, #D1D2D3); */
    background: var(--f-6-f-8-fb, #EAEDF2);
    padding:8px 10px;
}


.email-wrap {
    display: flex;
    flex-direction: column;
}

.email-domain-input {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 15px;
    font-family: "LINE Seed Sans KR";
}
#email-address {
    margin-top:8px;
    display:none;
}


.email-box .at {
    align-self: center;
    /* padding: 0 4px; */
    color: var(--4-b-4-b-4-b, #4B4B4B);
    font-size: 14px;
    font-family: "LINE Seed Sans KR";
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}


input:focus,
select:focus {
    outline: none;
    border-color: #a7b0c0;
    box-shadow: 0 0 0 2px rgba(19, 62, 135, 0.15); /* 아주 연한 블루 그림자 */
}

.btn-area {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 80px;
}

.btn-area button,
.btn-area a {
    display: flex;
    width: 240px;
    height: 48px;
    padding: 16px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    font-family: "LINE Seed Sans KR";
    font-style: normal;
    line-height: 20px;

    text-decoration: none;   /* a 태그 밑줄 제거 */
}

.btn-cancel {
    border: 1px solid #D1D2D3;
    background: #FFF;
    color: var(--727887, #727887);
    font-weight: 400;
    font-family: "LINE Seed Sans KR";
}

.btn-cancel:hover {
    background: #EEE;
}

.btn-submit {
    border: none;
    background: #264993;
    color: var(--ffffff, #FFF);
    font-weight: 700;
    font-family: "LINE Seed Sans KR";
}

.btn-submit:hover {
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%),
        #264993;
}

.btn-area button:focus,
.btn-area a:focus {
    outline: none;
    box-shadow: none;
}



/* 회원가입 완료 */
/* 전체 영역 */
.join-complete-wrap {
    width: 100%;
    padding: 140px 0;
    display: flex;
    justify-content: center;
}

/* 카드 */
.join-complete-card {
    width: 537px;
    height: 320px;
    padding: 43px 97px;
    border-radius: 56px 0;
    border: 1px solid var(--eaedef, #EAEDEF);
    background: #F8F8F8;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* gap: 16px; */
}

/* 아이콘 */
.join-complete-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 24px;
}

.join-complete-title {
    color: var(--000000, #000);
    text-align: center;
    font-size: 24px;
    font-family: "LINE Seed Sans KR";
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 33.6px */
    letter-spacing: -0.96px;
    margin-bottom: 8px;
}

.join-complete-desc {
    color: var(--727887, #727887);
    text-align: center;
    font-size: 15px;
    font-family: "LINE Seed Sans KR";
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 24px */
    margin-bottom: 24px;
}

.join-complete-btns {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.join-complete-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 160px;
    height: 48px;
    border-radius: 8px;
    text-decoration: none;

    font-size: 14px;
    font-family: "LINE Seed Sans KR";
    line-height: 20px;
    transition: all 0.15s ease;
}

.join-complete-btn.cancel {
    border: 1px solid #D1D2D3;
    background: #FFF;
    color: #727887;
}

.join-complete-btn.cancel:hover {
    background: #EEE;
}

.join-complete-btn.submit {
    background: #264993;
    border: none;
    color: #FFF;
    font-weight: 700;
    font-family: "LINE Seed Sans KR";
}

.join-complete-btn.submit:hover {
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%),
        #264993;
}

.join-complete-btn:focus,
.join-complete-btn:active {
    outline: none;
    box-shadow: none;
}


@media (max-width: 767px) {

    .join-wrap {
        width: 100%;
    }

    .join-desc {
        font-size: 14px;
        font-family: "LINE Seed Sans KR";
        line-height: 22px;
        text-align: left;
        margin-bottom: 24px;
    }

    .join-form {
        padding: 0 20px;
        grid-template-columns: 1fr;
    }

    .form-row label {
        font-size: 14px;
        font-family: "LINE Seed Sans KR";
    }

    .form-row input,
    .form-row select {
        width: 100%;
        height: 48px;
        font-size: 14px;
        font-family: "LINE Seed Sans KR";
        padding: 12px 10px;
    }

    .flex {
        flex-direction: column;
        gap: 8px;
    }
    .email-box {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .email-box input,
    .email-box select {
        flex: 1 1 0;  
        width: 100%;
    }

    .email-box .at {
        white-space: nowrap;
        padding: 0 4px;
    }

    .form-row.triple .flex {
        flex-direction: row !important;
        gap: 8px;
    }

    .form-row.triple .flex input {
        flex: 1 1 0;
        width: 100%;
    }

    .btn-area {
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
    }

    .btn-area button,
    .btn-area a {
        width: 50%;        
        max-width: 200px; 
        height: 48px;
    }

    .join-complete-wrap {
        padding: 60px 0;
    }

    .join-complete-card {
        width: calc(100% - 40px);
        padding: 32px 24px;
        height: auto;
        border-radius: 32px 0;
    }

    .join-complete-title {
        font-family: "LINE Seed Sans KR";
        font-size: 20px;
        margin-bottom: 6px;
    }

    .join-complete-desc {
        font-family: "LINE Seed Sans KR";
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .join-complete-btns {
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .join-complete-btn {
        flex: 1 1 0;
        width: 100%;
        height: 48px;
    }

}
