/* ///// Botones ///// */
.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #6A1B31;
    border-color: #000000;
}

/* Estilos generales para el navbar */
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 1) !important; /* Blanco sólido */
}


.navbar {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 60px; /* Altura fija para el navbar */
}

/* Eliminar márgenes y espacios no deseados */
.navbar-dark.bg-dark {
    background-color: #6a1c32 !important;
}

/* Estilo para los enlaces del navbar */
.navbar-nav .nav-link {
    padding: 1rem 1.5rem;
    color: white;
    height: 60px; /* Misma altura que el navbar */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

    /* Estilo para hover y focus */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background-color: #511024;
        color: white;
        text-decoration: none;
        outline: none;
    }

/* Ajustes para el logo y texto a la izquierda */
.navbar-fixed-brand {
    height: 60px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-divider {
    height: 40px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
}

.navbar-title-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.1;
}

.sistema-citas, .por-internet {
    margin: 0;
}

/* Asegurar que el contenedor no tenga padding adicional */
.navbar > .container {
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

/* Ajustes específicos para el bloque del logo */
.navbar-fixed-brand {
    margin-left: 15px; /* Espacio adicional si es necesario */
}

/* Ajustes para el botón toggler en móviles */
.navbar-toggler {
    margin-right: 0.5rem;
}


/* ICONO ROJO DENTRO DEL ICONO MENU */
.estado-icono {
    position: absolute;
    top: 22px;
    left: 36px;
    font-size: 13px; /* Aumentado para mejor visibilidad */
    z-index: 9000;
    pointer-events: none;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5)); /* Contraste ligero */
}

    .estado-icono.success {
        color: #2ecc71;
    }

    .estado-icono.error {
        color: #ff0202;
    }




/*   ///////////// MAIN CONTENT SIDEBAR /////////////// */
.with-sidebar {
    /* Ajusta el tamaño para que sólo el contenido haga scroll */
    height: calc(100vh - 60px - 80px); /* 60px navbar, 80px footer */
    overflow-y: auto;
    margin-left: 220px; /* ancho del sidebar */
    transition: margin-left 0.2s;
}

.sidebar {
    width: 220px;
    position: fixed;
    top: 60px; /* debajo del navbar */
    bottom: 80px; /* encima del footer */
    left: 0;
    z-index: 1030;
    border-right: 1px solid #eee;
    padding: 1rem 0.5rem;
    background: #fff;
    overflow-y: auto;
}
/*   ///////////// </MAIN CONTENT SIDEBAR /////////////// */

/* Footer ajustado */
footer {
    padding-left: 90px; /* 70px (sidebar) + 20px (margen) */
    transition: all 0.15s ease;
}

/* Cuando el sidebar está expandido */
body.sidebar-expanded {
    padding-left: 70px;
}

    body.sidebar-expanded .main-content-wrapper {
        margin-left: 20px; /* Mantenemos el mismo margen */
    }

    body.sidebar-expanded footer {
        padding-left: 240px; /* 220px (sidebar) + 20px (margen) */
    }




/* TEXTOS */

.text-primary {
    color: #6A1B31 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Footer */
.bg-citas {
    --bs-bg-opacity: 1;
    background-color: #e0e0e0 !important;
}

#main-footer {
    background-color: #6a1c32; /* Color guinda del ayuntamiento */
    font-size: 0.9rem;
    margin-top: 50px; /* Separación del contenido */
}

    #main-footer a {
        color: #f8f9fa;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        #main-footer a:hover {
            color: #f8f9fa;
            text-decoration: underline;
        }

    #main-footer .text-uppercase {
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }

    #main-footer .list-unstyled li {
        padding: 0.25rem 0;
    }

.img-fluid {
    width: 100% !important;
    height: auto;
    transition: transform 0.3s ease;
    margin: 10px auto;
    display: block;
}

#main-footer .footer-info {
    color: #808080 !important;
}

    #main-footer .footer-info p {
        color: #808080 !important;
        margin-bottom: 0.75rem !important; /* Más espacio entre líneas */
        padding: 0 !important;
        line-height: 1.3;
        text-align: justify;
    }

        #main-footer .footer-info p:last-child {
            margin-bottom: 0 !important;
        }

    #main-footer .footer-info i {
        color: #808080 !important;
    }

/* puntos de links */
.footer-bullet-list li {
    position: relative;
    padding-left: 4em; /* Más espacio todavía */
    text-align: left;
    margin-bottom: 1.3em; /* Un poco más de espacio entre elementos */
}

    .footer-bullet-list li::before {
        content: '';
        position: absolute;
        top: 50%;
        width: 0.7em;
        height: 0.7em;
        border-radius: 50%;
        background: #be965c;
        border: 2px solid #be965c;
        transform: translateY(-50%);
    }

    .footer-bullet-list li i {
        margin-left: 1.7em; /* Mucho más espacio entre la bolita y el icono */
    }

/* Responsive */
@media (max-width: 768px) {
    #main-footer .row > div {
        margin-bottom: 2rem;
    }

    #main-footer {
        text-align: center;
    }

        #main-footer .row .col-md-4:not(:last-child) {
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 2rem;
        }
}


/* TITULO */
.label-titulo {
    font-weight: bold;
    font-size: 0.8rem;
    color: #333;
}

/* BG */
.bg-purple {
    background-color: #a67c57;
}

.bg-body {
    --bs-bg-opacity: 1;
     background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}
}

/* SUBMENU DE NAVBAR */


.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #6a1c32 !important; /* Color de texto principal */
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

    /* Estilos para los items del dropdown */
    .dropdown-menu a,
    .dropdown-menu .dropdown-item {
        color: #6a1c32 !important;
        text-decoration: none !important; /* Elimina el subrayado */
        display: block;
        padding: .25rem 1.5rem;
        clear: both;
        font-weight: 400;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }

        /* Efecto hover */
        .dropdown-menu a:hover,
        .dropdown-menu .dropdown-item:hover {
            color: #fff !important;
            background-color: #6a1c32 !important;
            text-decoration: none !important;
        }

        /* Elimina el outline/focus por defecto */
        .dropdown-menu a:focus,
        .dropdown-menu .dropdown-item:focus {
            outline: none;
            text-decoration: none !important;
        }