html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #f4f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

#app {
    height: 100%;
}

.login-page {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 12% 18%, rgba(64, 158, 255, 0.14), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(15, 23, 42, 0.10), transparent 32%),
        #f4f7fb;
}

.login-shell {
    width: 100%;
    max-width: 980px;
    min-height: 580px;
    display: flex;
    overflow: hidden;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.16);
}

.login-brand {
    width: 44%;
    padding: 56px 48px;
    box-sizing: border-box;
    color: #ffffff;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 58%, #2563eb 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -110px;
    top: -90px;
    background: rgba(255, 255, 255, 0.12);
}

.login-brand::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    left: -90px;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.08);
}

.brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.brand-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.brand-logo-row img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    padding: 6px;
    box-sizing: border-box;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand-title {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 18px;
}

.brand-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 40px;
}

.brand-points {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
}

.brand-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.brand-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.16);
    flex: 0 0 7px;
}

.login-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 64px;
    box-sizing: border-box;
    background: #ffffff;
    position: relative;
}

.login-lang {
    position: absolute;
    top: 24px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1;
}

.login-lang .lang-item {
    padding: 4px 2px;
    border: none;
    background: none;
    color: #9ca3af;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.login-lang .lang-item:hover {
    color: #2563eb;
}

.login-lang .lang-item.active {
    color: #2563eb;
    font-weight: 600;
}

.login-lang .lang-divider {
    color: #d1d5db;
}

.login-form-header {
    margin-bottom: 34px;
}

.login-form-header h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 28px;
    font-weight: 700;
}

.login-form-header p {
    margin: 0;
    color: #8a94a6;
    font-size: 14px;
    line-height: 1.6;
}

.login-form .el-form-item {
    margin-bottom: 22px;
}

.login-form .el-form-item__label {
    padding-bottom: 6px;
    color: #374151;
    font-weight: 600;
    line-height: 1.4;
}

.login-form .el-input__inner {
    height: 46px;
    line-height: 46px;
    border-radius: 10px;
    border-color: #e2e8f0;
    background: #fbfdff;
}

.login-form .el-input__inner:focus {
    border-color: #3b82f6;
    background: #ffffff;
}

.login-form .el-input__icon {
    line-height: 46px;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -2px 0 24px;
}

.login-options .el-checkbox__label {
    color: #6b7280;
    font-size: 13px;
}

.login-submit {
    width: 100% !important;
    height: 48px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.login-submit:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    color: #a0a8b8;
    font-size: 12px;
}

@media (max-width: 900px) {
    .login-page {
        padding: 18px;
    }

    .login-shell {
        flex-direction: column;
        max-width: 520px;
        min-height: auto;
    }

    .login-brand {
        width: 100%;
        padding: 32px 28px;
    }

    .brand-logo-row {
        margin-bottom: 26px;
    }

    .brand-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .brand-desc {
        margin-bottom: 18px;
    }

    .brand-points {
        display: none;
    }

    .login-form-panel {
        padding: 48px 26px 30px;
    }

    .login-lang {
        top: 16px;
        right: 20px;
    }
}
