@font-face {
    font-family: 'BarlowR';
    src: url("/fonts/Barlow-Regular.woff2") format('woff2'), url("/fonts/Barlow-Regular.ttf") format('truetype');
}

:root {
    --primary-color: #000f59; /* Color principal */
    --primary-color-light: #0044cc; /* Variante más clara */
    --primary-color-dark: #00c2ff; /* Variante más brillante */
    --primary-color-background: #00041664; /* Fondo translúcido */
    /* Light Mode */
    --primary-background-color-light-mode: #ffffff; /* Fondo claro */
    --primary-text-color-light-mode: #000f59; /* Texto oscuro */
    /* Dark Mode */
    --primary-background-color-dark-mode: #171717; /* Usa el primary color como fondo */
    --primary-text-color-dark-mode: #ffffff; /* Texto blanco para buen contraste */
    --primary-button-dark-mode: #00c2ff; /* Botón resaltado */
    --primary-border-dark-mode: #FFFFFF25; /* Bordes destacados */
    --input-contrast-color: #171717;
}



* {
    font-family: BarlowR;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: BarlowR;
}

main {
    height: calc(100% - 57px);
}

section {
    height: 100%;
    display: grid;
}
.main-logo {
    border: none;
    background-image: url(/img/logovdark.png);
    background-position: center;
    background-size: cover;
    min-width: 65px;
    min-height: 30px;
    background-repeat: no-repeat;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}
.helpBtn{
    background-image:url(/img/help.svg);
    background-size:auto;
    min-height:35px;
    min-width:35px;
    background-repeat:no-repeat;
    background-position:center; 
}
h2, h4, h6 {
    font-weight: 400;
    color: var(--primary-color);
}

p {
    text-align: justify;
}
/*NOTIFICATION STYLE*/
.notification {
    min-height: 40px;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
    margin: 10px;
    text-align: center;
    color: black;
    position:relative;
    /*padding: 10px;*/
    border-radius: 10px;
    border: 1px solid #c4baba;
}
    .notification > div {
        margin:15px;
        text-align:start;
    }
    .notification > p {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 11px;
        margin: 5px;
    }
    /* #region ControlesComunes */
    input, select, textarea {
        box-sizing: border-box;
        background-color: white;
        border: 1px;
        border-style: solid;
        border-color: #c4baba;
        border-radius: 10px;
        min-height: 36px;
        padding: 10px;
        width: 100%;
    }

/* #endregion ControlesComunes */

/* #region ControlesUnicos */

.btnIco {
    cursor: pointer;
    min-height: 36px;
    min-width: 36px;
    max-height: 36px;
    max-width: 36px;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-size: 18px; */
}

.txtIco {
    padding-left: 30px;
    background-position: left center;
    background-repeat: no-repeat;
    /* background-size: 18px; */
}

.edit {
    background-image: url(../img/edit_square.svg);
}

.add {
    background-image: url(../img/add_circle.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.signOut {
    background-image: url(/img/signout.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.delet {
    background-image: url(../img/delete.svg);
}

.btnAzul {
    cursor: pointer;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.cntnr, .dvinfo, .dvUsage {
    box-sizing: border-box;
    background-color: white;
    border: 1px;
    border-style: solid;
    border-color: #c4baba;
    border-radius: 10px;
    min-height: 36px;
    width: 100%;
}

/* #endregion ControlesUnicos */

/*#region Header*/

header {
    display: grid;
    height: 56px;
    grid-template-columns: 50px 1fr 56px;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

    header img {
        height: 30px;
    }

    header > * {
        margin: auto;
    }

.menu {
    display: flex;
    background-image: url(/img/account_circle.svg);
    /* background-size: 30px; */
}
.main-login-logo {
    background-image: url(/img/logovdark.png);
    background-repeat: no-repeat;
    min-width: 200px;
    min-height: 106px;
    background-position: center;
    background-size: contain;
}
#verlist {
    cursor: pointer;
    opacity: 0;
    min-width: 0;
}

    #verlist:checked + .list {
        left: 0;
    }

.list {
    /* display: none; */
    position: absolute;
    top: 57px;
    left: -100%;
    width: 100%;
    max-width: 425px;
    height: calc(100% - 57px);
    background: white;
    z-index: 2;
    transition: left 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

    .list a {
        margin: auto 0;
    }

    .list ul,
    .list li {
        margin: 0;
        padding: 0;
    }

    .list li {
        display: flex;
        min-height: 36px;
        padding-left: 40px;
        background-position: 10px center;
        background-repeat: no-repeat;
        /* background-size: 18px; */
    }

/*#endregion Header*/

/* #region Login */

.sctLogin {
    display: grid;
}

.frmLogin {
    box-sizing: border-box;
    display: grid;
    row-gap: 12px;
    width: calc(100% - 100px);
    min-width: 210px;
    max-width: 280px;
    margin: auto;
}

    .frmLogin img {
        width: 100%;
    }

/* #endregion Login */

/* #region Home */


.dvadmMenu {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    min-height: 36px;
    min-width: 36px;
    max-height: 36px;
    max-width: 36px;
    background-color: white;
    background-image: url(../img/more_vert.svg);
    background-position: center center;
    background-repeat: no-repeat;
    /* background-size: 18px; */
    transition: background 0.2s ease-in-out, border 0.2s ease-in-out;
}

    .dvadmMenu .btnmenu {
        z-index: 2;
        position: absolute;
        top: 0;
        right: 0;
        opacity: 0;
        visibility: collapse;
        min-width: 36px;
        min-height: 36px;
        transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out, visibility 0.2s ease-out;
    }

.btnmenu div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

    .btnmenu div > * {
        position: absolute;
        top: 0;
        transition: top 0.2s ease-in-out;
    }

#btngest {
    cursor: pointer;
    opacity: 0;
    min-width: 0;
}

.dvadmMenu.active {
    background-image: url(../imgnight/more_vert.svg);
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/*#btngest:checked + .btnmenu {
    visibility: visible;
    top: 46px;
    opacity: 1;
}*/

    #btngest:checked + .btnmenu div input:nth-child(1) {
        top: 0;
    }

    #btngest:checked + .btnmenu div input:nth-child(2) {
        top: 46px;
    }

    #btngest:checked + .btnmenu div input:nth-child(3) {
        top: 92px;
    }

.sctHome {
    box-sizing: border-box;
    grid-template-rows: 36px auto 1fr;
    row-gap: 12px;
    padding: 10px;
    max-width: 415px;
    margin: auto;
    padding-bottom: 0;
}
.configWifiHome {
    box-sizing: border-box;
    grid-template-rows: auto;
    row-gap: 12px;
    padding: 10px;
    max-width: 415px;
    margin: auto;
    padding-bottom: 10px;
}
    .configWifiHome > div {
        height: 100%;
        overflow: overlay;
        border: 1px solid #c4baba;
        box-sizing:border-box;
        border-radius:10px;
        padding:10px;
        }
    .configWifiHome > div > iframe {
        width:100%;
        border:none;
        /*height: max-content;*/
        padding: 0;
        margin: 0;
        height:calc(100% - 31px);
    }
    .mainPubHome {
        box-sizing: border-box;
        grid-template-rows: auto;
        row-gap: 12px;
        padding: 10px;
        max-width: 415px;
        margin: auto;
        padding-bottom: 10px;
    }

.settingsHome {
    overflow:overlay;
    box-sizing: border-box;
    grid-template-rows: auto;
    row-gap: 12px;
    padding: 10px;
    max-width: 415px;
    margin: auto;
    padding-bottom: 10px;
}
.surveyHome {
    box-sizing: border-box;
    row-gap: 20px;
    padding: 10px;
    max-width: 415px;
    margin: auto;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    overflow: overlay;
    border-color: #c4baba;
}
.alertsHome {
    box-sizing: border-box;
    row-gap: 20px;
    padding: 10px;
    max-width: 415px;
    margin: auto;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    overflow: overlay;
    border-color: #c4baba;
}
.alertsCt {
    border: 1px solid #c4baba;
    padding: 10px;
    border-radius: 10px;
    height:100%;
}
.surveyCont {
    box-sizing: border-box;
    row-gap: 20px;
    padding: 20px;
    max-width: 415px;
    margin: auto;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    overflow: overlay;
    border-radius:10px;
    border: 1px solid #c4baba;
}
    .surveyCont>h2{
        text-align:center;
    }
    .surveyCont > form {
        overflow: overlay;
    }
.pregCt {
    max-height: max-content;
}
.pregRCt{
    display:flex;
}
    .pregRCt>input{
        width:auto;
    }
    .pregRCt>label{
        align-self:center;
        text-indent:10px;
    }
    .sctHome .dvflex {
        display: flex;
        gap: 10px;
    }

.sctHome > div:last-of-type {
    overflow-y: overlay;
}

.sctHome .dvinfo,
.sctHome .dvUsage {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.sctHome .dvUsage {
    margin: 0;
}

    .sctHome .dvinfo > *,
    .sctHome .dvUsage > * {
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .sctHome .dvUsage h4 {
        border-bottom: 1px solid #ddd;
    }

    .sctHome .dvUsage > * {
        border: none;
    }

.sctHome .dvinfo > *:nth-last-child(1),
.sctHome .dvinfo > *:nth-last-child(2) {
    border: none;
}

.sctHome .dvinfo span,
.sctHome .dvUsage span,
.sctHome .dvUsage div {
    width: calc(50% - 20px);
}

.sctHome .dvUsage div {
    display: flex;
    justify-content: center;
}

    .sctHome .dvUsage div span {
        width: auto;
        font-size: 2rem;
        padding-right: 4px;
        height: 36px;
    }

        .sctHome .dvUsage div span:last-of-type {
            width: auto;
            font-size: 1.5rem;
            line-height: 1.8;
            padding-right: 4px;
        }

.sctHome .dvUsage span {
    text-align: center;
}

.sctHome .dvUsage div:nth-last-child(1),
.sctHome .dvUsage div:nth-last-child(2) {
    font-size: 1.5rem;
    padding-top: 0;
}

.sctHome .dvinfo span:nth-child(odd) {
    text-align: end;
}

.sctHome .cntnr:nth-last-child(1) {
    border-radius: 0 0 10px 10px;
    border-top: none;
    margin-bottom: 10px;
}

.sctHome .dvUsage {
    border-radius: 10px 10px 0 0;
}

.status-cont {
    width: calc(50% - 20px) !important;
    display: flex;
    justify-content: end;
    gap: 5px;
    align-items: center;
}

    .status-cont > span {
        width: fit-content !important;
        height: fit-content !important;
    }

.status-circle {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: red;
}

.status_connected {
    background-color: green !important;
}

/* #endregion Home */

/* #region Lecturas */

.sctHLecturas {
    display: grid;
    grid-template-rows: auto 1fr;
}

/* #endregion Lecturas */

.sctHome {
    opacity: 0;
    animation: fadeIn .6s ease-in-out forwards;
}

.navBody {
    display: flex;
    flex-direction: column;
}

    .navBody > a {
        text-decoration: none;
        color: black;
        padding: 3vh 0 3vh 0;
        text-indent: 40px;
    }

    .navBody:first-child {
    }

.navFooter {
    align-self: center;
    position: absolute;
    bottom: 20px;
}

    .navFooter > a {
        text-decoration: none;
        color: white;
        background-color: var(--primary-color);
        border-radius: 10px;
        padding: 10px 60px 10px 60px;
    }

.list {
    border-right: 1px solid #ddd;
    box-sizing: border-box;
}

.homeIcon {
    background-image: url(../img/home.svg);
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 8px;
    background-size: 22px;
}

.quejasIcon {
    background-image: url(../img/encuestas.svg);
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 8px;
    background-size: 22px;
}

.publiIcon {
    background-image: url(../img/info.svg);
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 8px;
    background-size: 22px;
}

.settingsIcon {
    background-image: url(../img/account_circle.svg);
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 8px;
    background-size: 22px;
}
.alertsIcon {
    background-image: url(../img/notifications.svg);
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 8px;
    background-size: 22px;
}

.selectedView {
    background-color: #e8e8e8;
}

.removeNameTextCt {
    border: none;
    height: auto;
    width: auto;
    min-height: 22px;
    margin: 0 !important;
    padding: 0 !important;
    color: black;
}

.pubminihome {
    box-sizing: border-box;
    background-color: white;
    border: 1px;
    border-style: solid;
    border-color: #c4baba;
    border-radius: 10px;
    min-height: 24vh;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    position:relative;
}

.imgControl {
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

    .imgControl > img {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9; 
        object-fit: contain; 
        transition: transform 0.5s ease, opacity 0.5s ease; 
    }

.mainPubHome > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
}
.mainimgControl{
    overflow:hidden;
    position:relative;
    display:flex;
    flex-direction:column;
    align-content:center;
    justify-content:center;
}
.mainimgControl > img {
    /*justify-self:center;*/
    max-width: 100%;
    /*justify-content: center;*/
    /*display: flex;*/
    aspect-ratio: 9/16 !important; 
    object-fit: contain; 
    transition: transform 0.5s ease, opacity 0.5s ease; 
}

.dotsContainer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 5px;
    position:absolute;
    bottom:10px;
    left:0;
    right:0;
}
.formSuv{
    gap:10px;
}
.pregCt{
    margin-top:10px;
}
.dot {
    background-color: #cacaca;
    width: 8px;
    height: 8px;
    border-radius: 10px;
}

.activeDot {
    background-color: #5c5c5c;
}

.nombreEditContainer {
    display: flex;
    gap: 10px;
}

.settingsContainer {
    overflow:overlay;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: white;
    border: 1px;
    border-style: solid;
    border-color: #c4baba;
    border-radius: 10px;
    padding: 10px;
    gap:10px;
}
.changeUnitsCt {
    background-color: var(--primary-color-background);
    position: absolute;
    top: 0;
    z-index: 4;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    /*display:flex;*/
}
    .changeUnitsCt > form {
        display:grid;
        gap:10px;
        background-color: white;
        padding: 20px 40px;
        border-radius:10px;
        }
.changePasswordCheck {
    background-color: var(--primary-color-background);
    position: absolute;
    top: 0;
    z-index: 4;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
}
    .changePasswordCheck>form{
        background-color:#fff;
        max-width:90%;
        padding:20px 40px;
        border-radius:10px;
        display:grid;
        gap:10px;
        
    }
    .changePasswordCheck>form>div{
        display:flex;
        gap:10px;
    }
    .surveysContainer {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background-color: white;
        border: 1px;
        border-style: solid;
        border-color: #c4baba;
        border-radius: 10px;
        padding: 10px;
        gap: 10px;
    }
.otherSettingsContainer {
    box-sizing: border-box;
    background-color: white;
    border: 1px;
    border-style: solid;
    border-color: #c4baba;
    border-radius: 10px;
}
.settingsContainer>section>h2{
    padding-bottom:10px;
}
.settingOpt {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}
    .settingOpt>input{
        min-width:none;
        width:20px;
    }
    .settingsContainer > section {
        height: auto;
    }
    .unitPreference{
        border:none !important;
        width:64px !important;
    }
    .changeNameBtn{
        border-radius:10px;
        width:35px !important;
        height:35px !important;
        border:none;
        align-self:center;
        background-image:url(/img/edit_square.svg);
        background-position:center;
        background-size:100%;
        background-repeat:no-repeat;
        cursor:pointer;
    }
.confirmChangeNameCt{
    position:absolute;
    height:100%;
    width:100%;
    top:0;
    background-color: var(--primary-color-background);
    z-index:2;
    display:grid;
    align-items:center;
    justify-content:center;
    display:none;
}
.confirmChangeNameCt>form{
    border-radius:10px;
    padding:20px 40px;
    background-color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
    align-items:center;
    text-align:center;
}
.confirmChangeNameCt>form>div{
    display:flex;
    gap:10px;
}
.confirmChangeNameCt>form>div>input{
    max-width:15rem;
}
.changeNameTxt{
    text-align:center;
}
.surveys {
    display: grid;
    gap: 10px;
}
.surv {
    text-decoration: none;
    color: black;
    height: fit-content;
    border-bottom: 1px solid #ddd;
    position: relative;
    /*min-height:50px;*/
    display: flex;
    flex-direction: column;
    gap: 2.5px;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
    cursor: pointer;
    padding:10px;
}
    /*.surveys>div{
        text-decoration:none;
        color:black;
        height:fit-content;
        border-bottom:1px solid #ddd;
        position:relative;*/
        /*min-height:50px;*/
        /*display:flex;
        flex-direction:column;
        gap:2.5px;
        padding-left:10px;
        padding-right:10px;
        justify-content:center;
        cursor:pointer;
        }*/
    .surv:hover{
        background-color:#ddd;
    }
.surveyStatusTxt{
    font-size:12.5px;
    top:0;
    right:0;
    position:absolute;
}
.surveys{
    overflow:overlay;
    /*max-height:calc(100% - 900px);*/
}
.surveysContainer>h2{
    text-align:center;
}
.activeMedidor{
    text-decoration:none;
    color:black;
}
.config-modal {
    position: absolute;
    z-index: 12;
    height: 100%;
    width: 100%;
    background-color: #00041664;
    top:0;
    display:none;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.config-modal>div{
    background-color:#fff;
    display:grid;
    gap:10px;
    max-width:40%;
    padding:10px;
    border-radius:10px;
}
.alertSettingsTxt{
    text-decoration:underline;
    color:red;
}
.wifidevalerttxt > p, .wifidevalerttxt >span{
    text-align:center;
}
.wifidevalerttxt{
    margin-top:10px;
    margin-bottom:10px;
}
/*LOGIN MODALS*/
.signInFormCt {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #00041664;
    display:none;
    justify-items:center;
    align-items:center;
}
.signInForm{
    background-color:white;
    padding:10px;
    border-radius:10px;
    max-width:90%;
    overflow:overlay;
    max-height:90%;
    position:relative;
}
.tycCt {
    display: flex;
    justify-content: end;
    gap:2px;
    align-items: center;
    font-size:13px;
}
.tycCt>a{
    color:var(--primary-color);
}
.tycCt>input{
    width:20px;
    height:20px;
}
.closeSignUpBtn{
    height:20px;
    width:20px;
    position:absolute;
    right:10px;
    background-image:url(/img/close_small.svg);
    background-position:center;
    background-repeat:no-repeat;
    background-size:40px;
    cursor:pointer;
}
.tycContainer{
    padding:10px;
    display:flex;
    flex-direction:column;
    gap:20px;
    text-align:justify;
}
.tycBackground {
    background-image: url(/img/logohdark.png);
    background-position:center;
    background-size:90%;
    position:absolute;
    height:100%;
    width:100%;
    top:0;
    opacity:.03;
    z-index:-1;
}
.snackBar {
    visibility: hidden; /* Oculto por defecto */
    min-width: 250px;
    margin: 0 auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 16px;
    border: 1px solid #00041664;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
}
.sBT{
    text-align:center;
}
.snackBar.show {
    visibility: visible;
    animation: fadeIn .5s, fadeOut 2s 2.5s;
}
.forgottenPassCt {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    display:grid;
    justify-content:center;
    align-items:center;
    background-color:var(--primary-color-background);
    display:none;
}
.forgottenPassForm{
    background-color:#fff;
    padding:20px 40px;
    border-radius:10px;
    display:grid;
    gap:10px;
}
.forgottenPassForm>div{
    display:flex;
    gap:10px;
}
.cancelSubModalCt{
    position:absolute;
    background-color: var(--primary-color-background);
    height:100%;
    width:100%;
    top:0;
    display:none;
    justify-content:center;
    align-items:center;
    min-width:90%;
}
.cancelSubModalCt > div{
    text-align:center;
   
    max-width:20%;
    padding:20px 40px;
    border-radius:10px;
    background-color:#fff;
}
    .cancelSubModalCt > div>div{
        display:flex;
        margin-top:20px;
        gap:10px;
    }
    @media screen and (min-width:500px) {
        .signInForm {
        width:50%;
    }

}
dialog {
    background-color: #fff;
    display: grid;
    gap: 10px;
    max-width: 40%;
    padding: 20px 40px;
    border-radius: 10px;
    border:none;
    
}
    dialog > p {
        text-align: center;
    }
dialog>div{
    display:flex;
    justify-content:center;
    gap:10px;
}
dialog::backdrop {
    background-color: var(--primary-color-background);

}

/*MAP STYLES*/

#mapModal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100dvw;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 20;
    justify-content: center;
    align-items: center;
}

#mapContainer {
    height: 90vh;
    width: 90vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    gap:10px;
}

#mapElement {
    flex-grow: 1;
    background-color: #4D4848;
}
@media screen and (max-width:425px) {
    /* Estilo para el scrollbar */
    .sctHome {
        /*overflow-x:hidden;*/
    }
    .cancelSubModalCt > div {
        max-width: 90%;
    }
    .unitText {
        flex-direction:column;
    }
    .config-modal > div{
        max-width:90% !important;
    }

    .sctHome > div:last-of-type::-webkit-scrollbar {
        width: 7px; /* Ancho del scrollbar */
        z-index: 9;
    }

        /* Estilo para el thumb del scrollbar */
        .sctHome > div:last-of-type::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.5); /* Color del thumb */
            border-radius: 8px; /* Radio del thumb */
            border: 2px solid transparent; /* Espacio alrededor del thumb */
            background-clip: content-box; /* Clip del fondo */
        }

        /* Estilo para el track del scrollbar */
        .sctHome > div:last-of-type::-webkit-scrollbar-track {
            /*background-color: rgba(0, 0, 0, 0.1);*/ /* Color del track */
            border-radius: 8px; /* Radio del track */
        }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@media(prefers-color-scheme:dark) {
    :root {
        --primary-background-color: var(--primary-background-color-dark-mode);
        --primary-text-color: var(--primary-text-color-dark-mode);
        --primary-color: #000f59;
        --primary-color-light: #0044cc;
        --primary-color-dark: #00c2ff;
        --primary-color-background: #00041664;
    }

    body, html {
        background-color: var(--primary-background-color-dark-mode);
        color: var(--primary-text-color-dark-mode);
    }

    header,
    .cntnr, .dvinfo, .dvUsage,
    .pubminihome,
    .mainimgControl,
    .settingsContainer,
    .otherSettingsContainer,
    .surveysContainer,
    .surveyCont,
    .alertsCt,
    .configWifiHome > div,
    .changeUnitsCt > form,
    .changePasswordCheck > form,
    .confirmChangeNameCt > form,
    .config-modal > div,
    .signInForm,
    .forgottenPassForm,
    .cancelSubModalCt > div,
    dialog {
        background-color: var(--primary-background-color-dark-mode);
        color: var(--primary-text-color-dark-mode);
        border-color: var(--primary-border-dark-mode);
    }

    .btnAzul {
        background-color: var(--primary-button-dark-mode);
        border-color: var(--primary-border-dark-mode);
        color: var(--primary-text-color-dark-mode);
    }

    .notification {
        background-color: var(--primary-background-color-dark-mode);
        color: var(--primary-text-color-dark-mode);
        border-color: var(--primary-border-dark-mode);
    }

    input, select, textarea {
        background-color: var(--input-contrast-color);
        color: var(--primary-text-color-dark-mode);
        border-color: var(--primary-border-dark-mode);
    }

    .list,
    .pubminihome,
    .surv,
    .surveyCont,
    .alertsCt,
    .settingsContainer,
    .otherSettingsContainer,
    .surveysContainer {
        background-color: var(--primary-background-color-dark-mode);
        color: var(--primary-text-color-dark-mode);
        border-color: var(--primary-border-dark-mode);
    }

    .selectedView {
        background-color: #1a1a2e;
    }

    .navFooter > a {
        background-color: var(--primary-button-dark-mode);
        color: var(--primary-text-color-dark-mode);
    }
    a {
        color: var(--primary-text-color-dark-mode) !important;
    }
    .dot {
        background-color: #444a5a;
    }

    .activeDot {
        background-color: var(--primary-border-dark-mode);
    }

    .status-cont > .status-circle {
        background-color: #444a5a;
    }

    .status-cont > .status_connected {
        background-color: #00c2ff !important;
    }

    .sctHome .dvinfo > *,
    .sctHome .dvUsage > * {
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid var(--primary-border-dark-mode);
    }
    .add {
        background-image: url(../img/add_circle_light.svg);
    
    }
    #btngest{
        background-color:var(--primary-color) !important;
    }
    .menu {
        background-image: url(/img/account_circle_light.svg);
    }
    .edit {
        background-image: url(../img/edit_square_light.svg);
    }
    h1,h2,h3,h4,h5{
        color:white !important;
    }
    .navBody > a {
        text-decoration: none;
        color: var(--primary-text-color-dark-mode);
        padding: 3vh 0 3vh 0;
        text-indent: 40px;
    }
    .main-logo {
        border: none;
        background-image: url(/img/logovlight.png);
        background-position: center;
        background-size: contain;
        background-repeat:no-repeat;
        min-width: 65px;
        min-height: 30px;
    }
    .dvadmMenu {
        box-sizing:border-box;
        background-color: #3d3d3d;
        border: 1px solid var(--primary-border-dark-mode);
    }
    .homeIcon {
        background-image: url(../img/home_light.svg);
    }
    .quejasIcon {
        background-image: url(../img/encuestas_light.svg);
    }
    .publiIcon {
        background-image: url(../img/info_light.svg);
    }
    .settingsIcon {
        background-image: url(../img/account_light.svg);
    }
    .alertsIcon {
        background-image: url(../img/notifications_light.svg);
    }
    .changeNameBtn {
        border-radius: 10px;
        width: 35px !important;
        height: 35px !important;
        border: none;
        align-self: center;
        background-image: url(/img/edit_name_square_light.svg);
        background-position: center;
        background-size: 100%;
        background-repeat: no-repeat;
        cursor: pointer;
    }
    .helpBtn {
        background-image: url(/img/help_light.svg);
        background-size: auto;
        min-height: 35px;
        min-width: 35px;
        background-repeat: no-repeat;
        background-position: center;
    }
    .surv:hover {
        background-color: #FFFFFF25;
    }
    .main-login-logo {
        background-image: url(/img/logovlight.png);
        background-repeat: no-repeat;
        min-width: 200px;
        min-height: 106px;
        background-position: center;
        background-size: contain;
    }
    .closeSignUpBtn{
        background-image:url(/img/close_small_light.svg);
    }
}