:root {
    --primary: #007bff;
    --card-bg: #ffffff;
    --muted: #6b7280;
    --surface: #f8fafc;
    --radius: 12px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}



.calculator-container {
    max-width: 1100px;
    margin: 0 auto;
}

.calculator-container header {
    margin-bottom: 18px;
}

.calculator-container .title-calculator {
    font-size: 26px;
    line-height: 35px;
    color: #000;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.calculator-container .card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    padding: 18px;
    margin-bottom: 18px;
}

.calculator-container .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.calculator-container label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.calculator-container input[type="number"], .calculator-container select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e6eef8;
    background: #fbfdff;
    font-size: 14px;
    box-sizing: border-box;
}

.calculator-container .controls-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.calculator-container .checkbox-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111827;
}

.calculator-container .small {
    font-size: 13px;
    color: var(--muted);
}

.calculator-container .actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.calculator-container button.btn {
    background: #d60027;
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    min-height: 40px;
    border-radius: 8px;
    line-height: 1;
}

.calculator-container button.ghost {
    background: transparent;
    border: 1px solid #d60027;
    color: #000;
    padding: 6px 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    min-height: 40px;
    border-radius: 8px;
    line-height: 1;
}

/* table */
.calculator-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: 14px;
}

.calculator-container th, .calculator-container td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #eef3f8;
}

.calculator-container thead th {
    background: #fbfdff;
    color: #0b1220;
    font-weight: 700;
}

.calculator-container tfoot th {
    text-align: right;
    padding: 12px;
}

.wrap .muted {
    color: var(--muted);
    font-size: 13px;
}

.calculator-container .totals {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.calculator-container .total-card {
    background: #f8fbff;
    padding: 12px 14px;
    border-radius: 10px;
    min-width: 220px;
    box-shadow: inset 0 0 0 1px rgba(3, 102, 214, 0.03);
}

.calculator-container .price {
    font-weight: 700;
    color: #0b1220;
    font-size: 16px;
}

.calculator-container .note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

@media (max-width: 880px) {
    .calculator-container .grid {
        grid-template-columns:1fr;
    }

    .calculator-container header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .calculator-container .totals {
        justify-content: stretch;
    }
}

.bcc-container {
    max-width: 1100px;
    margin: 20px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #222
}

.bcc-header h2 {
    margin: 0 0 12px;
    font-size: 20px
}

.bcc-form {
    background: #fff;
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 6px
}

.bcc-row {
    margin-bottom: 12px
}

.bcc-row label {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.bcc-row input[type="number"], .bcc-row select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #b7b7b7;
    font-size: 14px;
    box-sizing: border-box;
    line-height: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

.grid-3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px
}

.bcc-checks label {
    margin-right: 12px
}

.bcc-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px
}

.button {
    background: #0073aa;
    border: none;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer
}

.button.ghost {
    background: transparent;
    color: #0073aa;
    border: 1px solid #0073aa
}

.bcc-result {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 6px
}

.bcc-visual {
    display: flex;
    gap: 20px;
    align-items: center
}

.bcc-illustration {
    flex: 0 0 240px
}

.bcc-summary {
    flex: 1;
    font-size: 16px;
}

.bcc-prices div {
    margin-top: 6px;
    font-weight: 700
}

.bcc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
}
.bcc-table th, .bcc-table td {
    border: 1px solid #e6e6e6;
    padding: 8px;
    text-align: left
}

.bcc-small {
    font-size: 12px;
    color: #666;
    margin-top: 6px
}

.bcc-note {
    font-size: 13px;
    color: #555;
    margin-top: 6px
}

@media (max-width: 800px) {
    .grid-3 {
        grid-template-columns:1fr
    }

    .grid-2 {
        grid-template-columns:1fr
    }

    .bcc-visual {
        flex-direction: column
    }
}


.bcc-result {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
    line-height: 1.6;
    font-size: 16px;
}
.bcc-result strong{
    font-weight: bold;
}
.bcc-result h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.bcc-result ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.bcc-result li {
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
}

.bcc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
    background: #fff;
}

.bcc-table th,
.bcc-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-align: center;
}

.bcc-table th {
    background: #f3f4f6;
    font-weight: 600;
}

.bcc-price-box th,
.bcc-price-box td,
.bcc-table td:nth-child(2) {
    text-align: left;
}

.bcc-table tr.highlight td:nth-child(2),
.bcc-table tr.highlight td:nth-child(5) {
    color: #c00;
    font-weight: 600;
}

.bcc-table .total-row td {
    font-weight: 600;
    background: #fafafa;
}

.bcc-price-box {
    margin-top: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #ddd;
}
.bcc-price-box p {
    margin: 5px 0;
}
