* {
    margin: 0;
    padding: 0;
}

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

.navBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    padding-left: 20px;
    padding-right: 80px;
    border-bottom: 8px solid #172746;
}

.logoNav {
    max-height: 60px;
} 


main {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80vh;
        background-color: #dddddd;
}
/* Estilo del formulario */
.form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /* Para que el padding no rompa el ancho */
}

button {
    width: 100%;
    padding: 0.7rem;
    background-color: #172746;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #d4b964;
}

/* --- ESTILOS DE LA VENTANA FLOTANTE (MODAL) --- */
.modal-overlay {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    background-color: #dc3545;
    margin-top: 1rem;
}

.close-btn:hover {
    background-color: #a71d2a;
}