/* Custom CSS for B's MicroLedger - World Class ERP Feel */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6; /* Light gray background for content */
}

/* --- SIDEBAR STYLING --- */
#sidebar-wrapper {
    min-height: 100vh;
    width: 250px; /* Fixed width sidebar */
    position: fixed;
    z-index: 1000;
    transition: margin .25s ease-out;
    background-color: #0b2241 !important; /* Deep Navy Blue */
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.sidebar-heading {
    color: #ffffff;
    background-color: #0b2241;
    border-bottom: 1px solid #1a3357;
}

.list-group-item {
    padding: 0.75rem 1.5rem;
    color: #c9d2de !important; /* Lighter text for contrast */
    border: none;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

    .list-group-item:hover {
        background-color: #1a3357 !important; /* Darker hover effect */
        color: #ffffff !important;
    }

.sidebar-header {
    padding: 1rem 1.5rem 0.5rem;
    color: #7a8ba3; /* Muted header text */
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- MAIN CONTENT STYLING --- */
#page-content-wrapper {
    margin-left: 250px; /* Shifts content to the right of the fixed sidebar */
    width: calc(100% - 250px);
    background-color: #ffffff;
    min-height: 100vh;
}

/* --- COMPONENTS & CARDS --- */
.card {
    border-radius: 0.5rem;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* --- FORMS & TABLES --- */
.form-control, .form-select {
    border-radius: 0.25rem;
}

.table {
    font-size: 0.9rem;
}

.table-dark th {
    background-color: #0b2241 !important;
    color: white;
    border-color: #1a3357;
}
