/* BiLLU Theme – style dla modułu Kadry i Płace (sekcje HR).
   Pliki:
   - template-parts/section-features-hr.php
   - template-parts/section-screens-hr.php
*/

/* ── Sekcja na /funkcje ─────────────────────────────────── */
.section-features-hr {
    padding-top: 0;
    padding-bottom: 96px;
}
.features-detailed-grid--single {
    grid-template-columns: 1fr;
    margin-bottom: 0;
}
.feature-card-detailed--wide {
    padding: 36px;
    background: linear-gradient(135deg, rgba(0,143,143,.04), rgba(136,45,97,.04));
    border: 1px solid rgba(0,143,143,.2);
}
.feature-card-detailed--wide h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}
.feature-detail-list--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.feature-card-note {
    margin-top: 16px;
    font-size: .82rem;
    color: var(--text-muted);
    font-style: italic;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

/* ── Sekcja na /ekrany ───────────────────────────────────── */
.section-screens-hr {
    background: var(--bg-secondary);
    padding-top: 0;
}
.screens-grid--two {
    grid-template-columns: 1fr 1fr;
}

/* Payroll table */
.mini-payroll {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.mini-payroll th {
    text-align: left;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    padding: 6px 4px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}
.mini-payroll th:nth-child(n+2) { text-align: right; }
.mini-payroll td {
    padding: 7px 4px;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-main);
    font-size: .8rem;
}
.mini-payroll td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.mini-payroll td strong { color: var(--brand-teal); font-weight: 700; }
.mini-payroll-total td {
    border-bottom: none;
    border-top: 2px solid var(--brand-navy);
    padding-top: 10px;
    font-weight: 700;
    color: var(--text-heading);
}
.mini-payroll-total td strong {
    color: var(--brand-bordo);
    font-size: .88rem;
}
.mini-payroll-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}
.mini-payroll-foot em {
    font-style: normal;
    font-size: .72rem;
    color: var(--text-muted);
    margin-left: auto;
}
.mini-payroll-foot .mini-badge {
    position: static;
}

/* Responsive */
@media (max-width: 1024px) {
    .screens-grid--two { grid-template-columns: 1fr; }
    .feature-detail-list--two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .feature-card-detailed--wide { padding: 24px; }
    .feature-card-detailed--wide h3 { font-size: 1.15rem; }
}
