/* 基础样式和变量 */
:root {
    --primary-blue: #1a365d;
    --police-blue: #0d3666;
    --alert-red: #e53e3e;
    --warning-orange: #dd6b20;
    --success-green: #38a169;
    --light-blue: #4299e1;
    --dark-blue: #2d3748;
    --light-gray: #f7fafc;
    --medium-gray: #e2e8f0;
    --text-dark: #2d3748;
    --text-light: #718096;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景动画 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    animation: float 20s infinite linear;
}

.bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(66, 153, 225, 0.1);
}

.bg-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    background: rgba(49, 151, 149, 0.1);
}

.bg-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    background: rgba(237, 137, 54, 0.1);
}

.bg-circle:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 25%;
    animation-delay: -15s;
    background: rgba(245, 101, 101, 0.1);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(0, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
}

/* 主容器 */
.auth-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* 品牌区域 */
.brand-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(13, 54, 102, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-content {
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo i {
    font-size: 2.5rem;
    color: #4299e1;
    background: rgba(66, 153, 225, 0.2);
    padding: 15px;
    border-radius: 50%;
}

.system-info h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.system-info p {
    color: #cbd5e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(66, 153, 225, 0.3);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #4299e1;
    background: rgba(66, 153, 225, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-item h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4299e1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .brand-section {
        display: none;
    }

    .auth-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 10px;
    }

    .login-wrapper {
        padding: 20px;
    }
}