/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Fondo blanco */
    color: #cc0000; /* Letras en #cc0000 */
}

.header {
    margin-top:2em;
    text-align: center;
    background-color: #ffffff; /* Fondo blanco */
}

.header img {
    width: 100px; /* Tamaño del logo */
    height: auto;
}

.container {
    max-width: 600px;
    margin:  auto;
    padding: 20px;
    background: #ffffff; /* Fondo blanco */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #cc0000; /* Letras en #cc0000 */
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
    color: #444 !important; /* Letras en #444 */
}

input, select, button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    color: #cc0000; /* Letras en #cc0000 */
}

button {
    background-color: #cc0000; /* Rojo por defecto */
    color: #ffffff; /* Letras en blanco */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transición suave */
}

button:hover {
    background-color: #17bed2; /* Celeste al hacer hover */
}

#resultados {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #cc0000; /* Letras en #cc0000 */
}

/* Estilos del Modal */
.modal {
    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 */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-content img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: 10px;
}

.modal-content a {
    color: #17bed2;
    text-decoration: none;
    font-weight: bold;
}

.modal-content a:hover {
    text-decoration: underline;
}
/*ESTILOS PARA LA RESPUESTA, PARA LOS RESULTADOS*/
.tabla-responsive {
    overflow-x: auto;
    margin-top: 1em;
}

.tabla-responsive table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.tabla-responsive th,
.tabla-responsive td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
    text-align: left;
}

.tabla-responsive th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.patrocinio-titulo{
    display:inline;
    max-width:50%;
}
.patrocinio-logo{
    vertical-align:middle;
    display:inline;
    max-width:40%;
}

@media (max-width: 600px) {
    .tabla-responsive table {
        font-size: 12px;
        min-width: 90%;
    }

    .tabla-responsive th, .tabla-responsive td {
        padding: 8px;
    }
}
