/* 侧边栏导航 */
.sidebar-nav {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.nav-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
    .nav-item.active {
        background: rgba(59, 130, 246, 0.2);
        color: #60a5fa;
    }
}

/* DBA 报告区域 */
.dba-report-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    background: var(--bg-secondary);
}

.dba-report-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.dba-report-header h2 {
    color: var(--text-primary);
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dba-report-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.dba-report-form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.dba-report-form {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.dba-report-form .form-group {
    margin-bottom: 20px;
}

.dba-report-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.dba-report-form .required {
    color: var(--danger-color);
    margin-left: 2px;
}

.dba-report-form input[type="text"],
.dba-report-form input[type="file"],
.dba-report-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dba-report-form input[type="text"]:focus,
.dba-report-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.1);
    background: var(--bg-primary);
}

.dba-report-form .file-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.dba-report-form .btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
    .dba-report-form input[type="text"]:focus,
    .dba-report-form select:focus {
        box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.2);
    }
}
