
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}
header {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal {
    background: white;
    padding: 45px;
    border-radius: 25px;
    text-align: center;
}
.modal input {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 7px;
}
.tarjetas {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.tarjetas div {
    background: #e6f0ff;
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
    width: 200px;
    text-align: center;
}
textarea {
    width: 100%;
    height: 80px;
    margin-top: 10px;
}
button {
    padding: 10px 20px;
    background: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
}
button:hover {
    background: #0056b3;
}
footer {
    text-align: center;
    padding: 20px;
}
.error {
    color: red;
}
/* Ajuste para ventana modal de consulta */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    display: none; /* Por defecto oculto */
    z-index: 9999;
}

.modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cerrar {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #aaa;
}

.cerrar:hover {
    color: #000;
}

textarea {
    width: 100%;
    height: 120px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
