@charset "utf-8";
/* 
 * Noto Sans KR 폰트 - F5 환경에서는 외부 접근 불가능할 수 있으므로 시스템 폰트 사용
 * 외부망 접속 가능한 환경에서만 아래 @import 주석 해제하여 사용
 */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap'); */

/* [기본 설정] */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
}

/* [메인 컨테이너 - 풀 스크린] */
.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
}

/* [좌측 그래픽 영역] */
.left-graphic-area {
    width: 33%;
    background-image: url('../imgs/hackers_logo.png');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px;
    color: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

/* 이미지 위 어두운 그라데이션 필터 */
.left-graphic-area::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 0;
}

.left-graphic-area h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    z-index: 1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.left-graphic-area p {
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0.9;
    z-index: 1;
    font-weight: 300;
}

/* [우측 로그인 폼 영역] */
.right-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
    overflow-y: auto;
    padding: 20px 0;
    margin-left: 33%;
    min-height: 100vh;
}

/* [폼 콘텐츠 래퍼] */
.form-content-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    box-sizing: border-box;
}

/* [헤더 영역] */
.login-header {
    margin-bottom: 50px;
    text-align: center;
}

/* [로고 이미지] */
.login-logo {
    height: 55px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    letter-spacing: -0.5px;
}

/* [입력 필드 스타일] */
.login-form-group {
    margin-bottom: 20px;
}

.login-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    background-color: #fdfdfd;
    box-sizing: border-box;
    transition: all 0.2s;
}

.login-input:focus {
    outline: none;
    border-color: #D22C26;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(210, 44, 38, 0.1);
}

select.login-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* [로그인 버튼] */
.login-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 4px;
    background-color: #D22C26;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #b01b15;
}

/* [하단 링크 영역] */
.bottom-info-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.info-group {
    margin-bottom: 30px;
}

.info-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.link-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.link-item:hover { 
    color: #D22C26; 
}

/* [아이콘 스타일] */
/* SVG 파일 이미지 아이콘 (OS 아이콘용) */
.os-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    transform: translateY(-1px);
}

/* 인라인 SVG 아이콘 (타이틀, 문의처용) */
.icon-svg {
    width: 16px; 
    height: 16px; 
    margin-right: 8px; 
    fill: currentColor; 
    display: inline-block; 
    vertical-align: middle;
}

.info-title .icon-svg { 
    width: 18px; 
    height: 18px; 
    color: #888; 
}

.contact-info {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

/* [헤더 메시지 스타일] */
/* 기본 폼 헤더 숨김 (F5 Networks 보안 로그온 등) */
#credentials_table_header {
    display: none;
}

/* 에러 메시지 영역 - 에러가 있을 때만 표시 */
#credentials_table_postheader:not(:empty) {
    color: #D22C26;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* 메시지 DIV (세션 타임아웃 등) */
.inspectionHostDIVSmall {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
}

/* [로딩 오버레이] */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #D22C26;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* [반응형 처리] */
@media (max-width: 1024px) {
    .login-container { 
        flex-direction: column; 
        overflow-y: auto; 
    }
    .left-graphic-area { 
        display: none; 
    }
    .right-form-area { 
        padding: 40px 20px; 
        justify-content: flex-start;
        margin-left: 0;
    }
    .form-content-wrapper { 
        padding: 20px 0; 
        margin-top: 40px; 
    }
    body, html { 
        overflow: auto; 
    }
}
