:root {
    --cuffeco-bg: #f4f6f9;
    --cuffeco-panel: #ffffff;
    --cuffeco-border: #d6dbe3;
    --cuffeco-text: #1f2937;
    --cuffeco-muted: #64748b;
    --cuffeco-accent: #1f6fb2;
    --cuffeco-accent-dark: #1a4f7a;
    --cuffeco-warning: #d97706;
    --cuffeco-error: #b91c1c;
}

.cuffeco-pension-calculator {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--cuffeco-text);
    background: var(--cuffeco-bg);
    padding: 24px;
    border-radius: 16px;
}

.cuffeco-calculator {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(280px, 360px) minmax(320px, 1fr);
    gap: 20px;
}

.cuffeco-panel {
    background: var(--cuffeco-panel);
    border: 1px solid var(--cuffeco-border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.cuffeco-panel__header h2 {
    margin: 0;
    font-size: 18px;
}

.cuffeco-panel__header p {
    margin: 6px 0 16px;
    color: var(--cuffeco-muted);
    font-size: 13px;
}

.cuffeco-panel__note {
    margin: 6px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--cuffeco-muted);
    font-size: 12px;
    line-height: 1.4;
}

.cuffeco-form {
    display: grid;
    gap: 12px;
}

.cuffeco-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--cuffeco-muted);
}

.cuffeco-form input[type="number"] {
    border: 1px solid var(--cuffeco-border);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--cuffeco-text);
    background: #fff;
}

.cuffeco-form input[disabled] {
    background: #eef2f7;
    color: var(--cuffeco-muted);
}

.cuffeco-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--cuffeco-text);
}

.cuffeco-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.cuffeco-button {
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    background: var(--cuffeco-accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.cuffeco-button:hover {
    background: var(--cuffeco-accent-dark);
}

.cuffeco-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(185, 28, 28, 0.08);
    color: var(--cuffeco-error);
    display: none;
}

.cuffeco-error--active {
    display: block;
}

.cuffeco-results {
    display: grid;
    gap: 12px;
}

.cuffeco-results__heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--cuffeco-text);
    margin-top: 6px;
}

.cuffeco-results div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--cuffeco-muted);
}

.cuffeco-results strong {
    color: var(--cuffeco-text);
    font-weight: 700;
}

.cuffeco-chart {
    position: relative;
    height: 420px;
}

@media (max-width: 1100px) {
    .cuffeco-calculator {
        grid-template-columns: 1fr;
    }

    .cuffeco-chart {
        height: 360px;
    }
}
