:root {
    --bs-body-bg: #f3f4f6; 
    --bs-body-color: #4b5563;
    --primary-flat: #60a5fa;
    --border-color: #e5e7eb;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: var(--bs-body-bg); 
    color: var(--bs-body-color); 
}

/* HEADER & STATS STYLE */
.logo-box { background: white; padding: 8px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.card-flat {
    border: none; border-radius: 16px; padding: 24px; position: relative; overflow: hidden;
    color: white; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    height: 100%; display: flex; justify-content: space-between; align-items: center;
}
.card-flat-blue { background-color: #60a5fa; }
.card-flat-green { background-color: #34d399; }
.card-flat-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; margin-bottom: 6px; }
.card-flat-value { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.card-flat-sub { font-size: 0.85rem; opacity: 0.9; margin-top: 6px; font-weight: 500; }
.icon-flat {
    width: 56px; height: 56px; background: rgba(255, 255, 255, 0.25); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white;
    flex-shrink: 0; backdrop-filter: blur(4px);
}

/* CHART CARDS */
.card-white {
    background: white; border: 1px solid var(--border-color); border-radius: 16px;
    padding: 24px; height: 100%; box-shadow: 0 1px 3px rgba(0,0,0,0.02); 
}
.chart-title { font-weight: 700; font-size: 1rem; margin-bottom: 1.5rem; color: #111827; }
.chart-box { position: relative; height: 300px; width: 100%; }

/* BUTTONS & FILTERS */
.filter-input { border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; background-color: white; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.btn-primary-flat { background-color: var(--primary-flat); border: none; border-radius: 10px; padding: 10px 20px; font-weight: 600; color: white; transition: all 0.2s; width: 100%; text-decoration: none; display: inline-block; text-align: center; }
.btn-primary-flat:hover { opacity: 0.9; transform: translateY(-1px); color: white; }
.btn-outline-flat { background-color: transparent; border: 1px solid var(--primary-flat); border-radius: 10px; padding: 10px 20px; font-weight: 600; color: var(--primary-flat); transition: all 0.2s; width: 100%; text-decoration: none; display: inline-block; text-align: center; }
.btn-outline-flat:hover { background-color: var(--primary-flat); color: white; transform: translateY(-1px); }
.btn-reset-flat { background-color: white; border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 20px; font-weight: 600; color: #6b7280; transition: all 0.2s; text-decoration: none; display: flex; align-items: center; justify-content: center; width: 100%; }
.btn-reset-flat:hover { background-color: #f9fafb; color: #374151; border-color: #d1d5db; }
.btn-user-matched { border-color: #f8f9fa !important; transition: all 0.2s ease; }
.btn-user-matched:hover, .btn-user-matched.show { background-color: #f9fafb !important; color: var(--primary-flat) !important; border-color: #e5e7eb !important; }

/* TABLE STYLE */
.table-responsive { background: white; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 1px 3px rgba(0,0,0,0.02); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-clean { width: 100%; min-width: 850px; border-collapse: collapse; margin: 0; }
.table-clean thead th { background-color: #f9fafb; color: #6b7280; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 16px; border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.table-clean tbody td { background-color: white; padding: 14px 16px; vertical-align: middle; font-size: 0.9rem; color: #374151; border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.table-clean tbody td.td-title { white-space: normal; min-width: 250px; }
.table-clean tbody tr:last-child td { border-bottom: none; }
.table-clean tbody tr:hover td { background-color: #f8fafc; }
.ticket-link { text-decoration: none; font-weight: 600; color: var(--primary-flat); }
.ticket-link:hover { text-decoration: underline; }
.badge-brand { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; border-radius: 6px; padding: 4px 8px; font-size: 0.75rem; font-weight: 600; }
.status-pill { padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; display: inline-block; letter-spacing: 0.5px; }
.status-closed { background: #d1fae5; color: #047857; }
.status-progress { background: #ffedd5; color: #c2410c; }
.status-open { background: #dbeafe; color: #1e40af; }
.status-escalated { background: #fee2e2; color: #b91c1c; }
.dataTables_wrapper { padding: 20px; }
.dataTables_wrapper .dataTables_paginate { margin-top: 10px !important; }

/* DROPDOWN */
.dropdown-menu-modern { border: none; border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); padding: 8px; margin-top: 8px !important; }
.dropdown-item-modern { border-radius: 8px; padding: 8px 12px; font-weight: 500; font-size: 0.9rem; color: #4b5563; transition: all 0.15s; }
.dropdown-item-modern:hover { background-color: #f3f4f6; color: #111827; }
.dropdown-item-danger:hover { background-color: #fef2f2; color: #dc2626; }