body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f0f2f5;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/login-illustration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-page-brand-img {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 32px;
    box-sizing: border-box;
    z-index: 0;
    background: #2c4e91;
}

.login-left.has-brand-image {
    background-image: none;
}

.login-left.has-brand-image .login-page-brand-img {
    display: block;
}

.login-left.has-brand-image .platform-title {
    display: none;
}

.platform-title h1 {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.platform-image {
    display: none;
}

.login-right {
    width: 500px;
    background: #1a2943;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 16px 32px;
    box-sizing: border-box;
}

.login-site-title {
    width: 100%;
    max-width: 320px;
    margin: 8px auto 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.login-site-title--hidden {
    display: none !important;
}

.login-box {
    width: 320px;
}

.login-box h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus {
    border-color: #409eff;
    outline: none;
}

.form-group input::placeholder {
    color: #999;
}

.login-btn {
    width: 100%;
    height: 40px;
    background: #409eff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background: #66b1ff;
}

.login-btn:active {
    background: #3a8ee6;
}

@media (max-width: 1200px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        width: 100%;
    }
}

.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#captchaImg {
    height: 34px;
    cursor: pointer;
}

#refreshCode {
    color: #66b1ff;
    font-size: 12px;
    text-decoration: none;
}

#refreshCode:hover {
    color: #90c2ff;
}

.language-switcher {
    position: absolute;
    top: 16px;
    right: 16px;
    display: block;
}

.language-switcher select {
    height: 32px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    padding: 0 32px 0 12px;
    font-size: 12px;
    outline: none;
}

.language-switcher select option {
    color: #000;
}

@media (max-width: 1200px) {
    .language-switcher {
        right: 8px;
        top: 8px;
    }
}
