﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    min-height: 520px;
    background: #888888;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
    position: relative;
}

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 20% 50%, rgba(60, 60, 80, 0.4) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(40, 40, 60, 0.3) 0%, transparent 50%), linear-gradient(180deg, #0d0d12cc 0%, #050508fa 100%);
        z-index: -1;
    }

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

#loginApp {
    width: 420px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 40px 40px 20px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #loginApp:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

    .login-header .logo-text {
        font-size: 28px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .login-header .logo-subtitle {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.5);
    }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 30px 0;
}

.ivu-form .ivu-form-item {
    margin-bottom: 24px;
}

.ivu-form .ivu-form-item-label {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

.ivu-form-item-label > label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ivu-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    height: 44px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .ivu-input:focus {
        border-color: #4a90d9;
        box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15), inset 0 0 0 1px #4a90d9;
        background: rgba(255, 255, 255, 0.08);
    }

    .ivu-input::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }

.ivu-input-wrapper {
    border-radius: 8px;
}

    .ivu-input-wrapper .ivu-icon {
        color: rgba(255, 255, 255, 0.4);
    }

.ivu-checkbox-wrapper {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.ivu-checkbox-inner {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.ivu-checkbox-wrapper.ivu-checkbox-checked .ivu-checkbox-inner {
    background: #4a90d9;
    border-color: #4a90d9;
}

.ivu-btn {
    height: 44px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.ivu-btn-primary {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

    .ivu-btn-primary:hover {
        background: linear-gradient(135deg, #5a9fe9 0%, #4589cd 100%);
        box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
        transform: translateY(-1px);
    }

    .ivu-btn-primary:active {
        transform: translateY(0);
    }

.version {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.version-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.login-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4px;
}

.login-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-bottom: 28px;
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.05) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.glow-effect-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 100, 150, 0.08) 0%, transparent 70%);
    bottom: -75px;
    left: -75px;
    pointer-events: none;
}

.ivu-input-group-append, .ivu-input-group-prepend {
    background-color: #1f1f27;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 8px;
    width: 40px;
}

.ivu-form-item-error .ivu-input-group-append, .ivu-form-item-error .ivu-input-group-prepend {
    background-color: #1f1f27;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    #loginApp {
        width: 90%;
        padding: 30px;
    }

    .login-header .logo-text {
        font-size: 24px;
    }
}
