/* ===== IMPORTACIONES ===== */
@import url('/css/variables.css');
@import url('/css/elementos.css');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

    /* Make sure textareas without a rows attribute are not tiny */
    textarea:not([rows]) {
        min-height: 10em;
    }

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}


/*#region LOGIN*/

.logout, .login {
    overflow: hidden;
    background-color: hsl(0 0% 25%) !important;
    display: flex !important;
}

    .logout .logout-contenedor {
        align-self: center;
        place-self: center;
        margin: auto;
        padding: 30px 30px 40px 35px;
        z-index: 5000;
        display: block;
        transform: scale(2);
        border-radius: 8px;
        background-color: #ffffff1b;
        border-top: 2px solid #0000003f;
        /*border-block-end: 2px solid #0000003f;*/
    }

    .login div:first-child {
        align-self: center;
        place-self: center;
        margin: auto;
        padding: 30px 30px 40px 30px;
        z-index: 5000;
        display: block;
        border-radius: 8px;
        background-color: #ffffff1b;
        border-top: 2px solid #0000003f;
        /*border-block-end: 2px solid #0000003f;*/
    }

    /*    .logout div h1, .logout div p{
        color: white !important;
    }*/

    .login div form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .login div form input {
            width: -webkit-fill-available;
            width: 100%;
            box-sizing: border-box; /* evita que se pase del ancho */
            background: var(--white);
            color: black;
        }

        .login div form button {
            width: -webkit-fill-available;
            margin-top: 10px;
            width: 100%;
            box-sizing: border-box; /* evita que se pase del ancho */
        }

        .login div form h1 {
            text-align: center;
            color: var(--white);
        }

        .login div form img {
            width: 200px;
            margin: auto;
        }

        .login div form label {
            color: var(--white);
        }
/*#endregion */

/*#region CLIENTES*/





/*MODAL DE AGREGAR PUNTOS*/

/* Contenedor del carrusel */
.modal-agregar-puntos form {
    position: relative;
    overflow: hidden;
}

    /* Ocultar todos los pasos por defecto */
    .modal-agregar-puntos form > div {
        display: none;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

        /* Mostrar el paso activo */
        .modal-agregar-puntos form > div.active {
            display: block;
            opacity: 1;
            transform: translateX(0);
        }

        /* Animación para el paso que sale (opcional) */
        .modal-agregar-puntos form > div.exit-left {
            transform: translateX(-100%);
            opacity: 0;
        }

    /* Siempre mostrar el mensaje de error y la última botonera */
    .modal-agregar-puntos form #errorAgregarViaje,
    .modal-agregar-puntos form > .modal-botonera:last-of-type {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }

/*#endregion */
