:root {
    /*Colores MDTech*/
    --tono-bg: 210; /*Tono Azul de MDTech*/
    --bg: hsla(var(--tono-bg), 31%, 95%, 1);
    --footer-bg: hsla(var(--tono-bg), 100%, 10%, 1);
    --link: hsla(var(--tono-bg), 100%, 70%, 1);

    /*Colores Empresa - Principal*/
    --tono-principal: 177;
    --principal: hsla(var(--tono-principal), 57%, 41%, 1);
    --principal-oscuro: hsla(var(--tono-principal), 92%, 15%, 1);
    --principal-medio: hsla(var(--tono-principal), 92%, 60%, 1);
    --principal-claro: hsla(var(--tono-principal), 92%, 77%, 1);
    --principal-desaturado-bg: hsla(var(--tono-principal), 29%, 97%, 1);
    --principal-suave-bg: hsla(var(--tono-principal), 92%, 95%, 1);
    --blanco: hsla(var(--tono-principal), 92%, 100%, 1);

    /*Colores Empresa - Secundario*/
    --tono-secundario: 0;
    --secundario:hsla(var(--tono-secundario), 0%, 37.65%, 1); /*Color mas grisaceo para resaltar el principal*/
    --secundario-oscuro: hsla(var(--tono-secundario), 0%, 35%, 1); /*Fondos oscuros o textos oscuros*/
    --secundario-medio-1: hsla(var(--tono-secundario), 0%, 46%, 1); /*Para textos no tan relevantes, overlays para fotos 46% opacidad, 25 blur*/
    --secundario-medio-2: hsla(var(--tono-secundario), 0%, 70%, 1); /*bordes de inputs*/
    --secundario-medio-3: hsla(var(--tono-secundario),0%, 45%, 1); /*bordes box claros para cajas oscuras*/
    --secundario-medio-4: hsla(var(--tono-secundario), 0%, 70%, 1); /*fondo circulos i de información*/
    --secundario-claro: hsla(var(--tono-secundario), 18%, 97%, 1); /*Fondos de inputs contra fondo blanco*/

    /*Colores Alertas*/
    /* Success ================= */
    --mdtech-tono-success: 160;
    --mdtech-color-success: hsl(var(--mdtech-tono-success), 80%, 50%);
    --mdtech-color-success-text:  hsl(var(--mdtech-tono-success), 40%, 40%);
    --mdtech-color-success-x: hsl(var(--mdtech-tono-success), 40%, 40%);
    --mdtech-color-success-fondo: hsl(var(--mdtech-tono-success), 80%, 95%);
    /* Info ================= */
    --mdtech-tono-info: 187;
    --mdtech-color-info: hsl(var(--mdtech-tono-info), 80%, 55%);
    --mdtech-color-info-text:  hsl(var(--mdtech-tono-info), 40%, 40%);
    --mdtech-color-info-x: hsl(var(--mdtech-tono-info), 40%, 40%);
    --mdtech-color-info-fondo: hsl(var(--mdtech-tono-info), 80%, 95%);
    /* Alert ================= */
    --mdtech-tono-alert: 45;
    --mdtech-color-alert: hsl(var(--mdtech-tono-alert), 80%, 60%);
    --mdtech-color-alert-text:  hsl(var(--mdtech-tono-alert), 40%, 40%);
    --mdtech-color-alert-x: hsl(var(--mdtech-tono-alert), 40%, 40%);
    --mdtech-color-alert-fondo: hsl(var(--mdtech-tono-alert), 80%, 95%);
    /* Danger ================= */
    --mdtech-tono-danger: 340;
    --mdtech-color-danger: hsl(var(--mdtech-tono-danger), 80%, 60%);
    --mdtech-color-danger-text:  hsl(var(--mdtech-tono-danger), 40%, 40%);
    --mdtech-color-danger-x: hsl(var(--mdtech-tono-danger), 40%, 40%);
    --mdtech-color-danger-fondo: hsl(var(--mdtech-tono-danger), 80%, 95%);
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
    text-decoration: none;
    list-style: none;
}

.mdtech-container {
    /* background-color: var(--secundario-medio-1); */
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-image: url("img/fondo.jpg"); */
    background-image: url('../../Content/img/login-background.jpg');
    background-size: cover; /* Opcional: Ajusta el tamaño de la imagen para cubrir todo el elemento */
    background-repeat: no-repeat;
    position: relative;
    transform-origin: center center;
    background-position: center center;
    animation: zoomBackground 20s infinite ease-in-out;
}

@keyframes zoomBackground {
    0% {
        background-size: auto 120%;
    }
    50% {
        background-size: auto 130% /* Tamaño máximo de zoom */
    }
    
    100% {
        background-size: auto 120%;
    }
}

.mdtech-text-danger{
    color:orangered;
}

.mdtech-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: hsla(var(--tono-secundario), 0%, 35%, .7); /* Color con opacidad */
    backdrop-filter: blur(3px); /* Desenfoque */
    z-index: 0;
}

.mdtech-title {
    z-index: 1;
    color: var(--blanco);
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.mdtech-title b {
    font-size: 1.75rem;
    font-weight: 700;
}

@media screen and (max-width: 767px){
    .mdtech-title {
        font-size: 1rem;
    }

    .mdtech-title b {
        font-size: 1.3rem;
    }
}

.mdtech-box {
    min-width: 500px;
    width: 600px;
    position: relative;
    z-index: 3;
    background-color: white;
    /* padding: 3rem; */
    border-radius: 2rem;
    box-shadow: 0px 0px 20px hsla(var(--tono-secundario), 0%, 35%, .15);
}

@media screen and (max-width: 767px){
    .mdtech-box {
        min-width: 0;
        max-width: 80%;
    }
}

.mdtech-logo {
    /* background-color: yellow; */
    padding: 1rem 0 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--secundario-medio-2);
}

    .mdtech-logo img {
        max-width: 400px;
        max-height: 130px;
    }

@media screen and (max-width: 767px) {

    .mdtech-logo {
        padding: .5rem 0rem .5rem 0rem;
    }

    .mdtech-logo img {
        max-width: 120px;
    }
}

.mdtech-form {
    padding: 3rem 3rem 2rem 3rem;
}

@media screen and (max-width: 767px) {
    .mdtech-form {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
}

.mdtech-form-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.4rem;
}

@media screen and (max-width: 767px) {
    .mdtech-form-box {
        margin-bottom: 1rem;
    }
}

.mdtech-form-box label {
    font-size: .85rem;
    color: var(--secundario-medio-1);
    font-weight: 500;
    margin-bottom: .5rem;
}

.mdtech-form-box input {
    border: 1px solid var(--secundario-medio-2);
    padding: .75rem 1rem;
    border-radius: .75rem;
    background-color: var(--secundario-claro);
    color: var(--secundario-oscuro);
}

@media screen and (max-width: 767px){
    .mdtech-form-box label {
        font-size: .75rem;
        margin-bottom: .35rem;
    }

    .mdtech-form-box input {
        padding: .5rem .75rem;
        border-radius: .5rem;
    }
}

.mdtech-form-box input:focus-visible,
.mdtech-form-box input:focus,
.mdtech-form-box input:active {
    outline: 0px solid var(--secundario);
    border: 1px solid var(--secundario);
}

.mdtech-option {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

@media screen and (max-width: 767px){
    .mdtech-option {     
        flex-direction: column;
        gap: .75rem;
    }
}

.mdtech-option-box {
    display: flex;
    gap: .5rem;
    text-align: right;
}

.mdtech-option-box p {
   
    justify-content: end;
    align-items: end;
    font-size: 0.7rem;
    text-align: right;
}

.mdtech-option-box input[type="checkbox"]{
    cursor: pointer;
}

.mdtech-option-box a, .mdtech-option-box span {
    font-size: .8rem;
    color: var(--secundario-medio-1)
}

.mdtech-option-box:nth-child(2) a {
    text-decoration: underline;
}

.mdtech-option-box:nth-child(2) a:hover {
    color: var(--secundario-oscuro)
}

.mdtech-option-box .mdtech-info-i {
    background-color: var(--secundario-medio-4);
    border: 1px solid var(--secundario-medio-2);
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
}
.mdtech-option-box .mdtech-info-i:hover {
    background-color: var(--secundario-oscuro);
    border: 1px solid var(--secundario-oscuro);
}

.mdtech-option-box .mdtech-info-i span {
    color: var(--blanco)
}

.mdtech-option-box .mdtech-info-text {
    position: absolute;
    background-color: var(--secundario-medio-1);
    padding: .5rem;
    border-radius: .3rem .3rem 0 .3rem;
    width: max-content;
    right: 0px;
    bottom: 0px;
    transition: all .3s ease-in-out;
    transform: translateY(0%);
    opacity: 0;
    pointer-events: none;
}

.mdtech-option-box .mdtech-info-text.active {
    transform: translateY(-60%);
    opacity: 1;
    pointer-events: all;
}

.mdtech-option-box .mdtech-info-text p {
    color: var(--blanco);
    font-size: .7rem;
}

.mdtech-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .3rem;
    padding: 1rem 3rem;
    border: none;
    width: max-content;
    border-radius: .75rem;
    background-color: var(--principal);
    color: var(--blanco);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all .3s ease-in-out;
    transform-origin: center center;
}

.mdtech-button i {
    font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
    .mdtech-button {
        font-size: .9rem;
        padding: .75rem 1.25rem;
    }
}

.mdtech-button:hover {
    background-color: var(--secundario);
}

.mdtech-button-iniciar {
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%, 50%);
}

.mdtech-button-iniciar:hover {
    transform: translate(-50%, 50%) scale(.9);
}


.mdtech-more-tab-1, .mdtech-more-tab-2 {
    position: absolute;
    background-color: var(--secundario-oscuro);
    border-top: 1px solid var(--secundario-medio-3);
    border-right: 1px solid var(--secundario-medio-3);
    /* border-bottom: 3px solid blue; */
    border-left: 1px solid var(--secundario-medio-3);
    padding: .75rem 1rem;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    border-radius: .3rem .3rem 0 0;
    z-index: 0;
    cursor: pointer;
    transition: all .1s ease-in-out;
}

@media screen and (max-width: 767px){
    .mdtech-more-tab-1, .mdtech-more-tab-2 {
        padding: .3rem 1rem;
        height: 1.75rem;
    }
}

.mdtech-more-tab i {
    transform-origin: center center;
    transform: rotate(180deg);
}

.mdtech-more-tab span, .mdtech-more-tab i {
    font-size: .85rem;
    color: var(--blanco)
}

@media screen and (max-width: 767px) {
    .mdtech-more-tab span, .mdtech-more-tab i {
        font-size: .65rem;
    }
}

.mdtech-more-tab > i {
    font-size: 1.2rem;
    transition: all .3s ease-in-out;
}

.mdtech-more-tab:hover  {
    background-color: var(--secundario);
}

.mdtech-more-tab:focus,
.mdtech-more-tab:active  {
    background-color: var(--principal);
}

.mdtech-more-tab:hover i {
    transform: rotate(0deg);
}

.mdtech-more-tab-1 {
    transform-origin: center right;
    transform: translate(21px, 250px) rotate(90deg);
    top: 0;
    right: 0;
}

.mdtech-more-tab-2{
    transform-origin: center right;
    transform: translate(21px, -20px) rotate(90deg);
    bottom: 0;
    right: 0;
}

@media screen and (max-width: 767px) {
    .mdtech-more-tab-1 {
        transform-origin: center right;
        transform: translate(14px, 205px) rotate(90deg);
        top: 0;
        right: 0;
    }
    
    .mdtech-more-tab-2{
        transform-origin: center right;
        transform: translate(14px, -15px) rotate(90deg);
        bottom: 0;
        right: 0;
    }
}


/*MODAL*/
.mdtech-modal {
    position: fixed;
    z-index: 100;
    background-color: hsla(var(--tono-secundario), 0%, 20%, .9);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.modal-active {
    opacity: 1;
    pointer-events: all;
}

.mdtech-more {
    position: relative;
    background-color: var(--blanco);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0px 0px 20px hsla(var(--tono-secundario), 0%, 35%, .15);
    width: 500px;
    min-width: 500px;
    transition: all .75s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.5);
    transform: translateY(-200px);
    opacity: 0;
}

@media screen and (max-width: 767px) {
    .mdtech-more {
        width: 90%;
        min-width: 0px;
        padding: 1.5rem;
    }
}

.mdtech-more-active {
    transform: translateY(0px);
    opacity: 1;
}

.mdtech-more-close {
    position: absolute;
    right: calc(0px + .75rem);
    top: calc(0px + .75rem);
    font-size: 2rem;
    color: var(--principal);
    cursor: pointer;
    transform-origin: center center;
    transition: all .1s ease-in-out;
}

.mdtech-more-close:hover, 
.mdtech-more-close:active {
    color: var(--secundario-oscuro);
    transform: scale(.9);
}

.mdtech-more-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid var(--secundario-medio-2);
    margin-bottom: 2rem;
}

.mdtech-more-header i {
    font-size: 3rem;
    color: var(--secundario);
    margin-bottom: .75rem;
}

.mdtech-more-header h2 {
    margin-bottom: 1.5rem;
    color: var(--secundario-oscuro);
    text-align: center;
}

@media screen and (max-width: 767px) {
    .mdtech-more-header h2 {
        font-size: 1.2rem;
    }
}

.mdtech-more-body {
    display: flex;
    flex-direction: column;
}

.mdtech-modal-primer .mdtech-more-body p {
    font-size: .9rem;
    font-weight: 300;
    text-align: justify;
    margin-bottom: 1rem;
    color: var(--secundario-medio-1);
}

.mdtech-modal-primer .mdtech-more-body p:last-of-type{
    margin-bottom: 3rem;
}

.mdtech-modal-contacto .mdtech-more-body {
    gap: 1rem;
    width: 100%;
}

.mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box {
    border: 1px solid var(--secundario-medio-2);
    padding: .75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: .5rem;
    color: var(--secundario-oscuro)
}

@media screen and (max-width: 767px) {
    .mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box {
        padding: .5rem 1rem;
    }
}

.mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box:hover {
    border: 1px solid var(--secundario);
}

.mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box:hover i, .mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box:hover span {
    color: var(--secundario);
}

.mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box i {
    font-size: 1.3rem;
}

.mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box span {
    font-size: 1rem;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box i {
        font-size: 1.1rem;
    }
    
    .mdtech-modal-contacto .mdtech-more-body .mdtech-more-body-box span {
        font-size: .85rem;
    }
}

/* ======================================================= */
/* ======================= ALERTAS ======================= */
/* ======================================================= */

.mdtech-alert {
    z-index: 2;
    min-width: 500px;
    padding: 1rem 1.5rem;
    border-radius: .2rem .5rem .5rem .2rem;
    margin-bottom: 2rem;
    justify-content: space-between;
    align-items: center;
    border-left: 10px solid var(--mdtech-color-success);
    background-color: var(--mdtech-color-success-fondo);
    display: none;
}

@media screen and (max-width: 767px) {
    .mdtech-alert {
        min-width: 0px;
        width: 90%;
        max-width: 500px;
    }
}

.mdtech-alert p {
    color: var(--mdtech-color-success-text);
}

.mdtech-alert i {
    color: var(--mdtech-color-success-x);
}

.mdtech-alert i {
    font-size: 1.3rem;
    transform-origin: center center;
    transition: .3s;
    cursor: pointer;
}

.mdtech-alert i:hover {
    transform: scale(.8);
}


/* Success =================== */
.mdtech-alert.success {
    display: flex;
    border-left: 7px solid var(--mdtech-color-success);
    background-color: var(--mdtech-color-success-fondo);
}
.mdtech-alert.success p{
    color: var(--mdtech-color-success-text);
}
.mdtech-alert.success i{
    color: var(--mdtech-color-success-x);
}

/* Info =================== */
.mdtech-alert.info {
    display: flex;
    border-left: 7px solid var(--mdtech-color-info);
    background-color: var(--mdtech-color-info-fondo);
}
.mdtech-alert.info p{
    color: var(--mdtech-color-info-text);
}
.mdtech-alert.info i{
    color: var(--mdtech-color-info-x);
}

/* Alert =================== */
.mdtech-alert.alert {
    display: flex;
    border-left: 7px solid var(--mdtech-color-alert);
    background-color: var(--mdtech-color-alert-fondo);
}
.mdtech-alert.alert p{
    color: var(--mdtech-color-alert-text);
}
.mdtech-alert.alert i{
    color: var(--mdtech-color-alert-x);
}

/* Danger =================== */
.mdtech-alert.danger {
    display: flex;
    border-left: 7px solid var(--mdtech-color-danger);
    background-color: var(--mdtech-color-danger-fondo);
}
.mdtech-alert.danger p{
    color: var(--mdtech-color-danger-text);
}
.mdtech-alert.danger i{
    color: var(--mdtech-color-danger-x);
}


