/* Calculadora Financiera Pro */
.cf-calculator {
    max-width: 520px;
    margin: 20px auto;
    background: #fafafa;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

.cf-calculator label {
    display: block;
    font-weight: 600;
    margin: 10px 0 6px;
    color: #333;
}

.cf-calculator input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.cf-radio-group {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
}

.cf-radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    margin-top: 0;
}

.cf-calculator button {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background .25s;
}

.cf-calculator button:hover {
    background: #005f8d;
}

.cf-calculator button:disabled {
    opacity: .65;
    cursor: wait;
}

.cf-results {
    margin-top: 18px;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cf-results:empty {
    display: none;
}

.cf-results h3 {
    margin: 0 0 10px;
    color: #0073aa;
    font-size: 1.05rem;
}

.cf-results ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cf-results li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}

.cf-results li:last-child {
    border-bottom: none;
}

.cf-error-message {
    color: #8a1f11;
    background: #fdecea;
    border-left: 4px solid #d93025;
    padding: 10px 12px;
    border-radius: 8px;
    margin: 0;
}
