:root {
    --uop-color: #3b82f6;
    --b2b-color: #10b981;
}

/* Style zakładek skopiowane z /piwo/ i dostosowane */
.tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color-shared);
    margin-bottom: 2rem;
}
.tab-link {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s;
}
.tab-link.active {
    color: var(--brand-color);
}
.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-color);
}


.form-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.form-column {
    flex: 1;
    min-width: 250px;
    transition: opacity 0.3s, transform 0.3s;
}
.form-column.hidden {
    display: none;
}
.form-column h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color-shared);
    padding-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.8rem;
}
.checkbox-group label {
    margin-bottom: 0;
}

.results-section.hidden {
    display: none;
}
.results-section h2 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.results-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
}
.result-card {
    flex: 1;
    min-width: 280px;
    border: 1px solid var(--border-color-shared);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.result-card.hidden {
    display: none;
}
.result-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
}
.result-card.uop { border-top: 5px solid var(--uop-color); }
.result-card.uop h3 { color: var(--uop-color); }

.result-card.b2b { border-top: 5px solid var(--b2b-color); }
.result-card.b2b h3 { color: var(--b2b-color); }

.result-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.result-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}
.result-list li:last-child {
    border-bottom: none;
}
.result-list strong {
    font-size: 1rem;
}

.result-summary {
    /* Styl nie jest już potrzebny */
}

.net-salary {
    text-align: center;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 700;
}
.uop .net-salary { background-color: #eef5ff; }
.b2b .net-salary { background-color: #e7f7f2; }

.salary-value {
    display: block;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 900;
}
.uop .salary-value { color: var(--uop-color); }
.b2b .salary-value { color: var(--b2b-color); }

.employer-cost {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.employer-cost span {
    font-weight: 700;
}

/* Style dla przycisku Resetuj, dopasowany do motywu UoP */
.reset-btn {
    background-color: #eef5ff;
    color: var(--uop-color);
    border-color: var(--uop-color);
}
.reset-btn:hover {
    background-color: #dbeafe;
    border-color: var(--uop-color);
}