:root {
    --primary-color: #00a8ff;
    --secondary-color: #0097e6;
    --accent-color: #00d2d3;
    --text-color: #2c3e50;
    --bg-color: #fff8f0;
    --card-bg: #ffffff;
    --border-color: rgba(0, 168, 255, 0.2);
    --glow-effect: 0 0 15px rgba(0, 168, 255, 0.1);
}

/* 重置基础样式 */
body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* 视频背景 */
#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    opacity: 1;
    object-fit: cover;
    pointer-events: none;
}

/* 主容器 */
.container {
    display: flex;
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 10;
}

/* 左侧图表区域 */
.chart-section {
    flex: 1.5;
    background: transparent;
    position: relative;
    z-index: 15;
    padding: 20px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 10px;
    box-shadow: var(--glow-effect);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 20;
    padding: 20px;
    height: 600px;
    overflow-y: auto;
}

/* 头部信息 */
.header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.logo {
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
    font-size: 24px;
}

.title {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 18px;
    margin-top: 10px;
}

/* 右侧登录区域 */
.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 20px;
    background: transparent;
    position: relative;
    z-index: 15;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 10px;
    box-shadow: var(--glow-effect);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 20;
}

.login-container h2 {
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    height: 40px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 168, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(44, 62, 80, 0.5);
}

.form-group select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 168, 255, 0.2);
}

.form-group button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* 验证码样式 */
.captcha-img {
    height: 40px;
    width: auto;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.captcha-img:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 168, 255, 0.2);
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.captcha-input {
    flex: 1;
}

/* 图表样式优化 */
.production-chart h3,
.circle-chart h3 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

/* 强制覆盖chart.css中的样式 */
.chart-container {
    background: rgba(255, 255, 255, 0.7) !important;
    max-width: none !important;
    margin: 0 !important;
}

.circle-chart {
    background: transparent !important;
}

.charts-area {
    background: transparent !important;
}

.chart-content {
    background: transparent !important;
    border-radius: 5px;
    padding: 10px;
    border: none;
}

.target-line {
    border-color: var(--accent-color);
}

.target-text {
    color: var(--accent-color);
    font-weight: 500;
}

.bar {
    background: linear-gradient(to top, #ff6b81, #ff4757);
    box-shadow: 0 0 5px rgba(255, 71, 87, 0.2);
}

.circle-base {
    border-color: var(--border-color);
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.circle-sector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform-origin: center;
    background: var(--primary-color);
    clip-path: polygon(50% 50%, 50% 0, 50% 0);
    -webkit-clip-path: polygon(50% 50%, 50% 0, 50% 0);
    transition: clip-path 0.05s linear, -webkit-clip-path 0.05s linear;
}

.circle-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    border-radius: 50%;
    z-index: -1;
}

/* 保持动画暂停类 */
.pause-animation {
    animation-play-state: paused !important;
}

.circle-text {
    color: var(--text-color);
}

.rate-value {
    color: var(--accent-color);
    font-weight: bold;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
    
    .chart-section {
        flex: none;
        height: 50vh;
    }
    
    .login-section {
        flex: none;
        height: 50vh;
    }
}
