/* ============================================================
   SUS DIGITAL - DIANÓPOLIS/TO  v2.0
   Design focado em usabilidade e facilidade de uso
   ============================================================ */

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-bg: #eff6ff;
    --secondary: #059669;
    --secondary-bg: #ecfdf5;
    --accent: #f59e0b;
    --accent-bg: #fffbeb;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --info: #0891b2;
    --info-bg: #ecfeff;
    --dark: #111827;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --sidebar-w: 250px;
    --header-h: 56px;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.15s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--gray-50);
    color: var(--dark);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ========== LAYOUT ========== */
.app-wrapper { display: flex; min-height: 100vh; }

/* ========== SIDEBAR ========== */
.sidebar {
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.25s ease;
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header .logo {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; flex-shrink: 0;
}

.sidebar-header .title { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.2; }
.sidebar-header .subtitle { font-size: 11px; color: var(--gray-500); }

.sidebar-nav { padding: 8px; }

.sidebar-section {
    padding: 16px 12px 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    font-weight: 700;
}

.sidebar-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    color: var(--gray-600);
    font-size: 13px; font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 2px;
}

.sidebar-nav a:hover { background: var(--gray-100); color: var(--dark); }

.sidebar-nav a.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-nav a .icon { width: 20px; text-align: center; font-size: 15px; flex-shrink: 0; opacity: 0.8; }
.sidebar-nav a.active .icon { opacity: 1; }

.sidebar-nav a .badge-nav {
    margin-left: auto;
    background: var(--danger);
    color: white;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px; font-weight: 700;
    min-width: 20px; text-align: center;
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}

.top-bar .page-title {
    font-size: 17px; font-weight: 700; color: var(--dark);
    display: flex; align-items: center; gap: 8px;
}

.top-bar .page-title .page-icon {
    width: 32px; height: 32px;
    background: var(--primary-bg);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 14px;
}

.top-bar .user-info {
    display: flex; align-items: center; gap: 12px; font-size: 13px;
}

.top-bar .user-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}

.top-bar .user-name { color: var(--gray-700); font-weight: 500; }
.top-bar .user-date { color: var(--gray-400); font-size: 12px; }

.content-area { padding: 24px; flex: 1; }

/* ========== QUICK ACTIONS BAR ========== */
.quick-actions {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 12px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.quick-action-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 12px; font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.quick-action-btn:hover {
    background: var(--primary-bg); color: var(--primary);
    border-color: var(--primary-light);
}

.quick-action-btn i { font-size: 12px; }

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
}

.card-header h3 {
    font-size: 14px; font-weight: 600; color: var(--dark);
    display: flex; align-items: center; gap: 8px;
}

.card-header h3 i { color: var(--gray-400); font-size: 14px; }

.card-body { padding: 20px; }
.card-body.compact { padding: 0; }

.card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

/* ========== STATS CARDS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: default;
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.stat-card .stat-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}

.stat-card .stat-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}

.stat-icon.blue { background: var(--primary-bg); color: var(--primary); }
.stat-icon.green { background: var(--secondary-bg); color: var(--secondary); }
.stat-icon.orange { background: var(--accent-bg); color: #d97706; }
.stat-icon.purple { background: #f5f3ff; color: #7c3aed; }
.stat-icon.red { background: var(--danger-bg); color: var(--danger); }
.stat-icon.teal { background: var(--info-bg); color: var(--info); }

.stat-card .stat-number { font-size: 28px; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-card .stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; font-weight: 500; }

/* ========== TABLES ========== */
.table-responsive { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

table th, table td {
    padding: 11px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

table th {
    background: var(--gray-50);
    font-weight: 600; color: var(--gray-500);
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky; top: 0;
    white-space: nowrap;
}

table tbody tr { transition: var(--transition); }
table tbody tr:hover { background: var(--primary-bg); }
table tbody tr:last-child td { border-bottom: none; }

table td .cell-main { font-weight: 600; color: var(--dark); }
table td .cell-sub { font-size: 12px; color: var(--gray-400); margin-top: 1px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px;
    border: none; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    text-decoration: none; line-height: 1.4;
    font-family: inherit; white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-success { background: var(--secondary); color: white; }
.btn-success:hover { background: #047857; color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; color: white; }
.btn-warning { background: var(--accent); color: var(--dark); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-200); color: var(--dark); }
.btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-600); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.btn-ghost { background: transparent; color: var(--gray-500); padding: 6px 8px; }
.btn-ghost:hover { background: var(--gray-100); color: var(--dark); box-shadow: none; transform: none; }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 14px; }
.btn-icon { padding: 8px 10px; }
.btn-icon.btn-sm { padding: 5px 7px; }
.btn-block { width: 100%; justify-content: center; }

.btn-group { display: flex; gap: 6px; flex-wrap: wrap; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group label .required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px; font-family: inherit;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-control:hover { border-color: var(--gray-400); }
.form-control::placeholder { color: var(--gray-400); }
.form-control:disabled { background: var(--gray-100); cursor: not-allowed; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

.form-section {
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-100);
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700;
    color: var(--primary);
}

.form-section i { font-size: 16px; }

/* ========== SEARCH BOX ========== */
.search-box {
    position: relative;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid var(--gray-300);
    border-radius: 24px;
    font-size: 13px;
    background: var(--white);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.search-box .search-icon {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 250px;
    overflow-y: auto;
    z-index: 50;
    margin-top: 4px;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.search-result-item:hover { background: var(--primary-bg); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item strong { display: block; font-size: 13px; color: var(--dark); }
.search-result-item .text-muted { font-size: 12px; color: var(--gray-400); }

/* ========== BADGES ========== */
.badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.2px;
}

.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-success { background: var(--secondary-bg); color: var(--secondary); }
.badge-warning { background: var(--accent-bg); color: #b45309; }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }
.badge-light { background: var(--gray-100); color: var(--gray-500); }

/* ========== ALERTS ========== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13px; font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #cffafe; color: #155e75; border: 1px solid #a5f3fc; }

.alert .alert-close {
    margin-left: auto;
    background: none; border: none;
    cursor: pointer; font-size: 16px;
    opacity: 0.5; padding: 4px;
    color: inherit;
}

.alert .alert-close:hover { opacity: 1; }

/* ========== TABS ========== */
.tabs {
    display: flex; gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab-link {
    padding: 12px 18px;
    font-size: 13px; font-weight: 500;
    color: var(--gray-500);
    border: none; border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer; transition: var(--transition);
    background: none; font-family: inherit;
    white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
}

.tab-link:hover { color: var(--primary); }
.tab-link.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.tab-content { display: none; animation: fadeIn 0.2s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 2000;
    align-items: center; justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.show { display: flex; }

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%; max-width: 600px;
    max-height: 85vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlide 0.25s ease;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: space-between;
}

.modal-header h3 { font-size: 16px; font-weight: 700; }

.modal-close {
    background: var(--gray-100); border: none;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer;
    color: var(--gray-500); transition: var(--transition);
}

.modal-close:hover { background: var(--gray-200); color: var(--dark); }

.modal-body { padding: 24px; }
.modal-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex; justify-content: flex-end; gap: 8px;
    background: var(--gray-50);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: 28px; }

.timeline::before {
    content: ''; position: absolute;
    left: 9px; top: 4px; bottom: 0;
    width: 2px; background: var(--gray-200);
}

.timeline-item {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-100);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-item::before {
    content: ''; position: absolute;
    left: -23px; top: 5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item .tl-date { font-size: 11px; color: var(--gray-400); margin-bottom: 3px; font-weight: 500; }
.timeline-item .tl-title { font-size: 13px; font-weight: 600; color: var(--dark); }
.timeline-item .tl-desc { font-size: 13px; color: var(--gray-600); margin-top: 3px; }

/* ========== PDF VIEWER ========== */
.pdf-viewer { width: 100%; height: 550px; border: 1px solid var(--gray-200); border-radius: var(--radius); }

.comparison-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========== FILE UPLOAD ========== */
.file-upload {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-50);
}

.file-upload:hover { border-color: var(--primary); background: var(--primary-bg); }
.file-upload .upload-icon { font-size: 32px; color: var(--gray-400); margin-bottom: 8px; }
.file-upload:hover .upload-icon { color: var(--primary); }
.file-upload p { font-size: 13px; color: var(--gray-500); }
.file-upload input[type="file"] { display: none; }

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    padding: 20px;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    width: 100%; max-width: 400px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.login-card .login-logo { text-align: center; margin-bottom: 28px; }

.login-card .login-logo .icon-big {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    color: white; font-size: 26px;
    margin-bottom: 14px;
}

.login-card .login-logo h1 { font-size: 22px; color: var(--dark); font-weight: 800; }
.login-card .login-logo p { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.empty-state .empty-icon { font-size: 42px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; margin-bottom: 14px; color: var(--gray-500); }

/* ========== ACOMPANHANTE CARD ========== */
.acomp-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
    transition: var(--transition);
}

.acomp-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }

.acomp-card .acomp-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--info-bg);
    color: var(--info);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; flex-shrink: 0;
}

.acomp-card .acomp-info { flex: 1; min-width: 0; }
.acomp-card .acomp-name { font-weight: 600; font-size: 14px; color: var(--dark); }
.acomp-card .acomp-detail { font-size: 12px; color: var(--gray-500); }
.acomp-card .acomp-actions { display: flex; gap: 4px; }

/* ========== PAGINATION ========== */
.pagination {
    display: flex; gap: 4px; list-style: none;
    justify-content: center; margin-top: 20px;
}

.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 8px;
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pagination a:hover { background: var(--primary); color: white; border-color: var(--primary); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); z-index: 2000; box-shadow: var(--shadow-lg); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .comparison-view { grid-template-columns: 1fr; }
    .content-area { padding: 16px; }
    .top-bar { padding: 0 16px; }
    
    .mobile-toggle { display: inline-flex !important; }
    
    .mobile-overlay {
        display: none; position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1999;
    }
    .mobile-overlay.show { display: block; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ========== PRINT ========== */
@media print {
    .sidebar, .top-bar, .btn, .no-print, .quick-actions { display: none !important; }
    .main-content { margin-left: 0; }
    .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
    body { background: white; font-size: 12px; }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--secondary); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.w-100 { width: 100%; }
.hidden { display: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
