/* CashTrack Modern Sidebar Theme */

:root {
    --ct-sidebar-width: 250px;
    --ct-primary: #B8860B;   /* Amber/Gold */
    --ct-primary-dark: #7A5C00; 
    --ct-bg-light: #f4f7f6;
    --ct-dark: #212529;
}

body {
    background-color: var(--ct-bg-light);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Sidebar Wrapper */
#wrapper {
    display: flex;
    width: 100%;
}

#sidebar-wrapper {
    min-height: 100vh;
    width: var(--ct-sidebar-width);
    background-color: var(--ct-dark);
    color: white;
    transition: all 0.3s ease;
    position: fixed;
    z-index: 1000;
}

/* Sidebar Branding */
.sidebar-heading {
    padding: 1.5rem 1.25rem;
    font-size: 1.25rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Sidebar Links */
.list-group-item-sidebar {
    background-color: transparent;
    color: rgba(255,255,255,0.7);
    border: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
}

.list-group-item-sidebar i {
    font-size: 1.2rem;
    width: 30px;
}

.list-group-item-sidebar:hover {
    color: white;
    background-color: rgba(255,255,255,0.05);
}

.list-group-item-sidebar.active {
    color: white;
    background-color: var(--ct-primary);
    border-left: 4px solid white;
}

/* Main Content Area */
#page-content-wrapper {
    width: 100%;
    margin-left: var(--ct-sidebar-width);
    min-height: 100vh;
}

.top-navbar {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 1.5rem;
}

/* Card Improvements */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-amber {
    border-top: 4px solid var(--ct-primary);
}

/* Buttons */
.btn-primary-ct {
    background-color: var(--ct-primary);
    border: none;
    color: white;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    border-radius: 8px;
}

.btn-primary-ct:hover {
    background-color: var(--ct-primary-dark);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    #sidebar-wrapper {
        margin-left: calc(-1 * var(--ct-sidebar-width));
    }
    #page-content-wrapper {
        margin-left: 0;
    }
    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
}
