/**
 * Henderson Simulator v2 - Unified Styles
 * Consistent A/B split layout for all modules
 */

/* ========== UNIFIED CONTAINER ========== */

.simulator-v2-unified {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    margin-top: 32px;
}

/* ========== GLOBAL HEADER ========== */

.sim-v2-global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-v2-title-row h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
}

.sim-v2-title-row p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.sim-v2-global-controls {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.global-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.global-control label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.sim-input-lg {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    text-align: right;
    width: 180px;
}

.sim-input-lg:focus {
    outline: none;
    border-color: #14b8a6;
    background: rgba(255, 255, 255, 0.18);
}

.sim-select {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    color: white;
    min-width: 140px;
    cursor: pointer;
}

.sim-select:focus {
    outline: none;
    border-color: #14b8a6;
}

/* ========== MAIN TABS ========== */

.sim-v2-main-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow-x: auto;
}

.sim-main-tab {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sim-main-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.sim-main-tab.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
}

/* ========== CONTENT AREA ========== */

.sim-v2-content {
    padding: 8px 0;
}

/* ========== A/B SPLIT CONTAINER ========== */

.ab-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .ab-split-container {
        grid-template-columns: 1fr;
    }
}

/* ========== SCENARIO PANEL ========== */

.scenario-panel {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.scenario-panel.scenario-a {
    border-top: 3px solid #14b8a6;
}

.scenario-panel.scenario-b {
    border-top: 3px solid #f59e0b;
}

.scenario-header-badge {
    margin-bottom: 16px;
}

.scenario-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

/* ========== MODE TOGGLE ========== */

.mode-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    padding: 3px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.mode-btn {
    flex: 1;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mode-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.mode-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
}

/* ========== INPUT GRIDS ========== */

.inputs-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-field.full-width {
    grid-column: 1 / -1;
}

.input-field label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.sim-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.9375rem;
    color: white;
    text-align: right;
}

.sim-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.sim-input-sm {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.8125rem;
    color: white;
    text-align: right;
    width: 80px;
}

.sim-select-sm {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.8125rem;
    color: white;
    cursor: pointer;
}

.field-preview {
    font-size: 0.75rem;
    color: #6ee7b7;
    font-weight: 500;
    margin-top: 2px;
}

.inputs-grid-2col.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ========== INPUT GRID (new) ========== */

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.input-grid .input-field input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.9375rem;
    color: white;
    text-align: right;
    width: 100%;
}

.input-grid .input-field input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

/* ========== INPUT LIST (Unit Economics style) ========== */

.input-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.input-list.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.input-row > span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.input-suffix {
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-suffix input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.875rem;
    color: white;
    text-align: right;
    width: 80px;
}

.input-suffix input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.input-suffix > span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    min-width: 28px;
}

/* ========== SECTION TITLE ========== */

.section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title:first-child {
    margin-top: 0;
}

/* ========== TOGGLE LABEL ========== */

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #14b8a6;
}

/* ========== SUMMARY BOX ========== */

.summary-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 16px;
}

.summary-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.summary-row > span:first-child {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.summary-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
}

.summary-row.highlight {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row.highlight .summary-value {
    font-size: 1.125rem;
    color: #6ee7b7;
}

/* ========== INPUT SECTION (hidden toggle) ========== */

.input-section {
    transition: opacity 0.2s ease;
}

.input-section.hidden {
    display: none;
}

/* ========== MINI CHART ========== */

.mini-chart {
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
}

.mini-chart svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ========== RESULTS GRID ========== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
}

.results-grid.secondary {
    margin-top: 8px;
    grid-template-columns: repeat(2, 1fr);
}

.result-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px 8px;
}

.result-item.small {
    padding: 8px;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.result-item.small .result-value {
    font-size: 1rem;
}

.result-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== CHART SECTION ========== */

.chart-section {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.chart-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
    text-align: center;
}

.sim-chart {
    width: 100%;
    height: 180px;
}

.sim-chart .chart-label {
    font-size: 10px;
    fill: rgba(255, 255, 255, 0.5);
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ========== KPI GRID (Overview) ========== */

.kpi-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.kpi-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.kpi-item-lg {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.kpi-item-lg.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kpi-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.kpi-item-lg .kpi-value {
    font-size: 1.5rem;
}

.kpi-value.positive {
    color: #6ee7b7;
}

.kpi-value.negative {
    color: #f87171;
}

.kpi-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ========== SECTION BLOCKS ========== */

.section-block {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-block h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
}

/* ========== COSTS COMPACT ========== */

.costs-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.cost-name {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
}

.cost-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
}

/* ========== COSTS TABLE COMPACT ========== */

.costs-table-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cost-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.cost-line .cost-name {
    flex: 1;
}

/* ========== SUMMARY BLOCK ========== */

.summary-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.summary-row.highlight {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.summary-row span:first-child {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.summary-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
}

.summary-value.negative {
    color: #f87171;
}

/* ========== TAX HEADER ========== */

.tax-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tax-header h4 {
    margin: 0;
}

/* ========== TOGGLE SWITCH SMALL ========== */

.toggle-switch-sm {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.toggle-switch-sm input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider-sm {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 20px;
}

.toggle-slider-sm:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch-sm input:checked + .toggle-slider-sm {
    background-color: #14b8a6;
}

.toggle-switch-sm input:checked + .toggle-slider-sm:before {
    transform: translateX(16px);
}

/* ========== GLOBAL COMPARISON ========== */

/* ========== GLOBAL COMPARISON - STICKY ========== */

.global-comparison-wrapper {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin-top: 16px;
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: -24px;
    padding: 0 24px 16px;
    background: linear-gradient(to top, rgba(0, 77, 77, 1) 70%, rgba(0, 77, 77, 0));
}

.global-comparison {
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
}

.comparison-winner {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.comparison-scenario {
    text-align: center;
}

.comparison-scenario.scenario-a .scenario-result {
    color: #14b8a6;
}

.comparison-scenario.scenario-b .scenario-result {
    color: #f59e0b;
}

.scenario-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.scenario-result {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-brand, 'Manrope', sans-serif);
    line-height: 1.2;
}

.scenario-growth {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1px;
}

.scenario-growth.positive {
    color: #6ee7b7;
}

.scenario-growth.negative {
    color: #f87171;
}

.comparison-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
}

.vs-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}

.vs-diff {
    font-size: 0.8125rem;
    font-weight: 700;
}

.vs-diff.positive {
    color: #f59e0b;
}

.vs-diff.negative {
    color: #14b8a6;
}

.comparison-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1px;
}

.detail-values {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.detail-a {
    color: #14b8a6;
}

.detail-b {
    color: #f59e0b;
}

.global-comparison.winner-a {
    border-color: rgba(20, 184, 166, 0.5);
}

.global-comparison.winner-b {
    border-color: rgba(245, 158, 11, 0.5);
}

.global-comparison.tie {
    border-color: rgba(255, 255, 255, 0.2);
}

.comparison-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .comparison-vs {
        flex-direction: row;
        padding: 8px 0;
    }

    .comparison-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 640px) {
    .sim-v2-global-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sim-v2-global-controls {
        width: 100%;
        flex-direction: column;
    }

    .global-control {
        width: 100%;
    }

    .sim-input-lg,
    .sim-select {
        width: 100%;
    }

    .sim-v2-main-tabs {
        flex-wrap: nowrap;
    }

    .sim-main-tab {
        min-width: 90px;
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .inputs-grid-2col {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpi-grid-compact {
        grid-template-columns: 1fr;
    }
}

/* ========== COST LINES (Charges avec mode fixe/% /fixe+%) ========== */

.cost-lines-container,
.varcost-lines-container,
.customtax-lines-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.cost-line-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
}

.cost-line-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cost-line-name-label {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.cost-line-name {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.875rem;
    color: white;
}

.cost-line-name:focus {
    outline: none;
    border-color: #14b8a6;
}

.cost-mode-select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
    color: white;
    cursor: pointer;
    min-width: 90px;
}

.cost-mode-select:focus {
    outline: none;
    border-color: #14b8a6;
}

.cost-delete-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 6px;
    color: #ef4444;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.cost-delete-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

.cost-line-inputs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cost-input-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cost-input-group.hidden {
    display: none;
}

.cost-input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.875rem;
    color: white;
    text-align: right;
    width: 90px;
}

.cost-input-group input:focus {
    outline: none;
    border-color: #14b8a6;
    background: rgba(255, 255, 255, 0.15);
}

.cost-input-group span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    min-width: 50px;
}

.toggle-label.small {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0;
}

.toggle-label.small input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.cost-line-inputs.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.add-cost-btn {
    background: rgba(20, 184, 166, 0.15);
    border: 1px dashed rgba(20, 184, 166, 0.5);
    border-radius: 8px;
    color: #14b8a6;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
    width: 100%;
}

.add-cost-btn:hover {
    background: rgba(20, 184, 166, 0.25);
    border-color: #14b8a6;
}

/* ========== VAT CREDIT SECTION ========== */

.vat-credit-section {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    margin-top: -8px;
}

.vat-credit-section.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.subsection-title {
    margin-bottom: 12px;
}

.subsection-title .toggle-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.vat-credit-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vat-credit-inputs.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.input-row.compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.input-row.compact span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}
