:root {
    --fgs-bg: #f4f6f9;
}

body {
    background-color: var(--fgs-bg);
    overflow: hidden;
}

.layout-wrapper {
    height: 100vh;
}

/* El color de fondo del sidebar ahora lo maneja la clase bg-primary de Bootstrap en el HTML */
.sidebar {
    width: 260px;
    z-index: 10;
}

/* Estilos para los botones del menú sobre fondo Azul */
.menu-link {
    color: rgba(255, 255, 255, 0.75);
    /* Blanco semi-transparente por defecto */
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

/* Hover: Se ilumina ligeramente el fondo y el texto se vuelve blanco puro */
.menu-link:hover,
.menu-link:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.menu-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
}

.content-wrapper {
    background-color: var(--fgs-bg);
}

.topbar {
    height: 70px;
    z-index: 5;
}

.profile-zone {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.iframe-container {
    height: calc(100vh - 70px);
    overflow: hidden;
}

.micro-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}