/* Calculator Page Layout */
.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.calc-results {
    position: sticky;
    top: 76px; /* header height + gap */
}

/* Excise breakdown */
.excise-breakdown {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.excise-breakdown h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.excise-bar {
    display: flex;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}

.excise-bar > div {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 30px;
}

.excise-bar .bar-crude { background: #2563eb; }
.excise-bar .bar-excise { background: #dc2626; }
.excise-bar .bar-gst { background: #f59e0b; }
.excise-bar .bar-margin { background: #6b7280; }

.excise-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.excise-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.excise-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.excise-legend-value {
    margin-left: auto;
    font-weight: 600;
    color: var(--text);
}

/* Government take callout */
.govt-callout {
    background: var(--red-light);
    border-radius: 8px;
    padding: 14px;
    margin-top: 12px;
    text-align: center;
}

.govt-callout .govt-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.govt-callout .govt-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--red);
    margin: 4px 0;
}

.govt-callout .govt-detail {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .calc-layout {
        grid-template-columns: 1fr;
    }

    .calc-results {
        position: static;
    }
}
