body {
    background-color: #f1f5f9;
}

body, h1, h2, h3 {
    color: #11192c !important;
}
.btn {
    border: 1px solid #11192c;
}
.btn-primary {
    background-color: #ea580c;
    color:#fff;
    border: 0px;
}

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

.btn-outline-primary {
    color:#ea580c;
}

.btn-warning {
    border: 0px;
}

.btn-cancel {
    background-color: #f6f6f6;
    color: #11192c;
    border-color: #b5b6b8;
}

.btn-secondary {
    background-color: #f6f6f6;
    color: #11192c;
    border-color: #b5b6b8;
}

.btn-delete {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-delete:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Mobile Responsive Styles */
@media (min-width: 768px) {
    .main-content {
        margin-left: 250px !important;
    }
    
    .header {
        left: 250px !important;
    }
    
    .sidebar {
        transform: translateX(0) !important;
    }
    
    #mobileSidebarToggle,
    #sidebarClose {
        display: none !important;
    }
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        width: 280px !important;
    }
    
    /* Ensure tables are scrollable on mobile */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
    
    /* Stack buttons vertically on mobile when needed */
    .d-flex.gap-2 {
        flex-wrap: wrap;
    }
    
    /* Adjust card padding on mobile */
    .card-body {
        padding: 1rem;
    }
    
    /* Make sure action buttons don't overflow */
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Ensure action buttons in tables wrap properly */
    td .d-flex.gap-2,
    td .d-inline {
        flex-wrap: wrap;
    }
    
    /* Hide some table columns on very small screens */
    @media (max-width: 575.98px) {
        .table th:nth-child(n+4),
        .table td:nth-child(n+4) {
            display: none;
        }
    }
    
    /* Make form inputs full width on mobile */
    .form-control,
    .form-select {
        width: 100%;
    }
    
    /* Adjust header spacing */
    .header {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Make dropdowns full width on mobile */
    .dropdown-menu {
        width: calc(100vw - 2rem);
        max-width: 300px;
    }
}
