@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Playwrite DE Grund", cursive;
}



body {
    font-family: Arial, sans-serif;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    background-color: #f0f2f5;
}

/* Contenedor del loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Contenedor de las bolitas */
.loader {
    display: flex;
    justify-content: space-between;
    width: 100px;
}

/* Estilos de las bolitas */
.dot {
    width: 20px;
    height: 20px;
    background-color: #f30d5e; /* Color de la bolita */
    border-radius: 50%;
    animation: wave 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

/* Animación de ola para las bolitas */
@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-15px);
    }
}

/* Texto de "Cargando..." */
.loading-text {
    margin-top: 10px;
    font-size: 15px;
    color: #f20d55;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
}

/* Animación de ola para el texto */
.loading-text span {
    display: inline-block;
    animation: wave-text 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes wave-text {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  width: 100px;
}

.nav-icons i {
    font-size: 24px;
    margin: 0 10px;
    cursor: pointer;
}

.menu-toggle {
    cursor: pointer;
}
.menu-toggle i {
    font-size: 24px;
}

/* Menú lateral */
.sidebar {
    position: fixed;
    left: -250px;
    top: 56px;
    width: 250px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    z-index: 1000;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

.sidebar-active {
    left: 0;
}


/* Ocultar el contenedor de búsqueda por defecto */
/* Search bar */
.search-bar {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.suggestions {
    margin-top: 5px;
}

.suggestions div {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-top: none;
    background-color: white;
}

.suggestions div:hover {
    background-color: #f0f0f0;
}


.auth-container {
    display: block;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
}



.auth-container {
    margin-top: 90px;
}

.auth-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #888;
}

.input-group input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-group .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

p a {
    color: #3498db;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
.toggle-password {
    margin-left: 200px;
}


#forgotPasswordButton {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    color: rgb(15, 116, 239);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

#forgotPasswordButton :hover {
    background-color: #d32f2f;
}

#logout-button {
    background-color: #ff4b5c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

#logout-button:hover {
    background-color: #ff6f7c;
}


/* Estilos para el mensaje de notificación */
/* Estilo para el mensaje de notificación debajo del botón */
.mensaje-notificacion {
    color: green; /* Cambia a rojo para mensajes de error */
    font-weight: bold;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f0f0f0;
    text-align: center;
}

/*estilos a la pagina de reset_password.html */
/* Formulario de restablecimiento de contraseña */

.resetForm {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #83a4d4, #b6fbff);
    margin: 0;
}

form {
    width: 100%;
    max-width: 360px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
label {
    font-size: 14px;
    color: #333;
    text-align: left;
    width: 100%;
    display: block;
}

#resetForm input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 5px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus {
    border-color: #007bff;
}


button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}


#mensajeNotificacionReset {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto; /* Empuja el footer hacia el final de la página */
}


.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.social-media {
    margin-bottom: 15px;
}

.social-media a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #1da1f2;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 14px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-media a {
        font-size: 20px;
        margin: 0 5px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
    }

    .footer-links a {
        margin-bottom: 10px;
    }
}

