body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    padding: 20px;
    margin: 0;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

form, .tabla-wrapper, .faq {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

select,
input[type="number"] {
    padding: 10px;
    width: 100%;
    font-size: 16px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button, .btn-download {
    margin-top: 20px;
    padding: 12px 15px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-download {
    background: #28a745;
    text-decoration: none;
    display: block;
}

button:hover,
.btn-download:hover {
    opacity: 0.9;
}

.tabla-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    min-width: 600px;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

th {
    background: #007bff;
    color: white;
}

tfoot td {
    font-weight: bold;
    background: #e9ecef;
}

.faq h2 {
    margin-top: 0;
}

.faq dt {
    font-weight: bold;
    margin-top: 15px;
}

.faq dd {
    margin-left: 0;
    margin-bottom: 10px;
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

/* Modo móvil */
@media (max-width: 600px) {
    select,
    input[type="number"],
    button,
    .btn-download {
        font-size: 18px;
        padding: 14px;
    }

    th, td {
        font-size: 14px;
    }

    table {
        min-width: unset;
    }
}
