:root {
    --primary-color: #d32f2f; /* Red */
    --secondary-color: #ffffff; /* White */
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --sidebar-bg: #d32f2f;
    --sidebar-text: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
}

.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    padding-top: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

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

.btn-primary:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
}

.text-primary {
    color: var(--primary-color) !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
}

.stats-card {
    border-left: 4px solid var(--primary-color);
}

/* Sidebar section labels */
.nav-section-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 20px 4px 20px;
    font-weight: 700;
}

/* Hover table rows */
.table-hover tbody tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

/* POS badge sizes */
.badge-lg {
    font-size: 0.85rem;
    padding: 0.4em 0.65em;
}

/* Role badge in header */
.user-info .badge {
    vertical-align: middle;
}

/* Responsive table wrapper */
.table-responsive-stack {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sidebar nav links with icons */
.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Empty state styling */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
}
.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* Quick-action buttons */
.quick-action {
    transition: transform 0.15s ease;
}
.quick-action:hover {
    transform: translateY(-1px);
}
