/*#admin-banner {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(90deg, #ffcc00 0%, #ff6600 100%);
    color: #000;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 2px solid rgba(0,0,0,0.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#admin-banner.draft {
    background: linear-gradient(90deg, #ff0033 0%, #cc0000 100%);
    color: #fff;
}
*/
:root {
    --ab-h: 44px;
    --ab-bg: rgba(12, 18, 30, 0.88);           /* głęboki czarny granat */
    --ab-border: rgba(30, 58, 138, 0.4);       /* subtelny granatowy obrys */
    --ab-fg: #e5e7eb;                          /* jasny tekst */
    --ab-accent: #3b82f6;                      /* niebieski akcent (biznesowy ton) */
    --ab-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    --reg-gray-1: rgba(61, 37, 20, .05);
    --reg-gray-2: rgba(61, 37, 20, .08);
    --reg-gray-3: rgba(61, 37, 20, .12);
    --reg-gray-4: rgba(53, 38, 28, .3);
    --reg-gray-5: rgba(28, 25, 23, .6);
}
.adminbar-on body {
    padding-top: var(--ab-h);
}

#adminbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--ab-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(8px);
    background: var(--ab-bg);
    border-bottom: 1px solid var(--ab-border);
    color: var(--ab-fg);
    z-index: 10000;
    box-shadow: var(--ab-shadow);
    font: 500 14px/1.1 "Inter", "Segoe UI", Roboto, sans-serif;
    padding: 0 18px;
}

#adminbar a {
    color: var(--ab-fg);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background .15s ease;
}
#adminbar a:hover {
    background: rgba(59, 130, 246, 0.15);
}

#adminbar .ab-left, #adminbar .ab-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

#adminbar .ab-home {
    font-weight: 600;
    color: var(--ab-accent);
}

#adminbar .ab-badge {
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ab-accent);
    color: #fff;
    font-weight: 600;
}



/* Table-specific styling */
/* Table-specific styling */
table {
    border-collapse: collapse;
    margin: 0;
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
}

table td,
 table th {
    border: 1px solid var(--reg-gray-3);
    box-sizing: border-box;
    min-width: 1em;
    padding: 6px 8px;
    position: relative;
    vertical-align: top;
}

 table td > *,
 table th > * {
    margin-bottom: 0;
}

  table th {
    background-color: var(--reg-gray-1);
    font-weight: bold;
    text-align: left;
}

 table .selectedCell::after {
    background: var(--reg-gray-2);
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.tiptap-editor      .tableWrapper {
    margin: 1.5rem 0;
    overflow-x: auto;
}





#kontaktForm .ff1 {
    display: none;
}