@charset "UTF-8";

/* [AUTH] login */
.login-wrap {
    display: flex;
    min-height: 100vh;
}

.login-wrap .login-conts {
    display: flex;
    gap: 3.6rem;
    flex-direction: column;
    margin: calc(100vh / 2/3) auto calc(100vh / 1/3);
}

.login-wrap .login-conts-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login-wrap .login-conts-wrap .logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    width: 24rem;
}

.login-wrap .login-conts-wrap .login-btn {
    margin-top: 4rem;
}

.login-wrap .find-wrap {
    display: flex;
    gap: 1.2rem;
    margin: 0 auto 6rem;
}

.login-wrap .find-wrap a {
    display: flex;
    align-items: center;
    color: var(--txt-sec-dark);
}

.login-wrap .find-wrap a::after {
    margin-left: 1.2rem;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--bg-dark);
    content: '|';
}

.login-wrap .find-wrap a:last-child::after {
    margin: 0;
    content: '';
}

.user-type-list {
    display: flex;
    gap: 1.2rem;
    justify-content: space-between;
    flex-direction: row;
}

.user-type-list .user-type-item .user-type {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: column;
    padding: 1.6rem;
    border: .1rem solid var(--border-sec);
    border-radius: 1.2rem;
    width: 100%;
    cursor: pointer;
}

.user-type-list .user-type-item .user-type.is-selected {
    border: .2rem solid var(--pri-main);
    box-shadow: var(--shadow-light);
}

.user-type-list .user-type-item .user-type.is-selected strong {
    color: var(--pri-main);
}

.user-type-list li .user-type img {
    max-width: 8rem;
}

/* 약관동의 */
.terms-wrap {
    display: flex;
    gap: 1.2rem;
    flex-direction: column;
    margin: 2.4rem auto 0;
    width: 100%;
}

.terms-wrap .terms-conts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-dark);
}

.terms-wrap .terms-conts .terms-agree {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 100%;
    padding: 1.2rem 1.6rem;
    cursor: pointer;
}

.terms-wrap .terms-conts .terms-agree span {
    font-weight: 500;
}

.terms-wrap .terms-conts .terms-agree .tit-wrap {
    display: flex;
    gap: .4rem;
}

.terms-wrap .terms-conts .terms-agree .tit-wrap .num {
    font-weight: 700;
    color: var(--pri-main);
}

.terms-wrap .terms-conts .terms-agree input {
    flex: none;
}

.terms-wrap .terms-conts.is-open .more {
    transform: rotate(180deg);
}

.terms-wrap .terms-conts .terms-panel {
    overflow: hidden;
    max-height: 0;
    font-size: 1.6rem;
    transition: max-height .3s ease-in-out;
}

.terms-wrap .terms-conts.is-open .terms-panel {
    padding-bottom: 1.2rem;
    max-height: 30rem;
    background: var(--bg-light);
}

.terms-wrap .terms-conts.is-open .terms-panel p {
    padding: 1.2rem 1.6rem 0;
    overflow-y: scroll;
    height: 100%;
}

.profile-pic-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.2rem;
    grid-template-columns: repeat(4, 1fr);
}

.profile-pic-list.profile-bg-list {
    grid-template-columns: repeat(6, 1fr);

}

.profile-pic-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.profile-bg-list li .profile-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-bg-list li .profile-bg.red {
    background-color: #FFD5D5;
}

.profile-bg-list li .profile-bg.yellow {
    background-color: #FFFAE0;
}

.profile-bg-list li .profile-bg.green {
    background-color: #F4FFE2;
}

.profile-bg-list li .profile-bg.blue {
    background-color: #DEF2FF;
}

.profile-bg-list li .profile-bg.purple {
    background-color: #F5EEFF;
}

.profile-bg-list li .profile-bg.pink {
    background-color: #FFE8F0;
}

.profile-pic-list li .btn.choice {
    border: .4rem solid transparent;
    border: .1rem solid var(--border-sec);
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.profile-pic-list li .btn.choice.pic {
    border: .4rem solid transparent;
    border: .1rem solid var(--border-sec);
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.profile-pic-list li .btn.choice.is-selected {
    border: .2rem solid var(--pri-main);
}

.profile-pic-list li .btn.choice img {
    display: flex;
    width: 100%;
}

.form-grp {
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
    width: 100%;
}

/* 입력 영역 */
.size-unit-input-wrap {
    display: flex;
    gap: 1.2rem;
    align-items: start;
    justify-content: space-between;
    width: 100%;
}

.unit-toggle {
    display: flex;
    flex-shrink: 0;
    flex: 0 1 auto;
    border: 0.1rem solid var(--border-sec);
    border-radius: 1.2rem;
    overflow: hidden;
    height: 4.4rem;
    background: var(--bg-light);
}

.unit-toggle .btn-unit {
    padding: 0 1.2rem;
    border: none;
    width: 4.8rem;
    background: transparent;
    font-size: 1.4rem;
    color: #666;
    transition: 0.2s;
    cursor: pointer;
}

.btn-unit.is-active {
    border: 0.1rem solid #546ef4;
    border-radius: 1.2rem;
    background: #fff;
    color: #546ef4;
}

.data-unit-wrap {
    display: flex;
    gap: .8rem;
    flex: 1;
    flex-direction: column;
}

.data-unit-wrap .data-unit-input {
    display: flex;
    gap: .8rem;
    align-items: center;
}

/* 입력필드 */
.data-unit-input input {
    width: 100%;
    text-align: right;
}

/* 오른쪽 단위 표시 */
.unit-label {
    font-size: 1.5rem;
    color: #333;
}

/* 안내문 */
.guide-txt {
    font-size: 1.6rem;
    color: var(--txt-sec-light);
    text-align: right;
}