@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* _content/CostTracker/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ap941h7l1k] {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease; /* Smooth transition for content shift */
}

main[b-ap941h7l1k] {
    flex: 1;
    transition: margin-left 0.3s ease; /* Smooth transition for content shift */
}

.sidebar[b-ap941h7l1k] {
    background-color: #2c3e50; /* Darker background for a modern look */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: width 0.3s ease; /* Smooth transition for sidebar width */
}

@media (min-width: 641px) {
    .page[b-ap941h7l1k] {
        flex-direction: row;
    }

    .sidebar[b-ap941h7l1k] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.1); /* Separator for sidebar */
    }

    /* Styles for hidden sidebar */
    .sidebar-hidden .sidebar[b-ap941h7l1k] {
        width: 4rem; /* Reduced width to show only icons */
        overflow: hidden;
    }

    .sidebar-hidden main[b-ap941h7l1k] {
        margin-left: 4rem; /* Adjust main content to start after the collapsed sidebar */
    }

    .sidebar-hidden .sidebar .nav-item .nav-link .nav-text[b-ap941h7l1k] {
        display: none; /* Hide text in nav links */
    }

    .sidebar-hidden .sidebar .nav-item .nav-link .bi[b-ap941h7l1k] {
        margin-right: 0; /* Remove margin for icons */
        justify-content: center; /* Center icons */
        width: 100%; /* Make icons take full width */
        text-align: center; /* Center the icon itself */
    }
}

#blazor-error-ui[b-ap941h7l1k] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ap941h7l1k] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.blazor-error-boundary[b-ap941h7l1k] {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTE2IDBDNy4xNjMyMiAwIDAgNy4xNjMyMiAwIDE2QzAgMjQuODI2OCAxNC4zMzYgMzIgMTYgMzJDMTcuNjY0IDMyIDMyIDI0LjgyNjggMzIgMTZDMyAyLjE2MzIyIDI0LjgyNjggMCAxNiAwWk0xNiAyOS41QzEwLjEwNzcgMjkuNSAyLjg1NjggMjEuNzQzMiAyLjg1NjggMTZDMi44NTY4IDEwLjI1NjggMTAuMTA3NyAyLjg1NjggMTYgMi44NTY4QzIxLjg5MjMgMi44NTY4IDI5LjE0MzIgMTAuMjU2OCAyOS4xNDMyIDE2QzI5LjE0MzIgMjEuNzQzMiAyMS44OTIzIDI5LjUgMTYgMjkuNVoiIGZpbGw9IiNGRkZGRkYiLz4NCiAgPHBhdGggZD0iTTE2IDcuNzE0MjZDMTUuMjA0IDcuNzE0MjYgMTQuNTcxNCA4LjM2NDI2IDE0.NTcxNCA5LjE0Mjg2VjE3QzE0.NT৭১NCAxNy43Nzg1IDE1LjIwNCAxOC40Mjg1IDE2IDE4LjQyODVDMTYuNzk2IDE4LjQyODUgMTcuNDI4NSAxNy43Nzg1IDE3LjQyODUgMTdWOi4xNDI4NkMxNy40Mjg1IDguMzY0MjYgMTYuNzk2IDcuNzE0MjYgMTYgNy43MTQyNloiIGZpbGw9IiNGRkZGRkYiLz4NCiAgPGNpcmNsZSBjeD0iMTYiIGN5PSIyMi4yODU3IiByPSIxLjcxNDI5IiBmaWxsPSIjRkZGRkZGIi8+DQo8L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary[b-ap941h7l1k]::after {
        content: "An error has occurred."
    }
/* _content/CostTracker/Components/Layout/NavMenu.razor.rz.scp.css */
.bi[b-j8lhc9mn6m] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: 0;
    background-size: cover;
    color: white; /* Asegura que los iconos sean blancos */
}

/* Icon specific styles (keep existing) */



.nav-item[b-j8lhc9mn6m] {
    font-size: 0.9rem;
    padding: 0.25rem 0; /* Adjusted padding */
}

    .nav-item:first-of-type[b-j8lhc9mn6m] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-j8lhc9mn6m] {
        padding-bottom: 1rem;
    }

    .nav-item[b-j8lhc9mn6m]  .nav-link {
        color: #bdc3c7; /* Lighter text color */
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem; /* Reverted to 1rem horizontal padding */
        transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
    }

.nav-item[b-j8lhc9mn6m]  a.active {
    background-color: #3498db; /* Distinct active state */
    color: white; /* White text for active state */
    font-weight: 600; /* Bolder text for active state */
}

.nav-item[b-j8lhc9mn6m]  .nav-link:hover {
    background-color: #34495e; /* Darker hover state */
    color: white; /* White text on hover */
}

.nav-scrollable[b-j8lhc9mn6m] {
    /* Removed display: none; and .navbar-toggler:checked ~ .nav-scrollable { display: block; } */
    /* This will be controlled by MainLayout.razor.css */
}

@media (min-width: 641px) {
    .navbar-toggler[b-j8lhc9mn6m] {
        display: none !important; /* Ensure it's hidden on larger screens */
    }

    .nav-scrollable[b-j8lhc9mn6m] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 4rem); /* Adjusted height */
        overflow-y: auto;
    }
}

.loading-progress[b-j8lhc9mn6m] {
    position: relative;
    top: -1rem;
    left: -1rem;
    width: 0;
    height: 0;
    background-color: #e10000;
}

.app-title[b-j8lhc9mn6m] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ecf0f1;
    padding: 1rem;
}

.sidebar-header[b-j8lhc9mn6m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.collapse-button[b-j8lhc9mn6m] {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

    .collapse-button:focus[b-j8lhc9mn6m] {
        outline: none;
        box-shadow: none;
    }

.nav-text[b-j8lhc9mn6m] {
    transition: opacity 0.3s ease;
}

.sidebar-hidden .nav-text[b-j8lhc9mn6m] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-hidden .nav-item[b-j8lhc9mn6m]  .nav-link {
    justify-content: center;
}

.sidebar-hidden .sidebar-header .app-title[b-j8lhc9mn6m] {
    display: none;
}

    .sidebar-hidden .sidebar-header .collapse-button[b-j8lhc9mn6m] {
        margin: auto;
    }

.sidebar-hidden .bi[b-j8lhc9mn6m] {
    display: inline-block !important;
    opacity: 1 !important;
    color: white !important;
}

.bi-ship[b-j8lhc9mn6m] {
    display: inline-block !important;
    opacity: 1 !important;
    color: white !important;
}
