:root {
            --bg-body: #f5f7fb;
            --bg-card: #ffffff;
            --border: #e2e8f0;
            --text-main: #0f172a;
            --text-muted: #6b7280;
            --primary: #2563eb;
            --primary-light: #e0ecff;
            --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.08);
            --radius-xl: 18px;
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: radial-gradient(circle at top, #e0f2fe 0, var(--bg-body) 45%, #e5e7eb 100%);
            color: var(--text-main);
            display: flex;
            flex-direction: column;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 10;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid #e2e8f0;
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.9rem 0;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.9rem;
        }

        .brand-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: linear-gradient(135deg, #ef4444, #f97316);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }

        .brand-title {
            font-size: 1rem;
            font-weight: 700;
        }

        .brand-subtitle {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        main { flex: 1; }

        .page-section {
            padding: 2.5rem 0 3rem;
            max-width: 960px;
        }

        .page-heading {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .page-heading h2 {
            font-size: 2rem;
            margin: 0 0 0.7rem;
        }

        .page-heading p {
            margin: 0;
            font-size: 0.95rem;
            color: var(--text-muted);
            max-width: 620px;
            margin-inline: auto;
        }

        .cards-grid {
            display: grid;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            .cards-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .card-option {
            position: relative;
            padding: 1.5rem;
            border-radius: var(--radius-xl);
            border: 2px solid #e2e8f0;
            background: var(--bg-card);
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s, background 0.2s;
        }

        .card-option:hover,
        .card-option:focus-visible {
            box-shadow: var(--shadow-card);
            border-color: rgba(37, 99, 235, 0.4);
            transform: translateY(-2px);
            outline: none;
        }

        .card-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-title {
            font-size: 1rem;
            font-weight: 600;
        }

        .card-desc {
            margin-top: 0.4rem;
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        footer {
            border-top: 1px solid #e2e8f0;
            background: #ffffff;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        footer .container {
            text-align: center;
            padding: 0.9rem 1.5rem;
        }
                /* ===========================
   Guzik "Panel urzędnika"
   =========================== */

.btn-panel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px; /* ładna „pigułka” */
    border: 1px solid #d0d7e2;
    background-color: #ffffff;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition:
        background-color 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease,
        transform 120ms ease,
        border-color 150ms ease;
}

.btn-panel:hover {
    background-color: #f3f4ff;
    border-color: #b4bef5;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.btn-panel:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

.btn-panel:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Ikonka po lewej – okrągła, z gradientem jak w brand-icon */
.btn-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    color: #ffffff;
    flex-shrink: 0;
}

.btn-panel-icon svg {
    width: 1rem;
    height: 1rem;
}

/* Tekst przycisku */
.btn-panel-label {
    white-space: nowrap;
}

