
/* 새로운 로그인 페이지 레이아웃 V2 - 6:4 분할 */
.login-container-v2 {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

/* 좌측 영역 (60%) */
.login-left-area {
    flex: 6;
    display: flex;
    flex-direction: column;
}

/* 우측 로그인 영역 (40%) */
.login-right-area {
    flex: 4;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

/* 상단 배너 영역 */
.login-banner-top {
    flex: 1;
    min-height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 하단 영역 (5:5 분할) */
.login-banner-bottom {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

/* 하단 좌측 배너 (50%) */
.login-banner-left {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: white;
}

/* 하단 우측 배너 (50%) */
.login-banner-right {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: white;
}

/* 배너 아이템 공통 */
.banner-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

.banner-item.default-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-item.default-left {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.banner-item.default-right {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.banner-content {
    padding: 40px;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.banner-item[style*="background-image"] .banner-content {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.7);
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.banner-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.banner-content p {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.banner-content div {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

/* 공지사항 슬라이더 */
.notice-slider {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.notice-slider-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.notice-slider-content {
    flex: 1;
    overflow: hidden;
}

.notice-slides {
    position: relative;
    height: 24px;
}

.notice-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.notice-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.notice-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
    font-size: 13px;
    color: #2c3e50;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-time {
    font-size: 11px;
    color: #7f8c8d;
    flex-shrink: 0;
}

/* 로그인 폼 박스 */
.login-form-box {
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 14px;
}

.alert-error {
    padding: 14px 16px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 13px;
    border-left: 4px solid #dc3545;
}

.form-login .form-group {
    margin-bottom: 20px;
}

.form-login label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-login .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-login .form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.link-find {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.link-find:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .login-container-v2 {
        flex-direction: column;
    }
    
    .login-left-area {
        flex: none;
        min-height: 400px;
    }
    
    .login-right-area {
        flex: none;
        box-shadow: none;
        min-height: calc(100vh - 400px);
    }
    
    .login-banner-top {
        min-height: 200px;
    }
    
    .login-banner-bottom {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .login-banner-bottom {
        grid-template-columns: 1fr;
    }
    
    .login-banner-top {
        min-height: 150px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content h3 {
        font-size: 20px;
    }
    
    .login-right-area {
        padding: 20px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
}
