/* CSS Variables & Reset */
:root {
    /* Dark Theme (Default) */
    --bg-main: #070712;
    --bg-sec: #0d0d1a;
    --card-bg: #111122;
    --border: rgba(190, 150, 255, 0.18);
    --text-main: #f5f2ff;
    --text-muted: #b8b2cf;
    --accent: #b98cff;
    --accent-hover: #c7a4ff;
    --accent-sec: #8b5cf6;
    --status-green: #38e8a1;
    --status-amber: #ffcc66;
    --status-red: #ff5f7a;
    
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    
    --radius: 18px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

[data-theme="light"] {
    --bg-main: #fbf9ff;
    --bg-sec: #ffffff;
    --card-bg: #ffffff;
    --border: rgba(90, 60, 150, 0.14);
    --text-main: #171225;
    --text-muted: #625b75;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-sec: #a855f7;
    --status-green: #0fa678;
    --status-amber: #b7791f;
    --status-red: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 500;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 400; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 3rem; }
.w-full { width: 100%; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--accent);
    color: #070712;
}
[data-theme="light"] .btn-primary { color: #ffffff; }
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(185, 140, 255, 0.3);
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(7, 7, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition);
}
[data-theme="light"] .header {
    background-color: rgba(251, 249, 255, 0.9);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo-img {
    max-width: 170px;
    height: auto;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-menu a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-menu a:hover {
    color: var(--text-main);
}
.nav-menu .btn {
    color: #070712;
}
[data-theme="light"] .nav-menu .btn { color: #fff; }

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    transition: all var(--transition);
}
.theme-toggle:hover {
    color: var(--text-main);
    border-color: var(--accent);
}
.icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: block; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 80px 0;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.hero-desc-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.hero-sub-action a {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.hero-sub-action a:hover { color: var(--accent); }

.capsules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}
.capsule {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* Hero Visual */
.diag-panel {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}
[data-theme="light"] .diag-panel { box-shadow: 0 10px 30px rgba(90,60,150,0.05); }
.diag-header {
    background-color: rgba(0,0,0,0.2);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.diag-dots span {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    margin-left: 5px;
}
.diag-body { padding: 20px; }
.diag-status-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: rgba(255, 204, 102, 0.05);
}
.status-indicator {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.pulse-amber {
    background-color: var(--status-amber);
    box-shadow: 0 0 0 0 rgba(255, 204, 102, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 204, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 204, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 204, 102, 0); }
}
.status-title { font-weight: 500; color: var(--status-amber); }
.status-sub { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }

.diag-terminal {
    background-color: #05050a;
    border-radius: var(--radius-sm);
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #8b949e;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
[data-theme="light"] .diag-terminal { background-color: #f0f0f5; color: #57606a; }
.diag-terminal p { margin-bottom: 4px; }
.term-active { color: var(--accent); }
.scan-line {
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    opacity: 0.5;
    animation: scan 3s linear infinite;
}
@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.diag-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.d-card {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 8px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    transition: all 0.2s;
}
.d-card:hover { border-color: var(--accent); color: var(--accent); }
.diag-chart { height: 30px; opacity: 0.5; }

/* Alert Bar */
.alert-bar {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}
.alert-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.alert-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.alert-statuses {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.a-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 8px;
    background-color: rgba(190, 150, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

/* Sections & Grids */
.section { padding: 80px 0; }
.bg-sec { background-color: var(--bg-sec); }
.section-header { margin-bottom: 40px; max-width: 800px; }
.section-header.text-center { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }

/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    transition: transform var(--transition), border-color var(--transition);
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}
.num-card { position: relative; padding-top: 40px; }
.num {
    position: absolute;
    top: 20px; left: 25px;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    z-index: 0;
}
.num-card h3, .num-card p { position: relative; z-index: 1; }
.small-card { padding: 20px; }
.small-card h4 { margin-bottom: 8px; font-size: 1rem; }
.small-card p { font-size: 0.9rem; color: var(--text-muted); }
.mini-card {
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.border-red { border-color: rgba(255, 95, 122, 0.3); }

/* Counters */
.disclaimer-text { font-size: 0.85rem; color: var(--text-muted); opacity: 0.8; }
.counter-grid { margin-top: 30px; }
.counter-card { text-align: center; padding: 30px 20px; }
.counter-val {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-block;
    font-family: var(--font-mono);
}
.counter-unit { font-size: 1.5rem; color: var(--accent); font-weight: 700; }
.counter-card p { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }

/* Diagnosis Panel */
.diag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}
.diag-item {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.d-dot {
    width: 8px; height: 8px; border-radius: 50%; margin-right: 10px;
}
.dot-amber { background-color: var(--status-amber); box-shadow: 0 0 8px var(--status-amber); }
.dot-red { background-color: var(--status-red); box-shadow: 0 0 8px var(--status-red); }
.dot-green { background-color: var(--status-green); box-shadow: 0 0 8px var(--status-green); }
.d-label { margin-left: auto; font-size: 0.7rem; color: var(--text-muted); }

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 24px;
    width: 2px;
    background-color: var(--border);
}
.p-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}
.p-num {
    width: 50px; height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
    z-index: 1;
    flex-shrink: 0;
}
.p-content {
    margin-left: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    width: 100%;
}
.p-content h4 { margin-bottom: 5px; }
.p-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Comparison */
.compare-card { padding: 30px; }
.compare-card h3 { text-align: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.check-list { list-style: none; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.bad .check-list svg { color: var(--status-red); flex-shrink: 0; margin-top: 3px; }
.good .check-list svg { color: var(--status-green); flex-shrink: 0; margin-top: 3px; }

/* CodePress Panel */
.cp-panel {
    background: linear-gradient(145deg, var(--card-bg), var(--bg-sec));
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 40px rgba(185, 140, 255, 0.1);
}
.cp-panel p { max-width: 800px; margin: 0 auto 15px; color: var(--text-muted); }

/* Educational */
.edu-content {
    max-width: 800px;
    margin: 0 auto;
}
.edu-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 20px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1.2rem;
}
.faq-item[open] summary::after { content: '-'; }
.faq-ans {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.v-form input[type="text"],
.v-form input[type="email"],
.v-form select,
.v-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-sans);
}
.v-form input:focus, .v-form select:focus, .v-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: var(--bg-sec);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-logo { max-width: 150px; margin: 0 auto 20px; opacity: 0.8; }
.footer-desc { max-width: 800px; margin: 0 auto 20px; color: var(--text-muted); font-size: 0.9rem; }
.footer-disclaimer { max-width: 800px; margin: 0 auto 30px; color: var(--text-muted); font-size: 0.75rem; opacity: 0.7; }
.footer-copy { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }

/* Overlays (Sticky, Chat, Top, Cookies) */
.sticky-help {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 280px;
    background-color: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 90;
    display: none; /* toggled via JS */
}
[data-theme="light"] .sticky-help { box-shadow: 0 5px 20px rgba(90,60,150,0.1); }
.close-sticky {
    position: absolute; top: 5px; right: 10px;
    background: none; border: none; color: var(--text-muted);
    font-size: 1.2rem; cursor: pointer;
}
.sh-title { font-weight: 500; margin-bottom: 5px; font-size: 0.95rem; }
.sh-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }

.chat-trigger {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #070712;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(185, 140, 255, 0.4);
    z-index: 91;
    transition: transform 0.2s;
}
[data-theme="light"] .chat-trigger { color: #fff; }
.chat-trigger:hover { transform: scale(1.05); }

.chat-modal {
    position: fixed;
    right: 20px; bottom: 80px;
    width: 300px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 92;
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.chat-header {
    background-color: var(--bg-sec);
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 500; font-size: 0.9rem;
}
.close-chat { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.chat-body { padding: 15px; font-size: 0.85rem; color: var(--text-muted); }
.chat-body p { margin-bottom: 10px; }
.chat-footer { padding: 15px; border-top: 1px solid var(--border); }

.back-to-top {
    position: fixed;
    left: 20px; bottom: 20px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background-color: var(--bg-sec);
    border-top: 1px solid var(--border);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.cookie-banner.show { transform: translateY(0); }
.cb-text { font-size: 0.8rem; color: var(--text-muted); max-width: 800px; }
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 60px; left: 0; right: 0;
        background-color: var(--bg-main);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 99;
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
    .nav-menu .btn { border: none; text-align: center; justify-content: center; }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .cookie-banner { flex-direction: column; gap: 15px; text-align: center; }
    .cb-actions { width: 100%; justify-content: center; }
    
    .sticky-help { display: none !important; /* Hide on mobile to avoid clutter, chat is enough */ }
}

@media (max-width: 480px) {
    .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .diag-cards { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 40px 0; }
    .section { padding: 50px 0; }
}

/* =========================================
   ŁATKI CSS (DOKLEJ NA KOŃCU STYLE.CSS)
   ========================================= */

/* 1. Odstęp między przyciskami w oknie czatu */
.chat-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-footer .btn {
    margin-top: 0; /* Resetujemy stary margines, gap robi robotę */
}

/* 2. Poprawa kafelków z numerami (cyfry nad tekstem z marginesem) */
.num-card {
    padding-top: 25px; /* Zmniejszamy sztuczny padding */
}
.num {
    position: relative; /* Zdejmujemy absolute, żeby cyfra nie chowała się pod tekstem */
    top: 0;
    left: 0;
    margin-bottom: 15px; /* Odstęp między cyfrą a nagłówkiem */
    display: inline-block;
    z-index: 1;
}

/* 3. Biały tekst na przyciskach primary po najechaniu (naprawa znikającego tekstu) */
.btn-primary:hover,
a.btn-primary:hover {
    color: #ffffff !important;
}

/* 4. Nowoczesne checkboxy w formularzu kontaktowym */
.checkbox-group label {
    gap: 12px; /* Lepszy odstęp między boxem a tekstem */
}
.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin: 0;
}
.checkbox-group input[type="checkbox"]:hover {
    border-color: var(--accent);
}
.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}
/* Rysowanie "ptaszka" w zaznaczonym checkboxie */
.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #070712; /* Ciemny ptaszek w dark mode na fioletowym tle */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}
/* Ptaszek w trybie jasnym */
[data-theme="light"] .checkbox-group input[type="checkbox"]:checked::after {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
}