﻿/* Ajustes generales */
/*body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}*/

/* Sidebar */
.custom-sidebar {
    background-color: #1E1E1E;
    width: auto;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s ease-in-out;
}

    .custom-sidebar .nav-link {
        color: #ffffff;
        font-weight: 400;
        padding: 12px 0px;
        display: flex;
        align-items: center;
        transition: all 0.3s ease-in-out;
    }

        .custom-sidebar .nav-link i {
            margin-right: 10px;
        }

        .custom-sidebar .nav-link:hover {
            background-color: #f8f9fa;
            color: #222;
        }

/* Topbar */
.topbar {
    background-color: #ffffff !important;
    height: 55px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease-in-out;
}

/* Footer */
.footer {
    /*background-color: black;*/
    color: #444;
    font-size: 14px;
    padding: 15px;
    text-align: center;
    width: 100%;
    background-image: url('/media/footer-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    z-index: 0;
}

.bg-img {
    flex: 1 1 50%;
    object-fit: cover;
    pointer-events: none;
}

.bg-left {
    height: 50%;
    width: 75%;
    left: 0;
    object-position: left;
}

.bg-right {
    height: 100%;
    width: 75%;
    right: 0;
    object-position: right center;
}

@media (max-width: 767.98px) {
    .bg-wrapper {
        flex-direction: column;
    }

    .bg-img {
        height: 50%;
        width: 75%;
    }
}

.list-group {
    --bs-list-group-bg: transparent;
}

/* Ocultar el botón de menú en escritorio */
#sidebarToggle {
    display: none;
}


.body-background {
    position: relative;
}

    .body-background::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(WHITE, #8E8E8E);
        /*background-image: url('/assets/media/layout/fondoADOC1.png');*/
        background-size: cover;
        background-position: center;
        z-index: -1;
    }

.header-mobile, .header {
    background-color: #FFD765;
}

/*Estilos Header y menu general*/
.logo-icon {
    width: 150px;
    height: 75px;
}

.menu-title {
    color: var(--yellow-800);
    font-family: 'Arial';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;
    text-align: center;
}

.box-header-menu {
    border-bottom: 2px solid #F5F5F5;
    padding: 24px 0px;
    width: auto;
    height: 141px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.primary-link {
    color: var(--yellow-800);
    /*font-family*/ /*: 'Roboto';*/
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    text-decoration: none;
}


.breacrumb-title {
    color: var(--black);
    font-weight: 900;
    font-size: 28px;
    line-height: 70px;
}

#headerBreadCrumb {
    border-bottom: 2px solid #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 18px 0px 0px 20px;
    height: 141px;
    margin-right: 0 !important
}


.banderas {
    display: flex;
    max-height: 24px;
    margin: 20px auto 0px;
    gap: 5px;
}

    .banderas img {
        max-height: 24px;
        width: 100%;
        border-radius: 4px;
    }

.social-text {
    color: #8F8F8F !important;
    /*margin: 5px 0px;*/
}


.user-avatar {
    width: 45px;
    height: 45px;
}

.notification-icon {
    position: relative;
    font-size: 2rem;
}

    .notification-icon .notification-badge {
        position: absolute;
        top: -4px;
        background: var(--dangerous);
        width: 14.6px;
        height: 13.8px;
        left: 13px;
        border-radius: 10px;
        /*font-family: 'Roboto';*/
        font-style: normal;
        font-weight: 500;
        font-size: 9.6px;
        line-height: 100%;
        text-transform: uppercase;
        color: white;
    }

.user-text {
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-size: 16px;
    line-height: 160%;
}

.user-name {
    font-weight: bold;
    color: #4F4F4F;
}

.user-mail {
    font-weight: 400;
    color: #757575;
}


/*Menu Navegacion*/

.toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sidebar {
    width: 280px;
    height: 100%;
    transition: all 0.3s ease;
    z-index: 1000000;
    /*width: var(--sidebar-width);*/
}


.sidebar-link {
    color: var(--blanco);
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 400;
    font-size: 14.24px;
}

    .sidebar-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

    .sidebar-link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
    }


.sidebar-brand-icon {
    text-align: center;
}

.sidebar-menu-principal {
    color: var(--muted-text-color);
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: bold;
    font-size: 9.6px;
    text-transform: uppercase;
}

/* Estilos para escritorio o mayor (min-width: 1025px) */
@media (min-width: 1025px) {
    /* El sidebar y el contenido se muestran normalmente */
    .custom-sidebar {
        display: block !important;
        visibility: visible !important;
    }

    .content-wrapper {
        margin-left: var(--sidebar-width);
    }
    /* El botón de alternar el menú se oculta en escritorios */
    #sidebarToggle {
        display: none !important;
    }
    /* Restaura la visibilidad de los elementos del sidebar */
    .collapsed .hide-on-collapse, .collapsed .box-header-menu, .collapsed .sidebar-link, .collapsed .sidebar-link i {
        visibility: visible !important;
    }

    .content-wrapper .iconoPositivo {
        display: none;
    }
    .headerSectionMovil {
        display: none;
    }
}

/* Estilos para pantallas hasta 1024px (laptops, tablets y móviles) */
@media (max-width: 1024px) {
    /* Oculta el menú lateral por defecto y muestra el botón */
    .custom-sidebar {
        /* Se oculta, pero sin '!important' */
        display: none;
    }

    #sidebarToggle {
        display: block !important;
    }

    /* Oculta los elementos internos cuando el menú está colapsado */
    .collapsed .hide-on-collapse, .collapsed .box-header-menu, .collapsed .sidebar-link, .collapsed .sidebar-link i {
        visibility: hidden;
    }

    /* Clase para mostrar el menú cuando se hace clic en el botón */
    .custom-sidebar.sidebar-visible {
        /* Ahora el 'display: none' se puede sobrescribir */
        display: block;
        position: absolute;
        z-index: 9999;
        left: 0;
        top: 0;
        width: var(--sidebar-width);
        transition: transform 0.3s ease;
        transform: translateX(0);
    }

    /* Mueve el contenido para que no se superponga con el menú */
    .collapsed ~ .content-wrapper {
        margin-left: 0;
    }
    .headerSectionLaptop {
        display: none;
    }

}

/* Estilos para tablets y móviles (max-width: 960px) */
/*@media (max-width: 960px) {
    .breacrumb-title {
        line-height: normal !important;
    }

    .primary-link, .breadcrumb-item {
        font-size: 8px;
    }
}
*/
/* Estilos para móviles (max-width: 760px) */
/*@media (max-width: 960px) {

    .content-wrapper {
    }

        .content-wrapper .iconoPositivo {
            display: block;
        }*/
    /* Ajustes para el contenedor de usuario y el selector de idioma */
    /*#divBandera .d-flex.align-items-center {
        flex-direction: column;
    }*/
    /* Esconde el nombre de usuario y el correo para ganar espacio */
    /*.user-text {
        display: none;
    }

    .headerSection {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 20px;
    }

    .headerSection .row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .headerSection {
        flex-direction: column;
        align-items: flex-start;
    }*/

        /* Stack the title and breadcrumb below the header */
        /*.headerSection .row {
            flex-direction: column;
            align-items: flex-start;
            margin-top: 10px;
        }

        .headerSection .col-md-8 {
            padding-left: 0;
            margin-top: 10px;*/ /* Adjust this spacing as needed */
        /*}


    .iconoPositivo {
        height: min-content;
        width: min-content;
    }

    .headerBreadCrumb {
        display:none;*/
        /*flex:1;*/
    /*}

    #currentLanguageName {
        display: none !important;
    }

    #iconLangDropdown {
        display: none;
    }



}


@media (max-width: 768px) {

}*/

.container-fluid {
    margin-top: 5px;
}

/*Text Style*/

.text-lowercase {
    text-transform: lowercase !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

.font-weight-light {
    font-weight: 300 !important;
}

.font-weight-lighter {
    font-weight: lighter !important;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-bold {
    font-weight: 500 !important;
}

.font-weight-bolder {
    font-weight: 600 !important;
}

.font-italic {
    font-style: italic !important;
}

.text-white {
    color: #ffffff !important;
}

.text-primary {
    color: var(--yellow-500) !important;
}

.form-check-input {
    border: 2px solid rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: var(--checbox-color-accent);
        accent-color: var(--checbox-color-accent);
        border: 2px solid rgba(0, 0, 0, 0.25);
    }

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Asegura que esté por encima de todo */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db; /* Color del spinner */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.previewCanvas {
    border: none !important;
    outline: none !important;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    gap: 10px
}

.canvanPreview > .canvancontainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFC300' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFC300' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    opacity: 1;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.carousel-caption {
    /*position: absolute;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.carousel-indicators [data-bs-target] {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: black;
}

.carousel-indicators .active {
    background-color: var(--yellow-800);
}

.pagination {
    --bs-pagination-active-bg: #ffc300;
    --bs-pagination-active-border-color: #ffc300;
}

.container-landing {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-item.border-top {
        border-top: 1px solid var(--bs-border-color) !important;
    }
}

@media (min-width: 768px) {
    .navbar-nav .nav-item.border-top {
        border-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .card {
        box-shadow: none !important;
        border: none !important;
    }
}

@media (min-width: 769px) {
    .card {
        box-shadow: 0 0.15rem 1.75rem rgba(58,59,69,.15) !important;
        border-radius: 16px !important;
        border: 0 !important;
    }
}

.form-group {
    padding-left: 20px;
    padding-right: 20px;
}

/* Para pantallas pequeñas quitar padding excesivo */
@media (max-width: 768px) {
    .form-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}