.govuk-table__cell {
    padding: var(--space-1) 10px !important;
}

/* Kompaktná veľkosť DataTables — zmenšenie o ~25% */
.datatable-entity {
    font-size: 15px !important;
    min-width: 100% !important;
    width: auto !important;
}

.datatable-entity thead th,
.datatable-entity thead .govuk-table__header {
    font-size: 15px !important;
    padding: 5px 25px 5px 11px !important;
}

.datatable-entity tbody td {
    font-size: 15px !important;
}

.datatable-entity thead tr.filters input.column-search {
    font-size: 14px;
    padding: 3px 7px;
}

.idsk-intro-block__side-menu__divider {
    width: 100%;
}

.idsk-intro-block__side-menu__li--active {
    position: relative;
    padding-left: var(--space-3);
    font-weight: bold;
}

.idsk-intro-block__side-menu__li--active::before {
    display: inline-block;
    width: 0;
    height: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    border-color: #0065b3;
    border-style: solid;
    border-width: 5px 0 5px 8.66px;
    border-left-color: #0065b3;
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
}

.govuk-width-container.govuk-width-container {
    max-width: 1420px;
}

@media screen and (min-width: 1020px) {
    .govuk-width-container.govuk-width-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ===== REMOVED OLD RESPONSIVE NAVIGATION - NOW IN mobileNav.css ===== */

/* ===== TRANSLATION MOBILE STYLES ===== */

/* Container for responsive translation layout */
.translations-container {
    position: relative;
}

/* Desktop table - hidden on mobile */
.translations-table-desktop {
    display: table;
}

/* Mobile cards - hidden on desktop */
.translations-mobile-cards {
    display: none;
}

/* Mobile breakpoint */
@media screen and (max-width: 768px) {
    .translations-table-desktop {
        display: none;
    }
    
    .translations-mobile-cards {
        display: block;
    }
    
    .translation-card {
        background: #fff;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        margin-bottom: 1rem;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .translation-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
        gap: 1rem;
    }
    
    .translation-title {
        font-size: 1.1rem;
        font-weight: var(--fw-bold);
        margin: 0;
        color: var(--color-black);
        flex: 1;
        line-height: 1.3;
    }
    
    .translation-status {
        flex-shrink: 0;
    }
    
    .translation-card-body {
        margin-bottom: 1.5rem;
    }
    
    .translation-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .translation-info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.25rem 0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .translation-info-item:last-child {
        border-bottom: none;
    }
    
    .translation-label {
        font-weight: var(--fw-semibold);
        color: #424242;
        font-size: 0.875rem;
    }
    
    .translation-value {
        color: var(--color-black);
        font-size: 0.875rem;
        text-align: right;
    }
    
    .translation-card-actions {
        display: flex;
        gap: 0.75rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .translation-card-actions .govuk-button {
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
    
    /* Ensure buttons don't get too narrow */
    @media screen and (max-width: 400px) {
        .translation-card-actions {
            flex-direction: column;
        }
        
        .translation-card-actions .govuk-button {
            flex: none;
            width: 100%;
        }
    }
}



.va-m {
    vertical-align: middle;
}

.simple-divided-list-of-links a + a {
    border-left: 1px solid;
    padding-left: 0.3em;
    margin-left: 0.3em;
}

/* HVIEZDIČKY PRE REQUIRED POLIA
   Vylučujeme radio/checkbox labely — IDSK3 ich `::after` používa na vnútornú bodku
   (background: currentcolor). Bez :not() by globálne `color: red` zmenilo bodku
   na červenú. */
label.required:not(.govuk-radios__label):not(.govuk-checkboxes__label)::after {
    content: ' *';
    color: var(--color-error);
    font-weight: bold;
}

.instructions-toggle {
 transition: all 0.2s ease;
 white-space: nowrap;
}

.instructions-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chevron-icon {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.instructions-panel {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .instructions-panel {
        animation: none;
    }
}
/* Inštrukcie v invalidate formulároch */


/* ===================================================== */
/* SECTION START: Doplnkové dataTable.js štýly */
/* ===================================================== */

/* Základné rozmiestnenie prvkov */
.dt-length-menu,
.dataTables_length {
    margin-bottom: 15px;
    margin-right: 15px;
    display: inline-block;
}

/* Pridané štýly pre .dataTables_length z addGlobalStyles */
.dataTables_length {
    display: block;
    margin-top: 10px;
    clear: both;
}

/* "Počet záznamov na stránku:" label v paginácii (entityChangelog, news, admin).
 * IDSK3 vendor `.govuk-label` má line-height 0.6667 (≈ 10.67px na 16px fonte) —
 * pri zalomení textu na úzkom viewporte sa riadky vizuálne prekrývajú. Override
 * na 1.4 dá rozumný odstup medzi riadkami keď label musí lámať. */
label[for="itemsPerPage"] {
    line-height: 1.4;
}

.dt-pagination {
    margin-top: 15px;
}

.dataTables_info {
    margin-top: 10px;
}


/* !!! KRITICKÉ ZAROVNANIE - TREBA ZACHOVAŤ !!! */
table.dataTable th,
table.dataTable td,
.dataTable [class*="dt-"],
table.dataTable thead th,
table.dataTable tbody td,
table.dataTable tfoot td,
.dataTable *,
.dt-left {
    text-align: left !important;
}

/* Štýlovanie filtrov */
table.dataTable thead tr.filters th,
.datatable-entity thead tr.filters th {
    padding: var(--space-2) var(--space-1) !important;
    background-color: #f8f9fa;
    text-align: left !important;
}

/* Odstránenie šípok usporiadania z filtrov */
table.dataTable thead tr.filters th.sorting::before,
table.dataTable thead tr.filters th.sorting::after,
table.dataTable thead tr.filters th.sorting_asc::before,
table.dataTable thead tr.filters th.sorting_asc::after,
table.dataTable thead tr.filters th.sorting_desc::before,
table.dataTable thead tr.filters th.sorting_desc::after {
    display: none !important;
}

/* Štýly pre input fieldy */
table.dataTable thead tr.filters input.column-search,
.datatable-entity thead tr.filters input.column-search {
    border: 1px solid #ced4da;
    border-radius: var(--radius-sm);
    padding: var(--space-1) var(--space-2);
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
}

table.dataTable thead tr.filters input.column-search:focus,
.datatable-entity thead tr.filters input.column-search:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Štýl pre hlášku pri skrytí všetkých stĺpcov */
.no-columns-message {
    margin: var(--space-5) 0;
    font-size: 16px;
}

/* Bez zalamovanie textu v hlavičkách a bunkách */
.datatable-entity thead th,
.datatable-entity thead tr:first-child th,
table.dataTable thead th {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 300px !important;
    text-align: left !important;
}

.datatable-entity tbody td,
table.dataTable tbody td {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;
}

/* Štýly pre dropdown menu výberu stĺpcov */
.dt-button-collection {
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
    z-index: var(--z-popover) !important;
    position: absolute !important;
    min-width: 200px !important;
}

/* DataTables backdrop pre Buttons collection (ColVis dropdown) má vendor default
 * z-index 2001 — to je NAD našou collection (--z-popover = 1060) a backdrop tým
 * prekrýval samotný dropdown (vyzeral šedý/zatemnený). Dáme backdrop pod
 * collection do našej z-index hierarchie cez --z-modal (1050). */
.dt-button-background {
    z-index: var(--z-modal) !important;
}

/* Zabezpeč, že DataTables wrapper neobmedzuje dropdown */
.dataTables_wrapper {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
}

.dt-container {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
}

.table-container {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    width: 100%;
}


/* Ensure consistent scrolling behavior on all screen sizes */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto !important;
        overflow-y: visible !important;
    }
}

.dt-button-collection .dropdown-item,
.dt-button-collection .buttons-columnVisibility {
    padding-right: 36px !important;
    position: relative !important;
    text-align: left !important;
}

.column-check-mark {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.dt-button-collection .dt-button {
    text-align: left !important;
    padding-right: 36px !important;
    position: relative !important;
}

.dt-button-collection .dt-button.active::after {
    content: "✓";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Štýl pre tooltip hlášku "Copy to clipboard"
 * DataTables Buttons injektuje inline margin-left/margin-top (-200px/-X) pre default
 * 400px box; my máme width 300px/max-width 90%, preto inline margin spôsobuje posun
 * mimo viewport na mobile. transform: translate(-50%,-50%) stačí na centrovanie. */
div.dt-button-info {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: 0 !important;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    padding: var(--space-5);
    text-align: center;
    width: 300px;
    max-width: 90%;
    z-index: var(--z-modal);
}

div.dt-button-info h2 {
    font-size: 18px;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: bold;
}

div.dt-button-info > div {
    font-size: 14px;
    padding: 0;
    margin: 0;
}

/* Info ikonka v hlavičke stĺpca DataTables — inline SVG (Bootstrap Icons info-circle):
 * outline krúžok s vycentrovaným "i" (vzhľad ⓘ). SVG je presne vycentrované od dizajnu,
 * bez font/centering hackov. SVG nemá textový obsah → header.text() ostáva čisté
 * "Typ záznamu" → placeholder per-stĺpcového filtra je správny. Scope na thead drží štýl
 * len v hlavičke; colvis label aj export berú len text hlavičky. */
#datatable-entity thead .th-info-icon {
    display: inline-flex;
    align-items: center;
    margin-left: var(--space-1);
    color: var(--color-primary);
    vertical-align: middle;
    cursor: help;
}

#datatable-entity thead .th-info-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

/* Pridané CSS pre obnovené tlačidlo */
.dt-buttons .btn-outline-secondary {
    margin-left: 10px !important;
}

/* Štýly pre akčné tlačidlá v DataTables */
.dt-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

.dt-action-buttons .govuk-button {
    margin: 0;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    min-height: auto;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.dt-action-buttons .govuk-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive handling pre malé obrazovky */
@media (max-width: 768px) {
    .dt-action-buttons {
        flex-direction: row;
        gap: 0.25rem;
    }
    
    .dt-action-buttons .govuk-button {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Entity metadata card — IDSK3 redesign v app-idsk3.css */

/* ===================================================== */
/* SECTION START: Homepage štýly */
/* ===================================================== */

/* Hero sekcia */
.homepage-hero {
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
    border-bottom: 4px solid var(--color-primary);
    padding: 50px 0;
    margin-bottom: var(--space-10);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 var(--space-5) 0;
    line-height: 1.1;
    color: var(--color-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #424242;
    line-height: 1.5;
    max-width: 650px;
    margin: 0 auto;
}

/* Hlavný obsah */
.homepage-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.content-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-6) 0;
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: var(--space-3);
}

.section-text {
    font-size: 18px;
    line-height: 1.6;
    color: #424242;
    margin: 0;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.feature-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-md);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--space-4);
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-3) 0;
}

.feature-text {
    font-size: 16px;
    color: #424242;
    margin: 0;
    line-height: 1.5;
}

/* Info panels */
.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.info-panel {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-md);
    padding: var(--space-8);
}

.panel-title {
    font-size: 22px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-5) 0;
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-primary);
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-list li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    color: #424242;
    position: relative;
    padding-left: var(--space-6);
}

.panel-list li:last-child {
    border-bottom: none;
}

.panel-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
}

.panel-list li strong {
    color: var(--color-black);
}

/* UI features */
.ui-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-top: var(--space-8);
}

.ui-feature {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-6);
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.ui-feature:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(29, 112, 184, 0.1);
}

.ui-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: #e8f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ui-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.ui-content strong {
    font-size: 18px;
    font-weight: var(--fw-semibold);
    color: var(--color-black);
}

.ui-content span {
    font-size: 16px;
    color: #424242;
    line-height: 1.4;
}

/* Responsive dizajn */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-panels {
        grid-template-columns: 1fr;
    }
    
    .ui-feature {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .feature-card {
        padding: var(--space-6) var(--space-4);
    }
    
    .info-panel {
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .homepage-hero {
        padding: var(--space-10) 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .content-section {
        margin-bottom: var(--space-10);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================== */
/* SECTION END: Homepage štýly */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: IDSK/GOVUK Navigation & Filters */
/* ===================================================== */

/* IDSK Navigation Sidebar */
.idsk-navigation-sidebar {
    background: #fff;
    border-right: 1px solid var(--color-border);
    padding: 0;
    margin: 0;
    min-height: 100vh;
    position: relative;
}

/* Navigation Sections */
.idsk-nav-section {
    padding: var(--space-5);
    border-bottom: 1px solid var(--color-bg-hover);
}

/* Filter section below header */
.idsk-nav-filter-section {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-2);
}

/* Filter Trigger - smaller inline version */
.idsk-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 6px var(--space-3);
    background: var(--color-bg-hover);
    border: 1px solid var(--color-border);
    color: var(--color-black);
    transition: all 0.15s ease-in-out;
    border-radius: 3px;
    text-decoration: none;
}

.idsk-filter-trigger:hover {
    background: #e2e2e2;
    border-color: #929292;
}

.idsk-filter-trigger:focus-visible {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
    background: var(--color-warning);
    border-color: var(--color-black);
    color: var(--color-black);
}

.idsk-button-icon {
    font-size: 14px;
}

/* Navigation Groups */
.idsk-nav-group {
    margin-bottom: 0;
}

.idsk-nav-group .govuk-fieldset {
    border: none;
    padding: 10px var(--space-5) 15px var(--space-5);
    margin: 0;
}

.idsk-nav-group:first-of-type .govuk-fieldset {
    padding-top: 10px;
}

.idsk-nav-group .govuk-fieldset__legend {
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    margin-bottom: var(--space-2);
}

/* Legend without border when filter section is present */
.idsk-nav-filter-section + ul + .idsk-nav-group .govuk-fieldset__legend,
.idsk-nav-group:has(.idsk-nav-filter-section) .govuk-fieldset__legend {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: var(--space-1);
}

/* Navigation Lists */
.idsk-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Reset navigation list spacing */
.idsk-nav-group:first-of-type .idsk-nav-list {
    margin-top: 0;
    padding-top: var(--space-3);
}

.idsk-nav-item {
    margin: 0;
}

/* Navigation Links — IDSK3 vertical nav spec:
   default = čierny semi-bold text, hover = modrý + svetlosivé bg,
   active = modrý 4px left border + bold + light bg,
   focus-visible = oranžová (a11y, len pri klávesnicovej navigácii) */
.idsk-nav-link {
    display: block;
    padding: 10px 15px;
    color: #0b0c0c !important;
    text-decoration: none !important;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.3;
    border-left: 4px solid transparent;
    position: relative;
}

.idsk-nav-link:link,
.idsk-nav-link:visited {
    color: #0b0c0c !important;
    text-decoration: none !important;
}

.idsk-nav-link:hover {
    color: var(--color-primary) !important;
    background-color: #f3f2f1;
    text-decoration: none !important;
}

.idsk-nav-link:focus-visible {
    color: var(--color-black) !important;
    background-color: var(--color-warning);
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
    text-decoration: none !important;
}

/* Active Navigation Link — bold + modrý border-left, bez plnej výplne */
.idsk-nav-link--active,
.idsk-nav-link--active:link,
.idsk-nav-link--active:visited {
    color: #0b0c0c !important;
    background-color: #f3f2f1;
    border-left-color: var(--color-primary);
    font-weight: var(--fw-bold);
    text-decoration: none !important;
}

.idsk-nav-link--active:hover {
    color: var(--color-primary) !important;
    background-color: #e9e8e6;
    text-decoration: none !important;
}

.idsk-nav-link--active:focus-visible {
    color: var(--color-black) !important;
    background-color: var(--color-warning);
    outline: 3px solid var(--color-warning);
    text-decoration: none !important;
}

/* Navigation Text */
.idsk-nav-text {
    font-weight: inherit !important;
}

/* IDSK Filter Modal — base/nested rules presunuté do app-idsk3.css (single source
 * of truth pre IDSK3 komponenty). Tu ostávajú iba grid layout overrides pre dialog
 * content (negative row margin + column padding), ktoré app-idsk3.css NEPREBÍJA. */

.idsk-filter-dialog .govuk-grid-row {
    margin-left: -15px;
    margin-right: -15px;
}

.idsk-filter-dialog .govuk-grid-column-one-half {
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .idsk-navigation-sidebar {
        min-height: auto;
    }
    
    .idsk-nav-group .govuk-fieldset {
        padding: 15px;
    }
    
    .idsk-nav-section {
        padding: 15px;
    }
    
    .idsk-nav-link {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .idsk-filter-dialog {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .idsk-filter-dialog .idsk-modal__header,
    .idsk-filter-dialog .idsk-modal__body,
    .idsk-filter-dialog .idsk-modal__footer {
        padding: var(--space-5);
    }
    
    .idsk-filter-dialog .govuk-grid-row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .idsk-filter-dialog .govuk-grid-column-one-half {
        width: 100%;
        padding: 0;
        margin-bottom: var(--space-5);
    }
    
    .idsk-filter-dialog .govuk-button-group {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .idsk-filter-dialog .govuk-button-group .govuk-button {
        width: auto;
        flex: 1;
        max-width: 120px;
        font-size: 14px;
        padding: var(--space-2) var(--space-4);
    }
}

@media (max-width: 480px) {
    .idsk-nav-group .govuk-fieldset {
        padding: 10px;
    }
    
    .idsk-nav-section {
        padding: 10px;
    }
    
    .idsk-filter-dialog .idsk-modal__header,
    .idsk-filter-dialog .idsk-modal__body,
    .idsk-filter-dialog .idsk-modal__footer {
        padding: 15px;
    }
}

/* ===================================================== */
/* SECTION END: Modern Navigation & Filters */

/* ===================================================== */

/* ===================================================== */
/* SECTION END: Doplnkové dataTable.js štýly */
/* ===================================================== */

/* ===================================================== */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: Modern Changelog Page Styling */
/* ===================================================== */

/* Changelog Page Layout */
.changelog-page-container {
    padding: 0 0 var(--space-10) 0;
}

/* When navigation is visible, adjust spacing */
.idsk-main-content .changelog-page-container {
    padding: 0 var(--space-5) var(--space-10) var(--space-5);
}

/* When navigation is hidden, center content */
.navigation-hidden .changelog-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5) var(--space-10) var(--space-5);
}

.changelog-hero-section {
    background: #fff;
    color: var(--color-black);
    padding: var(--space-10) 0;
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e3e6ea;
}

.changelog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.changelog-hero-title {
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 var(--space-2) 0;
    line-height: 1.3;
    color: var(--color-primary);
    letter-spacing: -0.3px;
}

.changelog-hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: #626a6e;
    line-height: 1.4;
}

/* Filter Section Styling */
.changelog-filter-section {
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.changelog-filter-header {
    margin-bottom: var(--space-6);
}

.changelog-filter-title {
    font-size: 24px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.changelog-filter-title::before {
    content: "🔍";
    font-size: 28px;
}

/* Table Container Styling */
.changelog-table-container {
    margin-bottom: var(--space-10);
}

.changelog-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 3px solid var(--color-primary);
}

.changelog-table-title {
    font-size: 32px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.changelog-table-title::before {
    content: "📋";
    font-size: 36px;
}

/* Enhanced Filter Form Styling */
.changelog-filter-section form {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.changelog-filter-section .govuk-form-group {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: start;
}

.changelog-filter-section .govuk-form-group:nth-child(2) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.changelog-filter-section .govuk-form-group > div {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.changelog-filter-section .govuk-label {
    font-weight: var(--fw-semibold);
    color: var(--color-black);
    margin-bottom: 0;
    font-size: 16px;
}

.changelog-filter-section .govuk-input,
.changelog-filter-section .govuk-select {
    width: 100%;
    font-size: 16px;
    padding: var(--space-3) var(--space-4);
    border-radius: 5px;
    border: 2px solid var(--color-border);
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 48px;
}

.changelog-filter-section .govuk-input:focus,
.changelog-filter-section .govuk-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 112, 184, 0.2);
    outline: none;
}

.changelog-filter-section .govuk-input:focus-visible,
.changelog-filter-section .govuk-select:focus-visible {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
}

.changelog-filter-section .govuk-button-group {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-start;
    margin-top: var(--space-2);
}

.changelog-filter-section .govuk-button,
.changelog-filter-section .idsk-button {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: white;
    font-weight: var(--fw-semibold);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    font-size: 16px;
    cursor: pointer;
}

.changelog-filter-section .govuk-button:hover,
.changelog-filter-section .idsk-button:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(29, 112, 184, 0.2);
    text-decoration: none;
    color: white;
}

.changelog-filter-section .idsk-button--warning {
    background: var(--color-error);
    border-color: var(--color-error);
}

.changelog-filter-section .idsk-button--warning:hover {
    background: var(--color-error-hover);
    border-color: var(--color-error-hover);
    box-shadow: 0 4px 8px rgba(212, 53, 28, 0.2);
}

/* Enhanced Table Styling */
.changelog-table-container .govuk-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e3e6ea;
}

.changelog-table-container .govuk-table__head {
    background: #f8f9fa;
}

.changelog-table-container .govuk-table__header {
    font-weight: var(--fw-semibold);
    color: var(--color-black);
    padding: var(--space-4) var(--space-3);
    border-bottom: 2px solid #e3e6ea;
}

.changelog-table-container .govuk-table__cell {
    padding: var(--space-3);
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.changelog-table-container .govuk-table__row:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .changelog-hero-section {
        padding: var(--space-8) 0;
    }
    
    .changelog-hero-title {
        font-size: 26px;
    }
    
    .changelog-hero-subtitle {
        font-size: 15px;
    }
    
    .changelog-filter-section {
        padding: var(--space-6);
    }
    
    .changelog-filter-title {
        font-size: 20px;
    }
    
    .changelog-filter-section .govuk-form-group {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .changelog-filter-section .govuk-form-group:nth-child(2) {
        grid-template-columns: 1fr;
    }
    
    .changelog-filter-section .govuk-button-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .changelog-filter-section .govuk-button,
    .changelog-filter-section .idsk-button {
        width: 100%;
        justify-content: center;
    }
    
    .changelog-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }
    
    .changelog-table-title {
        font-size: 24px;
    }
    
    .changelog-table-container .govuk-table__header,
    .changelog-table-container .govuk-table__cell {
        padding: var(--space-2) 6px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .changelog-hero-section {
        padding: 28px 0;
    }
    
    .changelog-hero-title {
        font-size: 22px;
    }
    
    .changelog-hero-subtitle {
        font-size: 14px;
    }
    
    .changelog-filter-section {
        padding: var(--space-5);
    }
    
    .changelog-filter-title {
        font-size: 18px;
    }
    
    .changelog-table-title {
        font-size: 20px;
    }
}

/* ===================================================== */
/* SECTION END: Modern Changelog Page Styling */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: Modern Entity Changelog Page Styling */
/* ===================================================== */

/* Entity Changelog Page Layout */
.entity-changelog-page-container {
    padding: 0 0 var(--space-10) 0;
}

/* When navigation is visible, adjust spacing */
.idsk-main-content .entity-changelog-page-container {
    padding: 0 var(--space-5) var(--space-10) var(--space-5);
}

/* When navigation is hidden, center content */
.navigation-hidden .entity-changelog-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5) var(--space-10) var(--space-5);
}

.entity-changelog-hero-section {
    background: #fff;
    color: var(--color-black);
    padding: var(--space-10) 0;
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e3e6ea;
}

.entity-changelog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.entity-changelog-hero-title {
    font-size: 48px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.1;
}

.entity-changelog-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #424242;
    margin: 0;
    line-height: 1.4;
}

/* Entity Changelog Content */
.entity-changelog-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Entity Changelog Filter Section */
.entity-changelog-filter-section {
    background: #f8f8f8;
    border: 1px solid #e3e6ea;
    border-radius: var(--radius-md);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.entity-changelog-filter-title {
    font-size: 24px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-6) 0;
}

.entity-changelog-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.entity-changelog-filter-grid .govuk-form-group {
    margin-bottom: 0;
}

.entity-changelog-filter-label {
    font-size: 16px !important;
    font-weight: var(--fw-semibold);
    color: var(--color-black);
    margin-bottom: var(--space-2);
    display: block;
    min-height: 24px;
}

/* Ensure all inputs and selects have the same styling */
.entity-changelog-filter-grid .govuk-input,
.entity-changelog-filter-grid .govuk-select {
    width: 100%;
    height: 48px;
    padding: 10px var(--space-3);
    font-size: 16px;
    border: 2px solid var(--color-black);
    box-sizing: border-box;
}

.entity-changelog-filter-grid .govuk-input:focus,
.entity-changelog-filter-grid .govuk-select:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
    border-color: var(--color-black);
}

.entity-changelog-filter-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-start;
}

.entity-changelog-filter-actions .govuk-button {
    margin: 0;
}

/* Entity Changelog Table Section */
.entity-changelog-table-section {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: var(--radius-md);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.entity-changelog-table-title {
    font-size: 24px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-6) 0;
}

/* Entity Changelog Pagination Section */
.entity-changelog-pagination-section {
    margin-top: var(--space-6);
}

/* Responsive Design for Entity Changelog */
@media (max-width: 1024px) {
    .entity-changelog-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .entity-changelog-hero-title {
        font-size: 32px;
    }
    
    .entity-changelog-hero-subtitle {
        font-size: 16px;
    }
    
    .entity-changelog-filter-section {
        padding: var(--space-6);
    }
    
    .entity-changelog-filter-grid {
        grid-template-columns: 1fr;
    }
    
    .entity-changelog-filter-actions {
        flex-direction: column;
    }
    
    .entity-changelog-filter-actions .govuk-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .entity-changelog-hero-title {
        font-size: 24px;
    }
    
    .entity-changelog-hero-subtitle {
        font-size: 14px;
    }
    
    .entity-changelog-filter-section {
        padding: var(--space-5);
    }
    
    .entity-changelog-filter-title {
        font-size: 18px;
    }
    
    .entity-changelog-table-title {
        font-size: 20px;
    }
}

/* ===================================================== */
/* SECTION END: Modern Entity Changelog Page Styling */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: Modern Project Changelog Page Styling */
/* ===================================================== */

/* Project Changelog Page Layout */
.project-changelog-page-container {
    padding: 0 0 var(--space-10) 0;
}

/* When navigation is visible, adjust spacing */
.idsk-main-content .project-changelog-page-container {
    padding: 0 var(--space-5) var(--space-10) var(--space-5);
}

/* When navigation is hidden, center content */
.navigation-hidden .project-changelog-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5) var(--space-10) var(--space-5);
}

.project-changelog-hero-section {
    background: #fff;
    color: var(--color-black);
    padding: var(--space-10) 0;
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e3e6ea;
}

.project-changelog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-changelog-hero-title {
    font-size: 48px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.1;
}

.project-changelog-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #424242;
    margin: 0;
    line-height: 1.4;
}

/* Project Changelog Content */
.project-changelog-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Changelog Filter Section */
.project-changelog-filter-section {
    background: #f8f8f8;
    border: 1px solid #e3e6ea;
    border-radius: var(--radius-md);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.project-changelog-filter-title {
    font-size: 24px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-6) 0;
}

.project-changelog-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.project-changelog-filter-grid .govuk-form-group {
    margin-bottom: 0;
}

.project-changelog-filter-label {
    font-size: 16px !important;
    font-weight: var(--fw-semibold);
    color: var(--color-black);
    margin-bottom: var(--space-2);
    display: block;
    min-height: 24px;
}

/* Ensure all inputs and selects have the same styling */
.project-changelog-filter-grid .govuk-input,
.project-changelog-filter-grid .govuk-select {
    width: 100%;
    height: 48px;
    padding: 10px var(--space-3);
    font-size: 16px;
    border: 2px solid var(--color-black);
    box-sizing: border-box;
}

.project-changelog-filter-grid .govuk-input:focus,
.project-changelog-filter-grid .govuk-select:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
    border-color: var(--color-black);
}

.project-changelog-filter-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-start;
}

.project-changelog-filter-actions .govuk-button {
    margin: 0;
}

/* Project Changelog Table Section */
.project-changelog-table-section {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: var(--radius-md);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.project-changelog-table-title {
    font-size: 24px;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin: 0 0 var(--space-6) 0;
}

/* Project Changelog Pagination Section */
.project-changelog-pagination-section {
    margin-top: var(--space-6);
}

/* Responsive Design for Project Changelog */
@media (max-width: 1024px) {
    .project-changelog-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-changelog-hero-title {
        font-size: 32px;
    }
    
    .project-changelog-hero-subtitle {
        font-size: 16px;
    }
    
    .project-changelog-filter-section {
        padding: var(--space-6);
    }
    
    .project-changelog-filter-grid {
        grid-template-columns: 1fr;
    }
    
    .project-changelog-filter-actions {
        flex-direction: column;
    }
    
    .project-changelog-filter-actions .govuk-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .project-changelog-hero-title {
        font-size: 24px;
    }
    
    .project-changelog-hero-subtitle {
        font-size: 14px;
    }
    
    .project-changelog-filter-section {
        padding: var(--space-5);
    }
    
    .project-changelog-filter-title {
        font-size: 18px;
    }
    
    .project-changelog-table-title {
        font-size: 20px;
    }
}

/* ===================================================== */
/* SECTION END: Modern Project Changelog Page Styling */
/* ===================================================== */

/* Entity Changelog RSS — IDSK3 redesign v app-idsk3.css */

/* ===================================================== */
/* ===================================================== */

/* ===================================================== */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: Modern IDSK/GovUK Pagination Styles */
/* ===================================================== */

.idsk-pagination {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.idsk-pagination__summary {
    margin-bottom: 1rem;
    color: #424242;
    font-size: 0.875rem;
}

.idsk-pagination__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.idsk-pagination__item {
    display: inline-block;
}

.idsk-pagination__item--ellipses {
    padding: 0.5rem;
    color: #424242;
}

.idsk-pagination__link {
    display: inline-flex;
    align-items: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background-color: #fff;
    color: var(--color-primary);
    font-weight: 400;
    transition: all 0.2s ease-in-out;
}

.idsk-pagination__link:hover {
    background-color: var(--color-bg-hover);
    border-color: var(--color-primary);
}

.idsk-pagination__link:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
    background-color: var(--color-warning);
    border-color: var(--color-primary);
    color: var(--color-black);
}

/* Current page styles */
.idsk-pagination__item--current .idsk-pagination__link {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    font-weight: var(--fw-bold);
    cursor: default;
}

.idsk-pagination__item--current .idsk-pagination__link:hover {
    background-color: var(--color-primary);
}

/* Previous/Next links */
.idsk-pagination__item--prev .idsk-pagination__link,
.idsk-pagination__item--next .idsk-pagination__link {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.5rem;
    font-weight: 500;
}

.idsk-pagination__link-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.idsk-pagination__link-icon {
    width: 1rem;
    height: 0.8125rem;
    fill: currentColor;
}

.idsk-pagination__link-label {
    margin-left: 0.25rem;
    font-weight: 400;
}

/* Visually hidden text for screen readers */
.idsk-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* Responsive styles */
@media (max-width: 640px) {
    .idsk-pagination__list {
        justify-content: center;
    }
    
    .idsk-pagination__item--prev .idsk-pagination__link-title,
    .idsk-pagination__item--next .idsk-pagination__link-title {
        display: none;
    }
    
    .idsk-pagination__item--prev .idsk-pagination__link,
    .idsk-pagination__item--next .idsk-pagination__link {
        padding: 0.25rem 0.5rem;
    }
    
    .idsk-pagination__link-label {
        display: inline;
    }
    
    .idsk-pagination__link {
        min-width: 2rem;
        min-height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Print styles */
@media print {
    .idsk-pagination {
        display: none;
    }
}

/* SECTION END: Modern IDSK/GovUK Pagination Styles */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: DataTables Pagination IDSK/GovUK Styles */
/* ===================================================== */

/* DataTables bottom section container */
.dataTables_wrapper .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

/* DataTables info text */
.dataTables_wrapper .dataTables_info {
    color: #424242;
    font-size: 0.875rem;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0; /* Allow text to shrink */
}

/* DataTables pagination container */
.dataTables_wrapper .dataTables_paginate {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

/* DataTables pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    margin: 0 0.125rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--color-border);
    background-color: #fff;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-radius: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--color-bg-hover);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
    background-color: var(--color-warning);
    border-color: var(--color-primary);
    color: var(--color-black);
}

/* Current page button */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    font-weight: var(--fw-bold);
    cursor: default;
}

/* Disabled buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background-color: var(--color-bg-hover);
    border-color: var(--color-border);
    color: var(--color-border);
    cursor: not-allowed;
    pointer-events: none;
}

/* Previous/Next buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    font-weight: 500;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* First and last buttons - hide on mobile */
.dataTables_wrapper .dataTables_paginate .paginate_button.first,
.dataTables_wrapper .dataTables_paginate .paginate_button.last {
    display: inline-flex;
}

/* Responsive styles - Tablet (matches --bp-mobile token) */
@media (max-width: 768px) {
    .dataTables_wrapper .bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .dataTables_wrapper .dataTables_info {
        width: 100%;
        text-align: left;
    }
    
    .dataTables_wrapper .dataTables_paginate {
        width: 100%;
        text-align: center;
    }
}

/* Responsive styles - Mobile */
@media (max-width: 640px) {
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        min-width: 2rem;
        min-height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
    .dataTables_wrapper .dataTables_paginate .paginate_button.next {
        padding: 0.25rem 0.75rem;
    }
    
    /* Hide first and last buttons on mobile to save space */
    .dataTables_wrapper .dataTables_paginate .paginate_button.first,
    .dataTables_wrapper .dataTables_paginate .paginate_button.last {
        display: none;
    }
    
    /* Hide ellipsis on very small screens */
    .dataTables_wrapper .dataTables_paginate .ellipsis {
        display: none;
    }
}

/* Print styles */
@media print {
    .dataTables_wrapper .dataTables_paginate,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .bottom {
        display: none;
    }
}

/* SECTION END: DataTables Pagination IDSK/GovUK Styles */
/* ===================================================== */

/* ===================================================== */
/* SECTION START: Enhanced Form Styling IDSK/GovUK */
/* ===================================================== */

/* Form group enhancements */
.govuk-form-group {
    margin-bottom: 1.5rem;
}

/* Enhanced grid layout for forms */
.govuk-grid-row {
    margin-left: -15px;
    margin-right: -15px;
}

.govuk-grid-column-one-half {
    padding-left: 15px;
    padding-right: 15px;
}

/* Form sections with better visual separation */
.form-section {
    background-color: #f8f8f8;
    border: 1px solid #e1e1e1;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.1875rem;
    font-weight: var(--fw-bold);
    color: var(--color-black);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

/* Required fields indicator */
.required-fields-indicator {
    font-size: 0.875rem;
    color: #424242;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-bg-hover);
    border-left: 4px solid var(--color-primary);
}

/* Enhanced label styling */
.govuk-label {
    font-weight: var(--fw-semibold);
    margin-bottom: 0.25rem;
    display: block;
}

/* Input field improvements */
.govuk-input {
    border: 2px solid var(--color-black);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.govuk-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-warning);
    outline: none;
}

.govuk-input:focus-visible {
    outline: 3px solid var(--color-warning);
    outline-offset: 0;
}

/* Error state improvements */
.govuk-form-group--error .govuk-input {
    border-color: var(--color-error);
    border-width: 3px;
}

.govuk-error-message {
    font-weight: var(--fw-bold);
    margin-bottom: 0.5rem;
}

/* Optional fields section styling */
.optionalFields {
    background-color: #f8f9fa;
    border: 1px dashed var(--color-border);
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    position: relative;
}

.optionalFields::before {
    content: "Nepovinné polia";
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    background-color: #fff;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    color: #424242;
    font-weight: var(--fw-semibold);
}

/* Toggle button enhancements */
.toggleOptionalFields {
    background-color: #fff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.toggleOptionalFields:hover {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggleOptionalFields:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 2px;
}

/* Help text styling */
.govuk-hint {
    color: #424242;
    font-size: 0.875rem;
    line-height: 1.5; /* nutné — inak sa dedí vendor base line-height 0.6667 → na mobile zlepené riadky */
    margin-top: 0.25rem;
    display: block;
}

/* Date input group styling */
.govuk-date-input__item {
    display: inline-block;
    margin-right: 1rem;
}

.govuk-date-input__label {
    display: block;
    font-weight: normal;
    margin-bottom: 0.25rem;
}

/* Responsive improvements (matches --bp-mobile token) */
@media (max-width: 768px) {
    .govuk-grid-column-one-half {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .optionalFields {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }
    
    .form-section {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
}

/* Fieldset styling for grouped fields */
.govuk-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.govuk-fieldset__legend {
    font-weight: var(--fw-bold);
    font-size: 1.1875rem;
    margin-bottom: 1rem;
}

/* Radio and checkbox improvements */
.govuk-radios__item,
.govuk-checkboxes__item {
    margin-bottom: 1rem;
}

.govuk-radios__input + .govuk-radios__label::before,
.govuk-checkboxes__input + .govuk-checkboxes__label::before {
    border: 2px solid var(--color-black);
}

/* Button group for form actions */
.govuk-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* SECTION END: Enhanced Form Styling IDSK/GovUK */
/* ===================================================== */

/* ===================================================== */
/* SECTION: Feedback bar (IDSK3 govuk-feedback-bar)        */
/* https://idsk.gov.sk/komponenty/lista-spatnej-vazby     */
/* ===================================================== */

.govuk-feedback-bar {
    /* Pozadie #eeeeee podľa oficiálneho IDSK3 vzoru
       (komponenty.idsk3.gov.sk/components/feedback-bar). NIE --color-bg-hover (#f5f5f5). */
    background-color: #eeeeee;
    color: var(--color-black);
    clear: both;
    /* Reset IDSK3 beta dist `padding: 10px` — vnútorný `.govuk-width-container` musí
       byť na rovnakom horizontálnom offsete ako `.govuk-footer` (ktorý má padding: 40px 0 25px),
       aby ľavý ráj label-u a pravý ráj "Nahlásiť chybu" lícoval s pätičkou. Vertikálny rytmus
       drží `.govuk-feedback-bar__body { padding: 1rem 0 }` nižšie. */
    padding: 0;
}

.govuk-feedback-bar__body {
    /* Reset IDSK3 beta dist (`max-width: 1120px; margin: auto`) — lišta má licovať s pätičkou,
       teda zarovnať obsah s `.govuk-footer__meta` po šírke `.govuk-width-container` (1440px max). */
    max-width: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1rem 0;
}

.govuk-feedback-bar__question,
.govuk-feedback-bar__success-state {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    flex: 1 1 auto;
}

/* `display: flex` vyššie prebíja UA `[hidden] { display: none }` — bez tohto by success state
   svietil stále (aj pred odoslaním feedbacku). JS prepína cez `.hidden`, takže [hidden] musí vyhrať. */
.govuk-feedback-bar__success-state[hidden] {
    display: none;
}

.govuk-feedback-bar__label {
    margin: 0;
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 1rem;
    font-weight: var(--fw-bold);
    line-height: 1.5;
    color: var(--color-black);
}

.govuk-feedback-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.govuk-feedback-bar__actions .govuk-button {
    margin: 0;
}

.govuk-feedback-bar__success-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.govuk-feedback-bar__success-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.govuk-feedback-bar__action {
    margin-left: auto;
}

.govuk-feedback-bar__panel {
    background-color: var(--color-bg-hover);
    color: var(--color-black);
    border-top: 1px solid #e0e0e0;
}

.govuk-feedback-bar__panel[hidden] {
    display: none;
}

.govuk-feedback-bar__panel-inner {
    padding: 1.5rem 0 2rem;
    max-width: 760px;
}

.govuk-feedback-bar__panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.govuk-feedback-bar__panel-title {
    margin: 0;
}

.govuk-feedback-bar__close {
    background: none;
    border: 0;
    color: var(--color-black);
    cursor: pointer;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.govuk-feedback-bar__close svg {
    width: 24px;
    height: 24px;
    display: block;
}

.govuk-feedback-bar__close:hover,
.govuk-feedback-bar__close:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 2px;
}

.govuk-feedback-bar__panel-lead {
    margin-bottom: 1rem;
}

.govuk-feedback-bar__form-error {
    background-color: #fbeef0;
    border-left: 5px solid var(--color-error);
    color: var(--color-black);
    padding: 0.75rem 1rem;
    margin: 0 0 1rem;
}

.govuk-feedback-bar__panel .govuk-feedback-bar__actions {
    margin-top: 0;
    padding-top: 1rem;
    border-top: 0;
}

.govuk-feedback-bar__success {
    border-left: 5px solid #078814;
    background-color: #ebf5ec;
    padding: 1rem 1.25rem;
}

.govuk-feedback-bar__useful-form {
    flex: 1 1 100%;
    padding: 0.75rem 0;
    max-width: 760px;
}

.govuk-feedback-bar__useful-form .govuk-label {
    margin: 0 0 0.5rem;
    font-weight: var(--fw-bold);
    color: var(--color-black);
}

.govuk-feedback-bar__useful-textarea {
    width: 100%;
    resize: vertical;
    margin-bottom: 0.75rem;
}

.govuk-feedback-bar__useful-actions {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.govuk-feedback-bar__useful-actions .govuk-button {
    margin: 0;
}

@media (max-width: 640px) {
    .govuk-feedback-bar__action {
        margin-left: 0;
        width: 100%;
    }
}

/* Globálne pravidlo label.required::after pridáva ku každému required labelu hviezdičku
   prepísaním `content` z prázdneho stringu na " *". Problém: IDSK používa rovnaký
   `::after` pseudoelement na radio labeloch ako kruhový bod (border-radius, position:absolute,
   content:""). Keď Symfony pridá class `required`, hviezdička sa vykreslí vnútri kruhu
   namiesto bodky. Návrat na `content: ""` zachová IDSK bodku a potlačí hviezdičku.
   Hviezdička pri radio voľbe 1-z-N aj tak nedáva vizuálny zmysel — patrí k legend, nie ku každej voľbe. */
.feedback-form .govuk-radios__label.required::after {
    content: "";
}

/* SECTION END: Feedback bar */
/* ===================================================== */