/**
 * Frontend styles for mod_tbibank_calculator.
 *
 * @package mod_tbibank_calculator
 * @license GNU/GPL v2 or later
 */
.tbibank-calculator { margin: 12px 0; font-size: 14px; }
.tbibank-calc-badge { display: flex; align-items: center; gap: 10px; }
.tbibank-calc-btn { display: inline-block; padding: 8px 14px; background: #00285a; color: #fff !important;
    border-radius: 6px; cursor: pointer; border: none; font-size: 14px; line-height: 1.3; text-align: left; }
.tbibank-calc-btn:hover { background: #003c85; }
.tbibank-calc-btn strong { color: #ffcc00; }
.tbibank-calc-table-wrap { display: none; margin-top: 10px; border: 1px solid #d8dee6; border-radius: 6px; padding: 10px; background: #fff; }
.tbibank-calc-table-wrap.open { display: block; }
.tbibank-calc-table { width: 100%; border-collapse: collapse; }
.tbibank-calc-table th, .tbibank-calc-table td { padding: 6px 8px; border-bottom: 1px solid #eef1f5; text-align: right; white-space: nowrap; }
.tbibank-calc-table th:first-child, .tbibank-calc-table td:first-child { text-align: left; }
.tbibank-calc-table th { background: #f5f7fa; font-weight: 600; }
.tbibank-calc-iframe { width: 100%; min-height: 480px; border: 0; }
.tbibank-calc-disclaimer { margin-top: 8px; font-size: 12px; color: #667; }
.tbibank-calc-error { display: inline-block; margin: 12px 0; padding: 8px 12px; border: 1px solid #e0b400; background: #fff8e1; color: #7a5b00; border-radius: 6px; font-size: 13px; line-height: 1.4; }
