/* ── Duty Calculator ─────────────────────────────────────────────────────── */

.dc-panel {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    padding: 1.5rem;
}

.dc-panel__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    padding-bottom: .625rem;
    border-bottom: 2px solid #e8f0fe;
}

.dc-subheading {
    font-size: .95rem;
    font-weight: 600;
    color: #444;
    margin-bottom: .75rem;
}

/* Commodity path */
.dc-commodity-path {
    font-size: .95rem;
}

.dc-path-text {
    font-size: .8rem;
    line-height: 1.4;
}

.dc-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    margin-right: .35rem;
}

/* Tax group */
.dc-tax-group {
    border: 1px solid #e9ecef;
    border-radius: .375rem;
    overflow: hidden;
}

.dc-tax-group__header {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f8f9fa;
    padding: .5rem .75rem;
    border-bottom: 1px solid #e9ecef;
}

.dc-tax-type-badge {
    font-size: .75rem;
    font-weight: 700;
    background: #1a1a2e;
    color: #fff;
    padding: .15rem .45rem;
    border-radius: .25rem;
    letter-spacing: .04em;
}

.dc-tax-series {
    font-size: .85rem;
    color: #555;
}

.dc-tax-line {
    padding: .625rem .75rem;
}

.dc-tax-line--selected {
    background: #f0f7ff;
}

.dc-tax-line__measure {
    font-size: .875rem;
    font-weight: 600;
    color: #222;
    margin-bottom: .2rem;
}

.dc-addcode {
    font-size: .8rem;
    font-family: var(--bs-font-monospace);
    background: #e8f0fe;
    color: #1a1a2e;
    padding: .1rem .35rem;
    border-radius: .2rem;
    display: inline-block;
    margin-bottom: .2rem;
}

.dc-addcode-desc {
    font-size: .8rem;
    color: #555;
    margin-left: .35rem;
}

.dc-calc-line {
    font-size: .8rem;
    font-family: var(--bs-font-monospace);
    margin-top: .15rem;
}

.dc-payable {
    margin-top: .4rem;
    font-size: .9rem;
}

.dc-selection-required {
    padding: .5rem .75rem;
    font-size: .85rem;
    color: #856404;
    background: #fff3cd;
}

.dc-options-table th,
.dc-options-table td {
    font-size: .82rem;
    vertical-align: middle;
}

/* Total */
.dc-total {
    background: #1a1a2e;
    color: #fff;
    border-radius: .375rem;
    padding: 1rem 1.25rem;
}

.dc-total__label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .8;
}

.dc-total__value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: .15rem;
}

.dc-total__note {
    opacity: .85;
}

/* Placeholder */
.dc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    text-align: center;
    color: #adb5bd;
    border: 2px dashed #dee2e6;
    border-radius: .5rem;
    padding: 2rem;
}

.dc-placeholder__icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: .4;
}

/* Country picker */
.dc-country-item:hover,
.dc-country-item:focus {
    background: #e8f0fe;
    outline: none;
}

/* ─── Inline-style replacements ───────────────────────────────────────────── */

.dc-inline-label {
    min-width: 14rem;
}

.dc-inline-input {
    max-width: 10rem;
}

.dc-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

