:root {
    /* Fondo y texto general */
    --menu-bg: #ffffff; /* fondo blanco */
    --menu-item-hover: #f0f0f0; /* hover claro */
    --menu-item-active: #405de6; /* azul degradado de Instagram */
    --menu-text: #000000; /* texto negro */
    --menu-text-muted: #555555; /* subtítulos gris oscuro */
    --menu-section-title: #833ab4; /* púrpura degradado de Instagram */
    /* Scrollbar */
    --scrollbar-track: #e0e0e0;
    --scrollbar-thumb: #888888;
    --scrollbar-thumb-hover: #555555;
    /* Degradado Instagram para botones o elementos destacados */
    --instagram-gradient: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);

}

/* Contenedor principal */
.navbar-dark {
    background-color: var(--menu-bg) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scrollable container */
.nav-scrollable {
    background-color: var(--menu-bg);
    color: var(--menu-text);
    height: 100vh;
    overflow-y: auto;
    padding-top: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

    /* Scrollbar WebKit */
    .nav-scrollable::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable::-webkit-scrollbar-track {
        background: var(--scrollbar-track);
    }

    .nav-scrollable::-webkit-scrollbar-thumb {
        background-color: var(--scrollbar-thumb);
        border-radius: 10px;
    }

        .nav-scrollable::-webkit-scrollbar-thumb:hover {
            background-color: var(--scrollbar-thumb-hover);
        }

/* Menú links */
.nav-link {


    color: var(--menu-text) !important; /* negro por defecto */

    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}
    /* Íconos */
    .nav-link i,
    .nav-link span[class^="bi"] {
        font-size: 1.2rem;
        margin-right: 10px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }



    .nav-link:hover {
        background-color: var(--menu-item-hover);
        color: var(--menu-text);
        text-decoration: none;
        transform: translateX(3px);
    }

    .nav-link.active {
        background: var(--instagram-gradient);
        color: dimgray !important; /* texto e íconos blancos */
    }

  
/* Section titles */
.section-title {
    color: var(--menu-section-title) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    padding: 0.75rem 1rem 0.25rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    opacity: 0.9;
    border-left: 3px solid var(--menu-section-title);
}
/* Logo header */
.logo-navbar {
    background-color: #ffffff; /* fondo blanco */
    padding: 0 1.25rem; /* quité el padding vertical para centrar con flex */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center; /* centra verticalmente */
    justify-content: space-between; /* logo a la izquierda, botón a la derecha */
}

/* Texto del logo */
.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: 1px;

}

/* Botón hamburguesa visible sobre fondo blanco */
.navbar-toggler {
    border: none;
    background-color: black;
}

.domis {
    color: #474747;
 
}

.puntos {
    color: #01588F;

  
}
.nav-scrollable {
    background: #fff; /* Asegura que tenga fondo blanco */
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1); /* sombra hacia la derecha */
    z-index: 1000; /* asegura que quede por encima del contenido */
}



/* button plus*/

.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1050;
    transition: all 0.2s ease;
}

    .fab:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

.card {
    border-radius: 12px;
    overflow: hidden;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

    .table th {
        border-top: none;
        font-weight: 600;
        color: #495057;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

.btn {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.form-control {
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

    .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }