﻿
@font-face {
    font-family: 'Avenir Book';
    src: url('/Tipografia/avenir-book.woff2') format('woff2'), url('/Tipografia/Avenir-Black.woff') format('woff'), url('/Tipografia/Avenir-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Avenir Book';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


* {
}


svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: block;
    background-color: #0e4166;
    background-image: linear-gradient(to bottom, rgba(14, 65, 102, 0.86), #0e4166);
}


body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 90vh;
    box-shadow: 15px 20px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0;
}

.container {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px #003B58;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 768px;
    min-height: 480px;
    box-shadow: 15px 20px 10px rgba(0, 0, 0, 0.5);
}

    .container p {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.3px;
        margin: 20px 0;
    }

    .container span {
        font-size: 12px;
    }

    .container a {
        color: #003B58;
        font-size: 13px;
        text-decoration: none;
        margin: 15px 0 10px;
    }

    .container button {
        background-color: #003B58;
        color: #fff;
        font-size: 12px;
        padding: 10px 45px;
        border: 1px solid transparent;
        border-radius: 8px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-top: 10px;
        cursor: pointer;
    }

        .container button.hidden {
            background-color: transparent;
            border-color: #fff;
        }

    .container form {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0 20px;
        height: 100%;
    }

    .container input {
        background-color: #eee;
        border: none;
        margin: 8px 0;
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 8px;
        width: 100%;
        outline: none;
        text-align: center;
    }

.input-grande {
    background-color: #eee;
    border: none;
    margin: 8px 0;
    padding: 10px 40px; /* mismo padding izquierdo y derecho */
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    outline: none;
    text-align: center;
    box-sizing: border-box;
}







.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in {
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.active .sign-in {
    transform: translateX(100%);
}

.sign-up {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.active .sign-up {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.social-icons {
    margin: 20px 0;
}

    .social-icons a {
        border: 1px solid #ccc;
        border-radius: 20%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 0 3px;
        width: 40px;
        height: 40px;
    }

.toggle-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    border-radius: 150px 0 0 100px;
    z-index: 1000;
}

.container.active .toggle-container {
    transform: translateX(-100%);
    border-radius: 0 150px 100px 0;
}

.toggle {
    position: relative;
    height: 100%;
    width: 100%;
    left: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
    /* Imagen de fondo ajustada al contenedor */
    background: url('/IMAGENES/manejando.jpg') no-repeat center center;
    background-size: 100% 100%;
    background-position: center;
}

    /* Capa de color RGB(14,65,102) con transparencia */
    .toggle::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(14, 65, 102, 0.6);
    }


.container.active .toggle {
    transform: translateX(50%);
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 50px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}


.slogan {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}

    .slogan p {
        letter-spacing: 3px;
    }

    .slogan img {
        width: 30px;
        height: auto;
    }


.toggle-right {
    right: 0;
    transform: translateX(0);
    color: azure;
    width: 100%;
    display: flex;
    gap: 10px;
}

.button-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100%) brightness(100%);
    margin-right: 10px;
}




.container.active .toggle-right {
    transform: translateX(200%);
}


.lista {
    margin-top: 2%;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    appearance: none; /* Elimina el estilo por defecto del navegador */
    background-color: #eee;
    text-align: left;
    color: #808080;
    font-size: 13.5px;
    overflow: hidden; /* Oculta el contenido que desborda */
    overflow-y: hidden; /* Oculta el scrollbar vertical */
}

    .lista:focus {
        outline: none; /* Elimina el contorno al enfocar */
    }

    .lista::-webkit-scrollbar {
        display: none; /* Oculta el scrollbar en navegadores WebKit */
    }


/* Para pantallas de hasta 768px (tabletas y dispositivos móviles en horizontal) */
@media screen and (max-width: 768px) {
    /* Reducción del tamaño de la imagen del logo */
    .Logo img {
        width: 200px;
        height: auto;
    }

    /* Reducción del tamaño del texto en los formularios */
    .container form span,
    .container form input,
    .container form button,
    .container form h1 {
        font-size: 12px !important;
    }
}

/* Para pantallas de hasta 480px (dispositivos móviles en vertical) */
@media screen and (max-width: 480px) {
    /* Reducción adicional del tamaño de la imagen del logo */
    .Logo img {
        width: 150px;
    }

    /* Reducción adicional del tamaño del texto en los formularios */
    .container form span,
    .container form input,
    .container form button,
    .container form h1 {
        font-size: 10px !important;
    }
}





/* Estilos del Modal */
.modal {
    display: none; /* Se oculta por defecto */
    position: fixed; /* Posición fija para que se mantenga sobre todo */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegurarse de que el modal se ponga por encima de todos los elementos */
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px; /* Ancho del modal */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave para dar un toque de profundidad */
}

#tokenInput {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

#submitToken, #closeModal {
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Nuevo color para el botón Enviar */
#submitToken {
    background-color: #002c42; /* Color personalizado */
    color: white;
    transition: background 0.3s ease;
}

    /* Color del botón al pasar el mouse */
    #submitToken:hover {
        background-color: #004d6a; /* Un tono más claro al pasar el mouse */
    }

#closeModal {
    background-color: red;
    color: white;
}

    /* Efecto al pasar el mouse sobre el botón de cerrar */
    #closeModal:hover {
        opacity: 0.8;
    }
