body {
    margin: 0 !important;
    background-image: url("../../Content/images/pleca-blanco.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: -35px;
    background-position-y: -35px;
}

.user-credencials {
    display: none;
}

.sidebar {
    display: none;
}

.top-navbar {
    display: none;
}

.main-content {
    margin: 0 !important;
    min-height: auto !important;
}

.page-content {
    width: 100%;
    min-height: auto !important;
}

.error {
    display: none !important;
}

.vertical-buffer {
    margin: 0 !important;
}

:root {
    --guinda-170: #3a0a1e;
    --guinda-160: #611232;
    --guinda-150: #9b2247;
    --guinda-110: #f0eced;
    --dorado-110: #a57f2c;
    --dorado-210: #e6d194;
    --blanco: #fefefe;
}

p {
    margin: 0;
}

.no-scroll {
    overflow: hidden;
}

.fondo {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: #33333361;
    z-index: 1000;
    overflow-x: hidden;
}

.ventana {
    z-index: 2000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 500px;
    min-width: 300px;
    height: auto;
    border-radius: 10px;
    background-color: var(--blanco);
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
}

.no-display {
    display: none;
}

.si-display {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.4s ease-in-out, visibility 0s;
}

.ventana__titulo {
    width: 100%;
    height: auto;
    padding: 1rem;
    background-color: var(--guinda-170);
    border-radius: 10px 10px 0 0;
}

    .ventana__titulo p {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        color: var(--blanco);
    }

.ventana__contenido {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.ventana__mensaje p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.ventana__botones {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.avisos {
    z-index: 2000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    min-width: 300px;
    height: auto;
    border-radius: 10px;
    border-bottom: 4px solid var(--guinda-170);
    background-color: var(--blanco);
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
}

.avisos__titulo {
    width: 100%;
    height: auto;
    padding: 1rem;
    background-color: var(--guinda-170);
    border-radius: 10px 10px 0 0;
}

    .avisos__titulo p {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        color: var(--blanco);
    }

.avisos__cerrar {
    position: absolute;
    top: 4px;
    right: calc(0% + 12px);
    background-color: var(--blanco);
    border-radius: 100%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    align-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

    .avisos__cerrar:hover {
        transform: scale(1.1);
    }

.avisos__contenido {
    width: 100%;
    height: auto;
    display: flex; 
    overflow: hidden; 
    width: 100%; 
    transition: transform 0.3s ease-in-out; 
    padding: 3rem;
}

.avisos__notificacion {
    display: none;
}

.avisos__notificacion p {
    font-size: 16px;
    font-weight: 500;
}


.avisos__notificacion.activo {
    display: block;
}

.avisos__controles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.avisos__boton {
    background-color: var(--guinda-170);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    text-align: center;
    align-content: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

    .avisos__boton:hover {
        transform: scale(1.1);
        box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    }

    .avisos__boton:active {
        transform: scale(0.95);
    }

    .avisos__boton:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: scale(1);
    }

.avisos__indicadores {
    display: flex;
    gap: 10px;
}

.avisos__indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s;
}

    .avisos__indicador.activo {
        background-color: var(--guinda-170);
        width: 30px;
        border-radius: 6px;
    }

.registro {
    z-index: 2000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    min-width: 300px;
    height: auto;
    border-radius: 10px;
    border-bottom: 4px solid var(--guinda-170);
    background-color: var(--blanco);
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
}

.registro__titulo {
    width: 100%;
    height: auto;
    padding: 1rem;
    background-color: var(--guinda-170);
    border-radius: 10px 10px 0 0;
    position: relative;
}

    .registro__titulo p {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        color: var(--blanco);
        margin: 0;
    }

.registro__cerrar {
    position: absolute;
    top: 4px;
    right: 12px;
    background-color: var(--blanco);
    border-radius: 100%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

    .registro__cerrar:hover {
        transform: scale(1.1);
    }

.registro__contenido {
    width: 100%;
    height: auto;
    padding: 2rem;
}

.registro__cards {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.registro__card {
    flex: 1;
    max-width: 400px;
    min-width: 260px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 20px;
    border-radius: 15px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.registro__imgen-tipo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.registro__tipo {
    width: 100%;
    height: auto;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.registro__descripcion {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
}

.registro__beneficios {
    width: 100%;
    margin-bottom: 20px;
    flex-grow: 1;
}

    .registro__beneficios ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .registro__beneficios li {
        width: 100%;
        height: auto;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
    }

        .registro__beneficios li img {
            width: 16px;
            height: 16px;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .registro__beneficios li p {
            font-size: 13px;
            color: #4a5568;
            margin: 0;
            line-height: 1.4;
        }

.registro__boton {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--blanco);
    border: 2px solid var(--guinda-170);
    color: var(--guinda-170);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

    .registro__boton:hover {
        background-color: var(--guinda-170);
        color: var(--blanco);
        text-decoration: none;
    }


/* Responsive */
@media (max-width: 650px) {
    .registro {
        width: 95%;
        max-width: 100%;

    }

    .registro__contenido {
        padding: 20px;
        max-height: 600px;
        overflow-y: scroll;
    }

    .registro__cards {
        flex-direction: column;
        gap: 10px;
    }

    .registro__card {
        min-width: 100%;
        max-width: 100%;
    }
}

.pleca {
    width: 100%;
    height: auto;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contenedor {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-evenly;
    gap: 50px;
}

.logo {
    width: 40%;
    max-width: 700px;
    min-width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .logo p {
        margin-bottom: 1.5rem;
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        color: #a57f2c;
    }

    .logo img {
        width: 100%;
        min-width: 300px;
    }

.login {
    width: 60%;
    min-width: 300px;
    max-width: 450px;
    height: auto;
    padding: 20px;
    border-radius: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
    background-color: var(--blanco);
    border-bottom: 4px solid var(--guinda-170);
}

form {
    width: 100%;
    height: auto;
}

.login__titulo {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.login__alerta {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--guinda-150);
    background-color: #fae5e5;
}

    .login__alerta p {
        font-size: 14px;
        font-weight: 400;
        text-align: center;
    }

.input {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    background-color: none !important;
    box-shadow: none !important;
}

.input--recuperar {
    width: 100%;
}

.input input {
    width: 100%;
    height: 45px;
    padding: 12px 12px;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #ccc !important;
    border-radius: 6px;
    outline: none;
    background: none !important;
    background-color: #ffff !important;
    box-shadow: none !important;
}

    .input input:focus {
        background: none !important;
        outline: none;
    }

.input label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

/* Cuando el input tiene foco o contenido */
.input input:focus ~ label,
.input input:not(:placeholder-shown) ~ label {
    top: 0px;
    left: 10px;
    font-size: 12px;
    color: #9b2247;
    background: white;
    padding: 0 4px;
}

.login__recuperar {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: end;
    margin-bottom: 20px;
}

    .login__recuperar button {
        all: unset;
        font-size: 16px;
        font-weight: 500;
        text-decoration: underline;
        color: blue;
        cursor: pointer;
    }

        .login__recuperar button:hover {
            color: dodgerblue;
        }

.login__boton {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

    .login__boton button {
        width: 200px;
        text-align: center;
    }

        .login__boton button:hover {
            background-color: var(--guinda-150);
        }

.divider {
    text-align: center;
    margin: 10px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #e2e8f0;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        position: relative;
        color: #718096;
        font-size: 14px;
    }

.login__registro {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    text-align: center;
}

    .login__registro p {
        color: #4a5568;
        font-size: 14px;
        margin-bottom: 15px;
    }


    .login__registro button {
        width: 200px;
    }

.login__derechos {
    width: 100%;
    height: auto
}

    .login__derechos p {
        font-size: 12px;
        font-weight: 300;
        text-align: center;
        color: #9999;
    }

.loader {
    width: auto;
    font-size: 28px;
    font-family: system-ui,sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #0000;
    -webkit-text-stroke: 1px #3a0a1e;
    background: conic-gradient(#3a0a1e 0 0) 0/0% 100% no-repeat text;
    animation: l1 2s linear infinite;

}

    .loader:before {
        content: "En mantenimiento";
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin: 0 auto;
    }

@keyframes l1 {
    to {
        background-size: 120% 100%
    }
}