:root {
    --bi-black: #000000;
    --bi-white: #ffffff;
    --bi-gray-dark: #1a1a1a;
    --bi-gray: #4d4d4d;
    --bi-gray-light: #e6e6e6;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--bi-white);
    color: var(--bi-black);
}

.app-wrapper {
    height: 100vh;
}

.sidebar {
    background-color: var(--bi-black);
    color: var(--bi-white);
    height: 100vh;
    overflow-y: auto;
    width: 260px;
    flex: 0 0 260px;
}

.main-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-content .scroll-area {
    flex: 1 1 auto;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: var(--bi-gray-light);
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    color: var(--bi-white);
    background-color: var(--bi-gray-dark);
}

.sidebar-brand {
    color: var(--bi-white);
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.sidebar-footer {
    border-top: 1px solid var(--bi-gray-dark);
}

.btn-dark-custom {
    background-color: var(--bi-black);
    color: var(--bi-white);
    border: 1px solid var(--bi-black);
}

.btn-dark-custom:hover {
    background-color: var(--bi-gray-dark);
    color: var(--bi-white);
}

.dashboard-card {
    border: 1px solid var(--bi-gray-light);
    transition: box-shadow 0.15s ease-in-out;
}

.dashboard-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.iframe-wrapper {
    width: 100%;
    height: 100%;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.modo-usuario-banner {
    background-color: var(--bi-black);
    color: var(--bi-white);
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        z-index: 1040;
        left: -260px;
        transition: left 0.2s ease-in-out;
    }

    .sidebar.show {
        left: 0;
    }
}
