@charset "utf-8";

/* ============================================================
   LOGIN PAGE
   ============================================================ */

/* ===== 페이지 헤더 ===== */

.login-page {
    padding: 100px 0 180px 0;
}

.login-page__header {
    text-align: center;
    margin-bottom:70px;
}

.login-page__title {
    color: var(--aticle-title);
    margin-bottom: 15px;
}

.login-page__desc {
    color: var(--sub-title);
}

/* ===== 바디 레이아웃 ===== */
.login-page__body {
    align-items: flex-start;
}

/* ===== 좌측 폼 영역 ===== */
.login-form-wrap {
    border: 1px solid #D7D7D7;
    border-radius: 12px;
    overflow: hidden;
    flex: 4;   /* 40% */
}

/* ===== 탭 ===== */
.login-tab {
    border-bottom: 1px solid #e0e0e0;
}

.login-tab__btn {
    flex: 1;
    padding: 35px 0 15px 0;
    background: none;
    border: none;
    color: var(--explan);
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.login-tab__btn.active {
    color: var(--primary);
    border-bottom: none;
    font-weight: 700;
    position: relative;
}

.login-tab__btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--primary);
}



/* ===== 폼 ===== */
.login-form {
    padding: 32px;
}

.login-form__row {
    gap: 16px;
    margin-bottom: 16px;
}

.login-form__label {
    width: 72px;
    flex-shrink: 0;
    color: var(--aticle-title);
}

.login-form__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    color: var(--title);
    transition: border-color var(--transition);
}

.login-form__input:focus {
    border-color: var(--primary);
}

.login-form__input::placeholder {
    color: var(--placehold);
}
.save_id_label {
    color: var(--explan);
}

/* 아이디 저장 체크박스 */
.login-form__check {
    gap: 15px;
    margin-bottom: 45px;
}

.login-form__check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.login-form__check label {
    color: var(--sub-title);
    cursor: pointer;
}

/* 로그인 버튼 */
.btn-login-submit {
    display: block;
    width: 100%;
    padding: 15px 0;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity var(--transition);
}

.btn-login-submit:hover {
    opacity: 0.85;
}

/* ===== 하단 링크 ===== */
.login-bottom-links {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    margin-top: 20px;
}

.login-bottom-link {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    color: var(--title);
    transition: background var(--transition);
    border: 1px solid rgba(240, 240, 240, 1);
    border-radius: 12px;
}
.login-bottom-link.active {
    background: rgba(232, 69, 25, 0.06);
}

.login-bottom-link:hover {

    border: 1px solid rgba(232, 69, 25, 1);
}
.login-bottom-link:hover .login-bottom-link__text p:first-child{
    color: rgba(232, 69, 25, 1);
}

.login-bottom-link__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(232, 69, 25, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-bottom-link__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.login-bottom-link__text p:first-child {
    color: rgba(34, 34, 34, 1);
    margin-bottom: 4px;
}

.login-bottom-link__text p:last-child {
    color: rgba(119, 119, 119, 1);
}

/* ===== 우측 이용안내 ===== */
.login-info-wrap {
    flex: 6;   /* 60% */
    width: auto;     /* width: 100% 제거 */
}

.login-info__box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 39px;
}

.login-info__box--gray {
    padding: 30px;
    background: #F9F9F9;
    border-radius: 10px;
}

.login-info__title {
    position: relative;
    color: var(--aticle-title);
}


.login-notice__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url('../../images/icon/icon_notice.png') center / contain no-repeat;
}

.login-notice__title {
    color: var(--aticle-title);
    position: relative;  /* ← 이거 추가 */
    padding-left: 25px;  /* ← 이거 추가 (아이콘 공간 확보) */
}

.login-info__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-info__list li {
    color: var(--explan);
    padding-left: 12px;
    position: relative;
    line-height: 1.5;
}

.login-info__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--explan);
}

.login-info__indent {
    padding-left: 25px;
    color: var(--explan);
}




/* ============================================================
   반응형
   ============================================================ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .login-info-wrap {
        width: 280px;
    }

    .login-form {
        padding: 24px;
    }
}

@media screen and (max-width: 768px) {
    .login-page__body {
        flex-direction: column;
    }

    .login-form-wrap {
        width: 100%;
    }

    .login-info-wrap {
        width: 100%;
    }

    .login-bottom-links {
        flex-direction: column;

    }

    .login-bottom-link {
        width: 280px;
    }

    .login-form__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .login-form__label {
        width: auto;
    }

    .login-form__input {
        width: 100%;
    }

    .login-form__check {
        padding-left: 0;
    }
}
