:root {
    --primary-dark: #0c2332;
    --primary-light: #1a3d56;
    --text-muted: #66778f;
    --text-light: #b4c1d2;
    --bg-light: #f7f7f7;
    --input-bg: #edf0f2;
    --border-color: rgba(12, 35, 50, 0.02);
}

* {
    font-family: 'Noto Sans KR', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.login-container {
    height: 100vh;
    display: flex;
}

/* 왼쪽 브랜드 섹션 */
.brand-section {
    flex: 1;
    background: linear-gradient(138deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            rgba(237, 240, 242, 0.02) 0px,
            rgba(237, 240, 242, 0.02) 1px,
            transparent 1px,
            transparent 22px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(237, 240, 242, 0.02) 0px,
            rgba(237, 240, 242, 0.02) 1px,
            transparent 1px,
            transparent 22px
        );
    pointer-events: none;
}

.brand-content {
    position: relative;
    z-index: 1;
    min-width: 500px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    width: 270px;
    height: 72px;
    aspect-ratio: 15/4;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.logo-text {
    font-size: 36px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.brand-description {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 36px;
}

.brand-divider {
    height: 1px;
    background: rgba(180, 193, 210, 0.2);
    margin-bottom: 36px;
}

.stats-container {
    display: flex;
    gap: 18px;
}

.stat-item {
    text-align: center;
    width: 89px;
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    color: white;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
}

/* 오른쪽 로그인 섹션 */
.login-section {
    flex: 1;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 9px;
}

.login-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.language-selector:hover,
.language-selector:focus {
    background: var(--input-bg);
    color: var(--text-muted);
    box-shadow: none;
}

.language-selector::after {
    display: none !important;
    margin-left: 4px;
    font-size: 10px;
}

.language-selector i {
    font-size: 16px;
}

/* 언어 드롭다운 메뉴 */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 160px;
}

.dropdown-menu.show{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.forgot-signup{
    margin:0 auto;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 18px;
    line-height: 1;
}

.forgot-signup a{
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
}

.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    
}

.dropdown-item:hover {
    background: var(--input-bg);
    color: var(--primary-dark);
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--primary-dark);
    color: white;
}

.form-label-custom {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 9px;
}

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 9px;
}

.forgot-password {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
}

.forgot-password:hover {
    color: var(--primary-dark);
}

.form-control-custom {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    height: 50px;
    padding: 0 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background: var(--input-bg);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(12, 35, 50, 0.1);
}

.input-group-custom {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 10;
}

.input-group-custom .form-control-custom {
    padding-left: 48px;
}

.form-divider {
    height: 1px;
    background: #ebecec;
    margin: 36px 0;
}

.btn-login {
    background: var(--primary-dark);
    border: none;
    border-radius: 30px;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 700;
    color: white;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.btn-login:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-login i {
    font-size: 12px;
}

.info-box {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 19px;
    margin-top: 18px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.info-box i {
    color: var(--text-muted);
    font-size: 18px;
    flex-shrink: 0;
}

.info-box p {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* 반응형 */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .brand-section {
        padding: 40px 30px;
        min-height: auto;
    }

    .brand-content {
        max-width: 100%;
    }

    .login-section {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .brand-description {
        font-size: 16px;
    }

    .login-title {
        font-size: 24px;
    }
}

