.card.card-primary .card-header {
    background: linear-gradient(90deg, #007bff 0%, #00c6ff 100%);
    color: #fff;
}

.login-split-container {
    display: flex;
    height: 100vh;
}

.login-left {
    flex: 2;
    background: none;
}

.login-left img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.login-right {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    min-width: 400px;
    /* 우측 폼 최소 너비 고정 */
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 24px 32px;
    box-sizing: border-box;
}

.login-box h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group-text {
    background: #f4f6f9;
    border: 1px solid #ced4da;
    border-right: none;
}

.form-control {
    border-radius: 0 4px 4px 0;
}

.row.pt-2,
.row.mt-3 {
    margin-top: 16px;
}

.btn-primary {
    width: 100%;
}

.row .col-6 a {
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .login-split-container {
        flex-direction: column;
    }

    .login-left {
        display: none !important;
    }

    .login-right {
        min-width: 0;
        width: 100vw;
    }

    .login-left-top {
        color: #222 !important;
        text-shadow: none !important;
        left: 16px;
        top: 16px;
    }

    .login-left-top i {
        color: #222 !important;
    }

    .login-left-top span {
        color: #222 !important;
    }
}

@media (max-width: 450px) {
    .login-box {
        max-width: 100vw;
        padding: 24px 8px 16px 8px;
    }
}

.language-select {
    position: absolute;
    top: 24px;
    right: 40px;
    z-index: 10;
}

.language-select .btn-link {
    border: none;
    background: none;
    padding: 0 8px;
    font-size: 1rem;
}

.language-select .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
}

.language-select .dropdown-item:active,
.language-select .dropdown-item:focus,
.language-select .dropdown-item:hover {
    background-color: #fff !important;
    color: #333 !important;
}

/* drag disable */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.login-left-top {
    position: absolute;
    top: 24px;
    left: 32px;
    display: flex;
    align-items: center;
    z-index: 20;
    /* 모바일에서 가독성 위해 배경 추가 가능 */
}

.login-footer {
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #888;
    line-height: 1.6;
}

.login-footer-links {
    margin-top: 8px;
}

.login-footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 4px;
    font-size: 0.7rem;
}

.login-footer-links a:hover {
    text-decoration: underline;
}