/* Style Barra Lateral - #Weboebacaba */

:root {
    --bg-sidebar: #f2f2f2;
    --accent: #1e88e5; /* azul */
    --green: #2e7d32; /* verde */
    --overlay: rgba(0, 0, 0, 0.35);
}

/* Botón flotante */
.fixed-action-btn {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 1001;
}

.fixed-action-btn .btn-floating {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Barra lateral */
.custom-sidenav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 320px);
    height: 100vh;
    background: var(--bg-sidebar);
    transform: translateX(-100%);
    transition: transform 220ms ease;
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.12);
    z-index: 3000;
    overflow-y: auto;
    font-family: sans-serif;
}

.custom-sidenav.is-open {
    transform: translateX(0);
}

/* Overlay */
.sidenav-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 2999;
}

.sidenav-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Encabezado Perfil */
.user-view {
    position: relative;
}

.user-view .background {
    width: 100%;
    height: 160px;
}

.user-view .background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-line {
    position: absolute;
    left: 16px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
}

.profile-line .circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.profile-line .name {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

/* Menú */
.menu { padding: 16px; }
.menu ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.menu a {
    display: block;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 1rem;
}

.menu a.section {
    font-weight: 800;
    pointer-events: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding-top: 15px;
}

.menu a.section.green { color: var(--green); }
.menu a.section.blue { color: var(--accent); }

.divider.short {
    width: 60%;
    height: 1px;
    background: #ccc;
    margin: 15px auto;
}

/* Quita los puntos negros y junta los renglones */
.menu ul {
    list-style: none !important;
    padding: 0 !important;
}

.menu ul li a {
    padding: 4px 20px !important;
    line-height: 1.1 !important;
    display: block !important;
}

/* Espacio extra solo para los títulos */
.menu ul li a.section {
    padding-top: 12px !important;
    font-weight: bold;
}