@charset "utf-8";

.forum-login-panel {
    overflow: hidden;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #fff;
    color: #172033;
}
.forum-login-panel fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}
.forum-login-head,
.forum-login-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #edf1f5;
    background: linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(245, 158, 11, .10)), #fbfcfe;
}
.forum-login-mark,
.forum-login-profile .profile_img {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    overflow: hidden;
    place-items: center;
    border-radius: 8px;
    background: #172033 url("../../../img/forum/mark.svg") no-repeat center / cover;
}
.forum-login-profile .profile_img img {
    display: block;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px;
}
.forum-login-profile .profile_img img[src$="no_profile.gif"] {
    opacity: 0;
}
.forum-login-head h2,
.forum-login-profile h2 {
    margin: 0;
    color: #172033;
    font-size: 16px;
    line-height: 1.25;
}
.forum-login-head p,
.forum-login-profile p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}
.forum-login-panel form {
    padding: 16px;
}
#ol_id,
#ol_pw {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0 0 8px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #172033;
}
#ol_id:focus,
#ol_pw:focus {
    border-color: #0f766e;
    background: #fff;
    outline: 0;
}
.forum-login-submit {
    width: 100%;
    height: 42px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    background: #172033;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.forum-login-util {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: #667085;
    font-size: 12px;
}
.forum-login-util a,
.forum-login-join,
.forum-login-actions a,
.forum-login-logout {
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
}
.forum-login-join {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    margin-top: 12px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #fff;
}
.forum-login-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px 0;
}
.forum-login-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 12px;
}
.forum-login-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 16px 16px;
    padding: 0;
    list-style: none;
}
.forum-login-stats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background: #f8fafc;
    color: #475467;
    text-decoration: none;
}
.forum-login-stats strong {
    color: #0f766e;
}
.forum-login-logout {
    display: block;
    padding: 13px 16px;
    border-top: 1px solid #edf1f5;
    text-align: center;
}
.selec_chk {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}
.chk_box {
    position: relative;
}
.chk_box input[type="checkbox"] + label {
    position: relative;
    padding-left: 22px;
    color: #667085;
    cursor: pointer;
}
.chk_box input[type="checkbox"] + label span {
    position: absolute;
    top: 1px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
}
.chk_box input[type="checkbox"]:checked + label span {
    border-color: #0f766e;
    background: #0f766e;
}
.chk_box input[type="checkbox"]:checked + label span:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* HJON 로그인 패널 정리 */
.forum-login-profile {
    justify-content: center;
    text-align: center;
}

.forum-login-profile h2 {
    width: 100%;
    margin: 0;
}

.forum-login-profile .profile_img {
    display: none !important;
}
.forum-login-head--simple {
    display: block !important;
    padding: 14px 16px !important;
    text-align: center !important;
}

.forum-login-head--simple h2 {
    margin: 0 !important;
}

/* HJON 모바일 회원정보 카드 압축 */
@media (max-width: 640px) {
    .forum-login-profile {
        padding: 13px 14px !important;
    }

    .forum-login-profile h2 {
        font-size: 15px !important;
    }

    .forum-login-profile p {
        margin-top: 3px !important;
        font-size: 11px !important;
    }

    .forum-login-actions {
        gap: 7px !important;
        padding: 10px 12px 0 !important;
    }

    .forum-login-actions a {
        flex: 1 1 0 !important;
        justify-content: center !important;
        min-height: 34px !important;
        padding: 0 8px !important;
    }

    .forum-login-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin: 10px 12px 12px !important;
    }

    .forum-login-stats a {
        display: block !important;
        min-height: 54px !important;
        padding: 9px 6px !important;
        text-align: center !important;
    }

    .forum-login-stats span,
    .forum-login-stats strong {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .forum-login-stats span {
        margin-bottom: 4px !important;
        font-size: 11px !important;
    }

    .forum-login-stats strong {
        font-size: 12px !important;
    }

    .forum-login-logout {
        padding: 11px 12px !important;
        font-size: 12px !important;
    }

    .forum-login-panel--before form {
        padding: 13px !important;
    }
}
