@charset "UTF-8";

/* 1. 공통 초기화 및 외곽 틀 */
.login_white, .trend_login_card { 
    box-sizing: border-box; 
    font-family: sans-serif; 
}

.login_white { 
    width: 100%; 
    max-width: 236px; 
    font-size: 12px; 
}

.login_white fieldset {
    position: relative; 
    border: none !important; 
    background: transparent !important; 
    box-shadow: none !important; 
    padding: 12px 15px !important; 
    margin: 0 !important;
    overflow: hidden;
}


/* 2. 로그인 전 화면 (입력 폼) */
.login_white fieldset .idpwWrap { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}

.login_white fieldset .idpw { 
    width: 140px; 
}

.login_white fieldset .idpw input {
    border: 1px solid #e2e8f0; 
    color: #1e293b; 
    width: 100%; 
    background: #f8fafc;
    padding: 6px 8px; 
    margin-bottom: 3px; 
    font-size: 11px; 
    border-radius: 5px; 
    box-sizing: border-box;
}

.login_white fieldset .idpw input:focus { 
    border-color: #2990e4; 
    background: #fff; 
    outline: none; 
}

.login_white fieldset .idpw input:last-child { 
    margin-bottom: 0; 
}

.login_white fieldset .login { 
    margin: 0; 
    float: right; 
    border: 0; 
width: 56px;
    height: 54px
    cursor: pointer; 
}


/* 3. 로그인 전 화면 (보안 및 로그인 유지) */
.login_white fieldset p.securitySignIn { 
    margin: 6px 0 0 2px; 
    display: flex; 
    align-items: center; 
    min-height: 14px; 
    padding-left: 16px; 
}

.login_white fieldset p.noneSSL { 
    background: url("../images/none_ssl.png") no-repeat left center; 
    background-size: 11px; 
}

.login_white fieldset p.SSL { 
    background: url("../images/ssl.png") no-repeat left center; 
    background-size: 11px; 
}

.login_white fieldset p.securitySignIn button.text { 
    background: none; 
    border: none; 
    padding: 0; 
    margin: 0; 
    font-size: 11px; 
    cursor: pointer; 
}

.login_white fieldset p.noneSSL button.text { 
    color: #f97316; 
}

.login_white fieldset p.SSL button.text { 
    color: #10b981; 
}

.login_white fieldset p.keep { 
    margin: 0; 
    display: flex; 
    align-items: center; 
}

.login_white fieldset p.keep input { 
    width: 12px; 
    height: 12px; 
    margin-right: 4px; 
    border: 0; 
}

.login_white fieldset p.keep label { 
    font-size: 11px; 
    color: #64748b; 
    cursor: pointer; 
}


/* 4. 로그인 전 화면 (하단 링크) */
.login_white fieldset ul.help {
    margin: 10px 0 0 0; 
    padding: 8px 0 0 0; 
    border-top: 1px solid #f1f5f9;
    list-style: none; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    white-space: nowrap;
}

.login_white fieldset ul.help li { 
    padding: 0 3px; 
    background: url(../images/white/vrType1.gif) no-repeat left center; 
    line-height: 12px; 
}

.login_white fieldset ul.help li:first-child { 
    background: none; 
    padding-left: 0; 
}

.login_white fieldset ul.help li a { 
    color: #64748b; 
    text-decoration: none; 
    font-size: 11px; 
}

.login_white fieldset ul.help li a:hover { 
    color: #000; 
    text-decoration: underline; 
}


/* 5. 로그인 후 화면 (프로필 헤더) */
.card_header { 
    display: flex; 
    align-items: center; 
    position: relative; 
    padding: 6px; 
}

.user_avatar { 
    width: 30px; 
    height: 30px; 
    background: #f1f4f6; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 10px; 
}

.user_avatar i { 
    font-size: 15px; 
    color: #bcc4cc; 
}

.user_meta { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.nickname_row { 
    display: flex; 
    align-items: center; 
    line-height: 1.2; 
}

.user_meta .user_name { 
    font-size: 13px; 
    font-weight: 700; 
    color: #1e2022; 
    text-decoration: none; 
    max-width: 90px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.user_meta .user_nim { 
    font-size: 11px; 
    color: #616e7c; 
    margin-left: 2px; 
}

.btn_admin_tag { 
    background: #e6f4fe; 
    color: #2990e4; 
    font-size: 9px; 
    font-weight: bold; 
    padding: 1px 5px; 
    border-radius: 3px; 
    margin-top: 2px; 
    text-decoration: none; 
}


/* 6. 로그인 후 화면 (새 로그아웃 버튼) */
.btn_logout_text {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 11px;
    color: #64748b; 
    background: #ffffff;
    border: 1px solid #e2e8f0; 
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.btn_logout_text:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
}


/* 7. 로그인 후 화면 (2x2 메뉴 단추) */
.card_body { 
    margin-top: 2px; 
    margin-bottom: 2px; 
    padding: 10px; 
}

.trend_menu_grid { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 6px 8px; 
}

.trend_menu_grid li a { 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start; 
    background: #f8fafc; 
    padding: 4px 6px !important; 
    border-radius: 6px; 
    text-decoration: none; 
}

.trend_menu_grid li a:hover { 
    background: #f1f4f6; 
}

.icon_wrapper { 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 5px; 
    flex-shrink: 0; 
}

.icon_wrapper i { 
    font-size: 9px; 
}


/* 8. 메뉴별 파스텔 색상 정의 및 폰트 */
.c_blue { background: #e6f4fe; color: #2990e4; }
.c_green { background: #e6f9f0; color: #10b981; }
.c_orange { background: #fff4eb; color: #f97316; }
.c_pink { background: #fff0f6; color: #f43f5e; }

.menu_text { 
    font-size: 11px !important; 
    color: #475467; 
    font-weight: 500; 
    letter-spacing: -0.5px; 
}

.trend_menu_grid li a:hover .menu_text { 
    color: #101828; 
}
