/* Claimatoz CRM Enterprise - Core UI */
:root {
    --sidebar-width: 260px;
    --primary-blue: #2563eb;
    --dark-navy: #0f172a;
    --success-green: #10b981;
    --warning-amber: #f59e0b;
    --danger-red: #ef4444;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: #1e293b;
    margin: 0;
    overflow-x: hidden;
}

/* Sidebar Layout */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--dark-navy);
    color: white;
    padding: 1.5rem 1rem;
    z-index: 1000;
}

.sidebar .brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 2rem;
    display: block;
    text-decoration: none;
}

.nav-link {
    color: #94a3b8;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Main Content Area */
.main-wrapper {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    min-height: 100vh;
}

/* Dashboard Widgets */
.card-widget {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.card-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.widget-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

/* Tables & Data */
.table-container {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-top: 1.5rem;
}

.table thead th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Status Badges */
.badge {
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.75rem;
}

.badge-new { background: #dbeafe; color: #1e40af; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-pending { background: #fef3c7; color: #92400e; }

/* Progress Bar */
.progress {
    background-color: #e2e8f0;
    border-radius: 999px;
    height: 8px !important;
}

.progress-bar {
    background-color: var(--primary-blue);
    border-radius: 999px;
}