/* common */
p {
    word-break: keep-all;
    font-size: 16px;
}

.container-inner {
    max-width: 1024px;
}

.container-title {
    font-size: 20px;
    margin-top: 24px;
}

.warning-text {
    color: red;
}

.gray-text {
    color: #777777;
}

.m-top {
    margin-top: 16px;
}

.content-box {
    margin-top: 4px;
}

.box-border {
    border-radius: 4px;
    border: 1px solid #dddddd;
    padding: 16px;
    margin: 20px 0;
}

.blue-text {
    color: #1E4DA4;
}

/* progress */
.join-title-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 88px;
}

.join-title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    width: 100%;
    border-bottom: 1px solid #cccccc;
}

.join-progress-bar {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    max-width: 1024px;
    transform: translate(0, 160px);
}

.join-progress-bar > li {
    flex: 1;
    text-align: center;
    border-bottom: 4px solid #cccccc;
}

.join-progress-container > * {
    margin-bottom: 16px;
}

.join-progress-num {
    display: flex;
    justify-content: center;
    background-color: #F0F0F0;
    color: #cccccc;
    align-items: center;
    border-radius: 50%;
    width: 36px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 16px auto;
}

.join-progress-text {
    font-size: 16px;
    color: #BFBFBF;
}

.join-progress-bar > .active {
    border-bottom: 4px solid #2C3B7E;
}

.active .join-progress-num {
    color: white;
    background-color: #2C3B7E;
}

.active .join-progress-text {
    color: black;
}

/* 본인인증 form */
.certification-form {
    max-width: 360px;
    width: 100%;
}
/* button */
.join-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 100px;
}

.join-btn {
    flex: 0 1 180px;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}

.join-btn.next {
    color: white;
    background-color: #2C3B7E;
}

.join-btn.cancel {
    color: black;
    background-color: #cccccc;
}


/* policy */
.scroll-box {
    height: 300px;
    overflow-y: scroll;
    line-height: 1.3;
}

.radio-box {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.age-box {
    margin-top: 40px;
}

.warning-box {
    margin-top: 30px;
    background-color: #f5f5f5;
}

.radio-btn-container {
    display: flex;
    justify-content: center;
    /*margin-top: 8px;*/
    gap: 8px;
    font-size: 16px;
}

.radio-btn-container label {
    display: flex;
    align-items: flex-end;
}

.radio-btn-container input {
    width: 16px;
    height: 16px;
    margin: 0 3px;
}

.policy-sub-title {
    font-size: 20px;
}

h4.m-top{
    margin-top: 30px;
}

.border-container {
    border: 2px solid #e4e4e4;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.scroll-box table {
    width: 100%;
    margin-top: 16px;
}

.scroll-box table,.scroll-box th,.scroll-box td {
    border: 1px solid #e4e4e4;
    border-collapse: collapse;
}

.scroll-box table td,.scroll-box table th {
    font-size: 14px;
    padding: 10px;
}

.scroll-box table th {
    text-align: center;
    background-color: #f2f2f2;
    border-top-width: 2px;
    border-top-color: #c7c7c7;
    font-weight: 500;
}

.scroll-box table td {
    text-align: start;
    font-size: 12px;
    font-weight: 400;
    padding: 10px 10px;
}

.scroll-box table td p {
    font-size: 12px;
}

/* certification */
.phone-img {
    width: 50%;
    max-width: 120px;
    aspect-ratio: 1/ 1;
}

.img-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.join-btn.phone {
    width: 100%;
    max-width: 360px;
    flex: auto;
}

.phone-info-text {
    font-weight: bold;
}

/* user-info */
.label-container {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.input-container {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.label-sub-text {
    color: #ababab;
}

.input-text {
    flex: 1;
    border: 1px solid #cccccc;
    border-radius: 8px;
    height: 40px;
    width: 100%;
}

.input-desc {
    color: #999999;
    margin-top: 4px;
}

.input-button {
    flex: 0 1 160px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    color: black;
}

.input-button.active {
    background-color: #cccccc;
    color: white;
}

.text-height {
    height: 40px;
}

.fix-text {
    font-size: 16px;
}

.id-input {
    flex: 4;
}

.id-btn {
    flex: 1;
    border-radius: 8px;
    height: 40px;
    border: 1px solid #2e3d7f;
    color: white;
    background-color: #2e3d7f;
}

.id-btn:disabled {
    color: #999999;
    border: 1px solid #cccccc;
    background-color: #f0f0f0;
}


.pw-icon {
    position: absolute;
    right: 14px;
    width: 16px;
    height: 16px;
}
.pw-hide {
}

.user-info-content{
    flex: 3;
}

.info-container{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    margin-top: 30px;
}

.domain-container {
    display: flex;
    flex: 1;
}

#domain-select {
    flex: 1;
    color: grey;
}

#domain-input {
    flex: 1;
    display: none;
}

input, select {
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input:focus, select:focus {
    outline: none;
    border-color: #4b9ced;
    box-shadow: 0 0 5px rgba(75, 156, 237, 0.5);
}

.at-symbol {
    font-size: 18px;
    font-weight: bold;
}

/* complete */
.logo-box {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.logo-img {
    padding: 0 30px;
    width: 30%;
}

.info-box {
    margin-top: 30px;
}

/* 태블릿 화면 */
@media (max-width: 1024px) {
    p {
        font-size: 12px;
    }

    .box-border {
        margin: 4px 0;
    }

    .container-title {
        font-size: 16px;
    }

    .join-title-container {
        margin-top: 80px;
        margin-bottom: 88px;
    }

    .join-title {
        height: 100px;
    }

    .join-progress-bar {
        transform: translate(0, 80px);
    }

    .radio-btn-container {
        margin-top: 8px;
        font-size: 12px;
    }

    .radio-btn-container input {
        width: 12px;
        height: 12px;
    }

    .logo-box {
        gap: 8px;
    }

    .scroll-box {
        height: 100px;
    }

    .info-container{
        display: block;
        margin-top: 4px;
    }
    .input-button {
        flex: 1;
    }

    .id-input{
        flex: 3;
    }

    .join-btn-container {
        margin-top: 12px;
        margin-bottom: 50px;
    }

    .logo-img {
        padding: 0;
        aspect-ratio: 11 / 7;
    }

    .policy-sub-title {
        font-size: 16px;
    }
}