/* 中国铁建华中区域总部绩效考核平台 - 全局样式表 */
/* CRCC Performance Evaluation Platform - Global Styles */

/* Print styles for assessment tables */
@media print {
    .top-bar, .sidebar, .btn, form button, .modal-overlay, .tab-nav, .stats-row {
        display: none !important;
    }
    .layout { margin-top: 0 !important; }
    .main-content { margin-left: 0 !important; padding: 0 !important; }
    .card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
    table.data-table th { background: #f0f0f0 !important; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar { width: 60px; }
    .sidebar .nav-title, .sidebar .nav-item { font-size: 0; padding: 12px 8px; }
    .sidebar .nav-item::before { font-size: 16px; }
    .main-content { margin-left: 60px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .form-row { flex-direction: column; }
    .modal { width: 95%; }
}

/* Additional utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-danger { color: #c0392b; }
.text-success { color: #27ae60; }
.text-muted { color: #999; }
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }

/* Signature lines */
.signature-line {
    display: inline-block;
    min-width: 120px;
    border-bottom: 1px solid #333;
    padding: 2px 8px;
    margin: 0 12px;
    font-style: italic;
    color: #666;
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}