:root {
    --primary: #7a1f1f;
    --primary-dark: #5c1616;
    --sidebar-bg: #232323;
    --sidebar-hover: #33302f;
}

body {
    background: #f4f1ef;
    font-size: 14px;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 230px;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    color: #ddd;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar .brand {
    color: white;
    font-size: 14px;
    font-weight: 800;
    padding: 22px 16px;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 1px solid #3a3a3a;
}

.sidebar .nav-items {
    flex: 1;
    padding-top: 8px;
}

.sidebar .nav-link {
    color: #ddd;
    padding: 12px 18px;
    border-radius: 0;
}

.sidebar .nav-link:hover {
    background: var(--sidebar-hover);
    color: white;
}

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

.sidebar-user {
    padding: 14px 18px;
    border-top: 1px solid #3a3a3a;
    font-size: 12px;
    color: #bbb;
}

.sidebar-user .user-name {
    color: #eee;
    font-weight: 600;
}

.content {
    flex: 1;
    padding: 24px 28px;
    min-width: 0;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.tile {
    background: white;
    border: 1px solid #e3dcd7;
    border-radius: 6px;
    padding: 14px 16px;
}

.tile .tile-title {
    color: #777;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.tile .tile-value {
    color: var(--primary);
    font-size: 21px;
    font-weight: 800;
}

.login-body {
    background: #f4f1ef;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border: 1px solid #e3dcd7;
    border-radius: 8px;
    padding: 32px;
    width: 380px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.login-title {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.login-subtitle {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

table.data-table {
    background: white;
}

table.data-table th {
    background: #f8f5f3;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
}
