/*
 * Estilos para las Calculadoras Interactivas Duales
 */

.dual-calculator-container {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.calc-box {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.calc-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #0073aa; /* Color de WordPress */
    text-align: center;
}

.calc-box input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Incluye padding y borde en el ancho total */
    font-size: 16px;
}

.calc-box button {
    width: 100%;
    padding: 10px;
    background-color: #28a745; /* Color verde para el botón */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.calc-box button:hover {
    background-color: #218838;
}

.result-display {
    margin-top: 20px;
    padding: 15px;
    background-color: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #333;
    min-height: 20px; /* Para que no se colapse sin resultado */
}

/* Media Query para asegurar responsividad */
@media screen and (max-width: 650px) {
    .dual-calculator-container {
        flex-direction: column;
    }
}