html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.particles-js {
    position: fixed;
    inset: 0;
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-bg {
    display: flex;
    min-width: clamp(720px, 45vw, 720px);
    min-height: clamp(400px, 45vh, 400px);
    overflow: hidden;
    background: #0d589e;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border-radius: 5px;
}

.login-card {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.login-left {
    flex: 0 0 42%;
    background: linear-gradient(160deg, #0c57a5, #0a4c8c);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.login-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.login-left h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-weight: normal;
}

.login-left h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: normal;
}

.login-desc {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.login-desc li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.login-desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.login-right {
    flex: 1;
    padding: 40px 40px;
    box-sizing: border-box;
    background: #ffffff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.mobile-system-title {
    display: none;
    text-align: center;
    margin-bottom: 30px;
}

.mobile-system-title h3 {
    font-size: 25px;
    margin-bottom: 6px;
    color: #0a4c8c;
    font-weight: normal;
}

.mobile-system-title h4 {
    font-size: 15px;
    color: #666;
    font-weight: normal;
}

.login-right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.login-title {
    font-size: 24px;
}

.login-right-header a {
    font-size: 14px;
    color: #666;
}

.login-right-header em {
    color: #0a4c8c;
    font-style: normal;
}

.login-form {
    width: 100%;
}

.form-row {
    position: relative;
    margin-bottom: 25px;
}

.form-row i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.form-row input {
    width: 100%;
    height: 42px;
    padding-left: 38px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.form-row input:focus {
    outline: none;
    border-color: #28c3b3;
}

.captcha-row {
    display: flex;
    gap: 10px;
}

.captcha-row input {
    flex: 1;
    min-width: 0;
}

.captcha-row img {
    flex-shrink: 0;
    width: 110px;
    height: 42px;
}

.login-btn {
    width: 100%;
    height: 44px;
    background: #0a4c8c;
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    margin-top: 6px;
    cursor: pointer;
}

.login-btn:hover {
    opacity: .9;
}

.login-forget {
    margin-top: 16px;
    text-align: center;
}

.login-forget a {
    font-size: 14px;
    color: #0a4c8c;
}

.login-footer {
    padding: 20px 10px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}

.login-footer a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.login-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1280px) {

    .login-bg {
        width: 50vw;
        min-width: 720px;
        height: auto;
    }

    .login-left {
        flex: 0 0 45%;
    }

    .login-right {
        padding: 20px 20px;
    }

}

@media (max-width: 767px) {

    body {
        min-width: 0;
    }

    .login-left {
        display: none;
    }

    .login-bg {
        width: 90vw;
        min-width: 360px;
        height: auto;
    }

    .login-right {
        width: 100%;
        padding: 30px 20px;
    }

    .mobile-system-title {
        display: block;
    }

    .login-right-header {
        margin-bottom: 30px;
    }

    .form-row {
        position: relative;
        margin-bottom: 20px;
    }

    .login-footer {
        padding: 20px 10px;
        text-align: center;
        font-size: 12px;
        color: rgba(255, 255, 255, .85);
    }

    .login-footer a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
    }

}

