:root {

    --background:        #fafafa;
    --tesco-blue:        #00539f;
    --tesco-red:         #ed1c24;
    --footer-background: #f1f1f1;
    --footer-text:       #666666;

    --color-grey-0: hsl(0,0%,13%);
    --color-grey-1: hsl(0,0%,20%);
    --color-grey-2: hsl(0,0%,31%);
    --color-grey-3: hsl(0,0%,51%);
    --color-grey-4: hsl(0,0%,74%);
    --color-grey-5: hsl(0,0%,88%);
    --color-grey-6: hsl(0,0%,95%);

    --primary: #f44336;
    --primary-light: #ff7961;
    --primary-dark: #ba000d;
    --primary-very-light: #ffe1df;
    --secondary: #424242;
    --secondary-light: #6d6d6d; 
    --secondary-dark: #1b1b1b;
    --secondary-very-light: #efefef;
    --secondary-very-light-darker: #d6d6d6;

    --font-family: "TESCO Modern", Verdana, Geneva, Tahoma, sans-serif;

    --header-height: 3.5rem;
}

body {
    overflow: auto;
    min-height: 120vh;
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-rows: max-content 1fr;
    grid-template-areas: "sidebar main-header" "sidebar main" "sidebar footer";
}

main {
    grid-area: main;
    padding: 20px 40px;
    overflow: hidden;
}

.newbutton {
    padding-top: 1em;
    padding-left: 40px;
}

.newbutton button {
    height: 2em;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-family);
    cursor: pointer;
    width: 200px;
    margin-bottom:10px;
    opacity: 0.8;
    background-color: var(--tesco-blue);
}

.newbutton button:hover {
    opacity: 1;
}

red {
    color: var(--tesco-red);
}

blue {
    color: var(--tesco-blue);
}

.red {
    color: var(--tesco-red);
}

.blue {
    color: var(--tesco-blue);
}

.bold {
    font-weight: bold;
}

.inactive {
    color: gray;
    font-style: italic;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.inactive {
    font-style: italic;
    color: var(--footer-text);
}

.blur.active {
    filter: blur(10px);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

.index-link {
    text-decoration: none;
    cursor: pointer;
    color: var(--tesco-blue);
    font-weight: bold;
}

.field-error {
    display: block;
    color: var(--tesco-red);
    font-size: 0.85rem;
    line-height: 1.2;
    margin-top: 4px;
    min-height: 0;

    transition: margin 0.2s ease, opacity 0.2s ease;
}

.field-error:empty {
    opacity: 0;
}

.field-error:not(:empty) {
    margin-top: 4px;
    /* margin-bottom: 10px; */ 
    opacity: 1;
}

/**********/
/* HEADER */
/**********/

/* hamburger desktopon nem látszik */
.mobile-menu-toggle {
    display: none;
}

.main-header {
    overflow: hidden;
    background-color: var(--tesco-blue);
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 9;
    justify-content: space-between;

    display: flex;                 /* egységes layout */
    align-items: center;
    justify-content: flex-end;     /* minden jobbra */
    gap: 12px;

    padding: 0 20px;
}

.main-header form {
    margin-right: 8px;
}

.main-header .btn {
    /* float: right; */
    /* display: block; */
    background-color: var(--tesco-blue);
    color: white;
    text-align: center;
    padding: 14px 16px;
    margin-right: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875em;
    font-family: var(--font-family);
}
  
/* Change background on mouse-over */
.main-header .btn:hover {
    background: white;
    color: var(--tesco-red);
}

.main-header__user {
    float: right;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-header__username {
    text-align: center;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 24px;
    font-size: 1.255em;
    font-family: var(--font-family);
    font-weight: 300;
}

.main-header__usericon {
    width: 32px;
    height: 32px;
    font-size: 0.875em;
    fill: white;
}

/***********/
/* SIDEBAR */
/***********/
.sidebar {
    grid-area: sidebar;
    width: 240px; height: 100vh;
    padding: 30px;
    background: var(--background);
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    overflow: auto;
}

.sidebar__header {
    padding-top: 10px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--color-grey-3);
    text-align: center;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.sidebar__nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 7px;
}
.sidebar__nav-item:hover {
    background-color: var(--tesco-blue);
}
.sidebar__nav-item:hover .sidebar__nav-text {
    color: white;
}
.sidebar__nav-item.active {
    background: #e6f0ff;
    border-left: 4px solid #005baa;
    font-weight: 600;
}
.sidebar__nav-item--active {
    font-weight: bold;
    background-color: hsl(0, 0%, 85%);
}
.sidebar__nav-item--disabled {
    pointer-events: none;
    color: var(--color-grey-3);
    fill: var(--color-grey-3);
}

.sidebar__nav-text {
    flex: 1;
    color: var(--tesco-blue);
    font-family: var(--font-family);
}

.sidebar__nav-button {
    all: unset;
    display: block;
    width: 100%;
    cursor: pointer;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 7px;
}
.sidebar__nav-text-button {
    flex: 1; 
    color: var(--tesco-red);
    font-family: var(--font-family);
}
.sidebar__nav-button:hover {
    color: white;
    background-color: var(--tesco-red);
}
.sidebar__nav-button:hover .sidebar__nav-text-button { 
    color: white; 
}

.sidebar__counter {
    background-color: var(--color-grey-1);
    color: var(--color-grey-6);
    padding: 1px 15px;
    border-radius: 30px;
}

.sidebar__logo {
    max-width: 240px;
}

/**********/
/* FOOTER */
/**********/
.main-footer {
    overflow: hidden;
    position: fixed;
    bottom: 0;
    background-color: var(--footer-background);
    width: 100%;
    height: 2em;
    z-index: 9;
}

.main-footer button {
    float: left;
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: var(--footer-text);
    font-size: 0.75em;
    font-family: var(--font-family);
    padding: 0.75em;
    border: none;
}

.main-footer button:hover {
    color: black;
}

/***********/
/* CONTENT */
/***********/
.title {
    padding-top: 1.5em;
    padding-left: 40px;
    font-size: 3em;
    font-weight: bold;
    font-family: var(--font-family);
}

.title span {
    color: var(--tesco-blue);
}

.title red {
    color: var(--tesco-red);
}

.news-item {

}

.news-image-container {

}

.news-image-container img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*****************/
/* CONTENT TABLE */
/*****************/
.lc-data-table {
    width: 100%;
    padding: 20px 40px;
    border-radius: 10px;
    background: var(--background);
    font-family: var(--font-family);
}

.lc-data-table__filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
.lc-data-table__filter-actions {
    display: flex;
    gap: 10px;
}
.lc-data-table__filter-action {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-grey-1);
    border-radius: 5px;
    position: relative;
}

.lc-data-table__filter-action--dark {
    background-color: var(--color-grey-2) ;
}
.lc-data-table__filter-action img {
    display: block;
}
.lc-data-table__search {
    background-color: var(--color-grey-2);
    border: none;
    border-radius: 2px;
    color: hsl(0,0%,100%);
    padding: 6px 20px;
    max-width: 900px;
    width: 100%;
    height: 2rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: .8rem;
}
.lc-data-table__search::placeholder {
    color: hsl(0,0%,100%);
    font-weight: 500;
}

.lc-data-table__head-separator {
    margin: 20px 35px 0 35px;
    border-bottom: 1px solid;
    border-top: none;
}
.lc-data-table th {
    padding: 25px 5px;
    text-align: left;
    text-decoration: underline;
    white-space: nowrap;
}
.lc-data-table__th--ordered {
    cursor: pointer;
}
.lc-data-table td {
    padding: 5px;
}
.lc-data-table__actions {
    display: flex;
    gap: 10px;
}
.lc-data-table__action {
    width: 32px;
    height: 32px;
    background-color: hsla(0,0%,100%, .7);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 2rem;
    cursor: pointer;
}

.lc-data-table__document-name {
    word-break: break-all;
}

.order-asc {
    transform: rotate(180deg);
}

.th-order {
    margin-left: 20px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.data-table__btn--icon {
    color: var(--secondary-light);
    font-size: 1rem;
    text-decoration: none;
}
.data-table__btn--icon:hover {
    color: #000;
}

.tooltip {
    position: relative;
}
.tooltip:hover::after {
	content: attr(ttp-title);
	background:var(--tesco-blue);
	color:#fff;
	border-radius:5px;
    display: block;
    width: max-content;
	left: -100%; right: -100%;
	bottom: calc(100% + 10px);
	margin: auto;
	padding: 5px 15px;
	position: absolute;
	white-space: nowrap;
	z-index: 98;
    text-align: center;
    box-shadow: 0 0 12px -1px rgba(0,0,0,.4);
    font-size: 1rem;
}
.tooltip:hover::before  {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    z-index: 99;
}
.tooltip.tooltip-top-right::after {
    bottom: calc(100% + 10px);
    right: 0;
    left: auto;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination {
    padding-top: 25px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.pagination__btn, .modal-pagination__btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-grey-2);
    cursor: pointer;
}

.pagination__btn:hover, .modal-pagination__btn:hover {
    color: var(--primary-light);
}
.pagination__btn .btn__icon path, .modal-pagination__btn .btn__icon path  {
    fill: var(--color-grey-2);
}
.pagination__btn--disabled {
    background-color: var(--secondary-very-light);
    color: var(--secondary-very-light-darker);
    box-shadow: none;
    pointer-events: none;
}

.pagination__btn--disabled svg path {
    fill: var(--secondary-very-light-darker);
}

.pagination__btn--number {
    min-width: 40px;
    color: var(--secondary);
    box-shadow: none;
    background-color: transparent;
}

.pagination__btn--number:hover {
    border: 1px solid var(--primary-light);
}

.pagination__btn--number.pagination__btn--active {
    background-color: var(--primary-light);
    color: hsl(0, 0%, 100%);
    box-shadow: 0 2px 4px hsl(0 0% 0% / 20%);
}

/**********/
/* FILTER */
/**********/
.filters-form {
    display: grid;
    grid-template-columns: max-content max-content 1fr;
    gap: 10px 20px;
    align-items: center;
}

.filters-form__separator {
    grid-column: 1/4;
}

.lc-form-fieldset {
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: none;
}

.lc-form-field {
    width: 100%;
    /* height: 44px; */
    padding: 12px 18px;
    border: 1px solid var(--color-grey-2);
    border-radius: 10px;
    font-weight: 500;
}

.lc-form-field--date {
    padding: 12px 18px;
    border: 1px solid var(--color-grey-2);
    border-radius: 10px;
    font-weight: 500;
}

.lc-form-field::placeholder {
    color: var(--color-grey-3);
}
.lc-form-group {
}

.lc-form-group--icon {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
}
.lc-form-group--icon .lc-form-field {  
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    outline: none;
}

.lc-form-group__icon {
    height: 100%;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid;
    border-left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.lc-form-group .error {
    font-size: .8rem;
}

.lc-form-error {
    color: var(--danger);
    font-size: .8rem;
    padding: 0 20px;
}

.lc-vertical-separator { 
    height: 80%;
    border-right: 2px solid var(--color-grey-5);
}
.lc-horizontal-separator { 
    width: 100%;
    border-top: 2px solid var(--color-grey-5);
}
.lc-panel {
    border: 1px solid var(--color-grey-5);
    border-radius: 10px;
}
.lc-panel__header {
    background: var(--background);
    padding: 15px 0;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.lc-panel__content {
    padding: 15px 30px;
}

.lc-panel__row {
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.lc-data-table button.btn--textured {
    background-color: var(--tesco-blue);
    width: auto;
    height: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 14px 40px;
    gap: 10px;
    color: hsl(0,0%,100%);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.lc-dropdown-menu {
    display: none;
    background-color: hsl(0,0%,100%);
    position: absolute;
    width: 365px;
    right: 0;
    top: 100%;
    transform: translateY(10px);
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 0px 6px hsla(0,0%,0%, .2);
}
.lc-dropdown-menu--open {
    display: block;
}
.lc-dropdown-menu__header {
    display: flex;
    justify-content: space-between;
    padding: 16px 40px;
    background: var(--tesco-blue);
    color: hsl(0,0%,100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 1.2rem;
}
.lc-dropdown-menu__close img{
    height: 1.2rem;
}
.lc-dropdown-menu__content {
    padding: 30px;
}
.filters-form__icon {
    width: 27px;
    color: var(--secondary);
}

/***************/
/* SMALL TABLE */
/***************/
.lc-data-table-small {
    width: 50%;
    padding: 40px 75px;
    border-radius: 10px;
    background: var(--background);
    font-family: var(--font-family);
}

.lc-data-table-small th {
    padding: 25px 5px;
    text-align: center;
    text-decoration: underline;
    white-space: nowrap;
}

.lc-data-table-small td {
    padding: 5px;
}

.lc-data-table-small_right {
    text-align: right;
    padding-right: 40px;
}

.lc-data-table-small__actions {
    display: flex;
    gap: 10px;
}
.lc-data-table-small__action {
    width: 32px;
    height: 32px;
    background-color: hsla(0,0%,100%, .7);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 2rem;
    cursor: pointer;
}

.lc-data-table-small__document-name {
    word-break: break-all;
}

.lc-data-table-small_amount input[type=text] {
    float: right;
    padding-right: 20px;
    min-width: 10em;
    height: 2em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: white;
    text-align: right;
    font-family: var(--font-family);
}

.lc-data-table-small button {
    height: 1.25em;
    width: 30px;
    border: none;
    cursor: pointer;
    background-color: var(--background);
}

.right {
    justify-content: right;
}

.lc-data-table-large_reason input[type=text] {
    float: left;
    padding-right: 10px;
    min-width: 30em;
    height: 2em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: white;
    text-indent: 0.5%;
    font-family: var(--font-family);
}

.lc-data-table button {
    height: 1.25em;
    width: 30px;
    border: none;
    cursor: pointer;
    background-color: var(--background);
}


/****************/
/* CONTENT_EDIT */
/****************/
.edit-content {
    overflow: hidden;
    display: grid;
    padding: 20px;
    /* gap: 8px 20px; */
    gap: 20px;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 1.25em auto;
    background-color: var(--background);
}

.edit-content_show-name {
    text-align: right;
    height: 1em;
    padding: 5px;
    font-family: var(--font-family);
}

.edit-content_show-value a {
    color: var(--tesco-blue);
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-family);
}

.edit-content_show-value {
    text-align: left;
    /* height: 1em; */

    height: auto;
    line-height: 1.4;

    padding: 5px;
    font-family: var(--font-family);
}

.edit-content_show-longtext-value {
    text-align: left;
    height: auto;
    padding: 5px;
    font-family: var(--font-family);
}

.edit-content_show-file {
    text-align: left;
    padding-left: 5px;
    font-family: var(--font-family);
}

.edit-content_show-file-container {
    display: flex; 
    align-items: center; 
    gap: 10px;
    /* padding-top: 9px; */
}

.edit-content_name {
    text-align: right;
    min-height: 1.25em;
    height: auto;
    padding: 6px 10px;
    /* padding-top: 14px; */
    font-family: var(--font-family);
}

.edit-content_value {
    /* padding: 10px;
    padding-left: 5px; */
    padding: 4px 5px;
    min-height: 1.25em;
    height: auto;
    font-family: var(--font-family);
}

.edit-content_filevalue {
    /* padding: 10px; */
    height: auto;
    font-family: var(--font-family);
}

.edit-content_fix_value {
    text-align: left;
    min-height: 1.25em;
    height: auto;
    /* padding: 10px; */
    padding: 4px 5px;
    border-top: 5px;
    font-family: var(--font-family);
    font-weight: bold;
}

.edit-content_fix_value input[type=text], .edit-content_value input[type=password], .edit-content_value input[type=date] {
    min-width: 250px;
    height: 2em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: var(--background);
    text-indent: 2.5%;
    font-family: var(--font-family);
    font-weight: bold;
    /* font-size: 125%; */
}

.edit-content_value input[type=text], .edit-content_value input[type=password], .edit-content_value input[type=date] {
    min-width: 250px;
    height: 2em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: white;
    text-indent: 2.5%;
    font-family: var(--font-family);
}

.edit-content_value input[type=checkbox] {
    height: 2em;
    width: 1.5em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: white;
}

.edit-content_value_radio {
    padding: 10px;
    font-family: var(--font-family);
}

.edit-content_value_radio a {
    color: var(--tesco-blue);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.edit-content_value_fieldset {
    font-family: var(--font-family);
    border: none;
}

.edit-content_value select {
    min-width: 256px;
    height: 2.2em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: white;
    text-indent: 2.5%;
    font-family: var(--font-family);
}

.edit-content_value_worksince {
    /* padding: 10px; */
    padding: 4px 5px;
    min-height: 1.25em;
    height: auto;
    display: inline-flex;
    justify-content: space-between;
    gap: 10px;
}

.edit-content_value_worksince select {
    height: 2.2em;
    border: 1px solid;
    border-color: var(--color-grey-2);
    border-radius: 5px;
    background: white;
    text-indent: 2.5%;
    font-family: var(--font-family);
}

.year {
    width: 6em;
}

.month {
    width: 3em;
}

.edit-content_footer {
    display: grid;
    justify-items: center;
    padding: 20px;
    padding-bottom: 60px;
    gap: 25px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 4em auto;
    background-color: var(--background);
}

.edit-content_footer_3 {
    display: grid;
    justify-items: center;
    padding: 20px;
    padding-bottom: 60px;
    gap: 25px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 4em auto;
    background-color: var(--background);
}

.edit-content_footer button, .edit-content_footer_3 button {
    height: 3.5em;
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 1.5rem;
    font-size: 1em;
    font-family: var(--font-family);
    cursor: pointer;
    width: 200px;
    margin-bottom:10px;
    opacity: 0.8;
}

.edit-content_footer .btn, .edit-content_footer_3 .btn {
    right: 25px;
    background-color: var(--tesco-blue);
}
  
.edit-content_footer .cancel, .edit-content_footer_3 .cancel {
    left: 25px;
    background-color: var(--tesco-red);
}

.edit-content_footer .btn:hover, .edit-content_footer_3 .btn:hover {
    opacity: 1;
}

.content-area {
    background-color: var(--background);
    justify-items: center;
    padding: 20px;
}

.content-area textarea {
    resize: none;
    height: 30em;
    width: 100%;
    font-family: var(--font-family);
    font-size: 1em;
}

.content-area-newsfeed {
    background-color: var(--background);
    padding: 5px;
    font-family: var(--font-family);
}

.textarea-as-span {
    font-family: var(--font-family);
}

.content-area-newsfeed textarea {
    resize: none;
    height: 20em;
    width: 90%;
    min-width: 250px;
    border-radius: 5px;
    font-family: var(--font-family);
    text-indent: 2.5%;
}

.textarea-counter-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0; 
}

.characterCounter {
    float: left;
    padding-left: 10px;
    height: 1em;
    color: var(--color-grey-4);
    font-family: var(--font-family);
}

.edit-content_file-open {
    padding-left: 10px;
}

.edit-content_file-open button {
    width: 50px;
    border: none;
    cursor: pointer;
    background-color: var(--background);
}

/* Üzenetjelző */
.nav-with-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge {
    background: var(--tesco-red);
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    /* padding: 0 5px; */
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: bold;
}

/* Filterjelző */
.filter-trigger {
    position: relative;
}

.filter-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: var(--tesco-red);
    border-radius: 50%;
}

.filter-badge {
    position: absolute;
    top: -6px;
    right: -8px;

    background: var(--tesco-red);
    color: white;

    min-width: 18px;
    height: 18px;

    font-size: 11px;
    font-weight: 600;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* empty table üzenet */
.empty-table {
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-style: italic;
    font-family: var(--font-family);
}

/***********************/
/* FILE UPLOAD SPINNER */
/***********************/
.upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

/* kör spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid var(--tesco-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/************************************************************************************************/

.mobile-menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    padding: 10px;
}

/* natív file input elrejtése */
.file-input-hidden {
    position: fixed;
    inset: 0;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.gap-on-desktop {
    gap: 20px;
}

@media (min-width: 993px) {

    .sidebar__nav-button {
        width: 210px !important;
    }
    
    .currency-mobile {
        display: none;
    }

    .amount-label {
        display: none;
    }

    .file-upload-btn {
        display: none;
    }

    .file-upload-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 36px;
        height: 36px;
        border-radius: 50%;

        cursor: pointer;
    }

    .file-upload-icon svg {
        width: 24px;
        height: 24px;
        fill: #000;
    }

    .file-upload-icon:hover svg {
        fill: #000;
    }

    .gap-on-desktop {
        gap: 0px;
    }

    .mobile-logout { 
        display: none; 
    }

/*********/
/* POPUP */
/*********/
    .confirm-popup {
        display: none;
        position: fixed;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        border: 1px solid var(--footer-background);
        border-radius: 25px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        z-index: 10;
        font-family: var(--font-family);
    }

    .confirm-popup h1, .confirm-popup h3 {
        text-align: center;
        font-family: var(--font-family);
        color: var(--tesco-blue);
    }

    .confirm-popup span {
        text-align: center;
        font-family: var(--font-family);
    }

    .popup-container {
        max-width: 500px;
        padding: 10px;
        background-color: var(--background);
        border-radius: 25px;
    }

    .popup-container .center {
        overflow: hidden;
        display: grid;
        width: 100%;
        padding: 2.5%;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .popup-container-2button {
        overflow: hidden;
        display: grid;
        padding: 20px;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
        background-color: var(--background);
    }

    .popup-container .btn, .popup-container-2button .btn {
        background-color: var(--tesco-blue);
        color: white;
        padding: 16px 20px;
        border: none;
        border-radius: 1.5rem;
        font-size: 1em;
        font-family: var(--tesco-blue);
        cursor: pointer;
        width: 100%;
        margin-bottom:10px;
        opacity: 0.8;
    }
    
    /* Add a red background color to the cancel button */
    .popup-container .cancel, .popup-container-2button .cancel {
        background-color: var(--tesco-red);
    }
    
    /* Add some hover effects to buttons */
    .popup-container .btn:hover, .popup-container-2button .btn:hover {
        opacity: 1;
    }

    .pdf-modal .modal-body {
        max-width: 80% !important;
        width: 90vw !important;
        overflow: hidden;
    }

    .lc-data-table__action .action-text,
    .lc-data-table__actions .action-text {
        display: none;
    }

    .lc-data-table__action svg {
        display: inline;
    }

    .user-dropdown {
        display: none;
    }

    .main-header__userdropdown-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

}

/***************************************************************************/
/******************************* MOBIL NÉZET *******************************/
/***************************************************************************/


@media (max-width: 992px) {

    .red {
        color: var(--tesco-red) !important;
    }

    body {
        display: block;
        font-size: 1rem;
        /* overflow-x: hidden; */

        grid-template-columns: 1fr !important;
        grid-template-areas:
            "main-header"
            "main"
            "main-footer";
    }

    h1, h2, h3 {
        font-size: 1.2rem;
    }

    .currency-mobile {
        display: flex;
    }

    .layout {
        display: block !important;
        width: 100%;
    }

    main {
        padding-left: 0;
        padding-right: 0;
        /* overflow-x: hidden; */
    }

    .main-header {
        width: 100%;
        min-height: var(--header-height);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        padding-right: 14px;
        box-sizing: border-box;
    }

    .main-header__user {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .main-header__userdropdown-button {
        height: 40px;
        min-height: 40px;
        width: 40px;
        min-width: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-header__userdropdown-button:hover {
        background-color: white;
        cursor: pointer;
    }
    
    .main-header__usericon {
        width: 1.75rem;
        height: 1.75rem;
        flex-shrink: 0;
    }

    .main-header__usericon:hover {
        fill: var(--tesco-red);
    }

    /* a form már csak követi */
    .main-header form {
        display: flex;
        align-items: center;
        margin-left: 8px;
    }

    .main-header .btn {
        white-space: nowrap;
    }

    .main-header__username,
    .main-header .btn {
        line-height: 1;
    }

    .user-dropdown {
        position: fixed;
        z-index: 99999;
        top: 55px;
        right: 10px;

        background: var(--tesco-blue);
        color: white;

        border-radius: 8px;
        padding: 12px;

        box-shadow: 0 4px 16px rgba(0,0,0,0.2);

        display: none;
        min-width: 220px;

        font-family: var(--font-family);
    }

    .user-dropdown.open {
        display: block;
    }

    .user-dropdown__name {
        font-weight: bold;
        margin-bottom: 8px;
    }

    .user-dropdown__logout {
        margin-top: 10px;
        width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 8px;
        color: white;
        z-index: 10000;
    }

    .content-wrapper, .content-area {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 10px !important;
    }

    header {
        position: relative;
        padding-left: 50px; /* hely a hamburgernek */
        flex-wrap: wrap;
        gap: 6px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;

        height: 100vh;
        width: 85vw;
        max-width: 320px;

        background: var(--background);

        transform: translateX(-100%);
        transition: transform 0.25s ease;

        z-index: 9000;

        display: flex;
        flex-direction: column;

        overflow-y: auto;
        padding-top: 60px;
    }

    /* nyitott állapot */
    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
    }

    .sidebar__logo {
        max-width: 180px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .sidebar__nav-button {
        width: 290px !important;
    }
    .sidebar__nav-button:hover {
        color: white !important;
        background-color: var(--tesco-red);
    }

    .title {
        padding-top: 1.1em;
        padding-left: 20px;
    }

/******************/
/* EDIT KÉPERNYŐK */
/******************/

    .edit-content {
        display: block;
        padding: 10px;
    }

    /* Feliratok felül */
    .edit-content_name,
    .edit-content_show-name {
        text-align: left;
        padding: 6px 0 4px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .edit-content_name.top-spacing {
        padding-top: 40px;
    }

    /* Input blokk teljes szélességen */
    .edit-content_value,
    .edit-content_fix_value,
    .edit-content_value_worksince {
        /* padding: 0 0 14px; */
        width: 100%;
    }

    /* Inputok ne lógjanak ki */
    .edit-content_value input,
    .edit-content_fix_value input,
    .edit-content_value select,
    .edit-content_value_worksince select {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Munkaviszony kezdete */
    .worksince-row {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .worksince-row select {
        flex: 1 1 0;
        min-width: 0;
        width: 100%;
    }

    .worksince-row .year { 
        width: 6.5ch;
        min-width: 6.5ch;
        max-width: 6.5ch;
    }
    .worksince-row .month { 
        width: 4.5ch;
        min-width: 4.5ch;
        max-width: 4.5ch;
    }

    /* Feltöltött fájlnév */
    .edit-content_show-file-container {
    max-width: 100%;
}

    .edit-content_show-file-container strong {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* Gombok egymás alatt */
    .edit-content_footer {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .edit-content_footer button {
        width: 100%;
        height: 40px;
    }

/**********/
/* GOMBOK */
/**********/

    .newbutton button {
        height: 40px;
        font-weight: 600;
        border-radius: 999px;
        opacity: 1;
    }

    .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;

        width: 100%;
        min-height: 40px;

        padding: 0 20px;
        border-radius: 999px;

        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        font-family: var(--font-family);

        background: var(--tesco-blue);

        border: none;
        cursor: pointer;

        box-sizing: border-box;
    }

    /* Háromgombos footer */
    .edit-content_footer_3 {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 8px;
    }

    .edit-content_footer_3 .btn {
        width: 100%;
        min-height: 40px;
        border-radius: 999px;
        font-size: 1rem;
    }


    /* mobilos fájlválasztó gomb */
    .file-upload-btn {
        /* display: flex; */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;

        /* width: 100%; */
        width: fit-content;
        max-width: 92%;
        padding: 0 20px;
        height: 40px;

        background: var(--tesco-blue);
        color: #fff;

        border-radius: 999px;
        font-size: 1rem;
        font-weight: 600;
        font-family: var(--font-family);

        cursor: pointer;
        box-sizing: border-box;
    }

    /* ikon */
    .file-upload-btn svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }

    /* hover (mobilon is jól néz ki) */
    .file-upload-btn:active {
        background: #003f7f;
    }

    /* desktopos ikon elrejtése */
    .file-upload-icon {
        display: none;
    }

    /* logout */
    .mobile-logout {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;

        padding: 0 !important;
        border-radius: 50% !important;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        background: var(--tesco-blue);

        flex: 0 0 40px !important;
    }

    /* ikon mérete */
    .mobile-logout svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }

    .mobile-logout:hover svg {
        width: 20px;
        height: 20px;
        fill: var(--tesco-red);
    }

    .desktop-logout { display: none; }

/*********************************************************/

/* fájlnév melletti ikon gombok – KOMPAKT verzió */
.file-action-compact {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    padding: 0 !important;
    border-radius: 50% !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: var(--tesco-blue);

    flex: 0 0 40px !important;
}

/* ikon mérete */
.file-action-compact svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* szöveg teljes elrejtése */
.file-action-compact .action-text,
.file-action-compact span {
    display: none !important;
}

/* törlés gomb piros */
.file-action-compact.file-action-delete {
    background: var(--tesco-red);
}


/*************************/
/* SMALL TABLE KÉPERNYŐK */
/*************************/

    /* egész táblázat blokká alakul */
    .lc-data-table-small,
    .lc-data-table-small thead,
    .lc-data-table-small tbody,
    .lc-data-table-small tr,
    .lc-data-table-small td,
    .lc-data-table-small tfoot {
        display: block;
        width: 100%;
    }

    .lc-data-table-small,
    .lc-data-table-small * {
        box-sizing: border-box;
    }

    .lc-data-table-small {
        padding: 0;
        padding-top: 16px;
    }

    .lc-data-table-small_right {
        text-align: right;
        padding-right: 0;
    }

    /* fejléc elrejtése mobilon */
    .lc-data-table-small thead {
        display: none;
    }

    /* egy sor = egy kártya */
    .lc-data-table-small tbody tr {
        width: 100%;
        max-width: 92%;
        margin: 0 auto 14px;

        background: #fff;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    /* szöveg */
    .lc-data-table-small td:first-child {
        font-size: 0.95rem;
    }

    /* teljes sor */
    .amount-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
    }

    /* bal oldal */
    .amount-label {
        font-weight: 600;
        text-align: left;
        /* white-space: nowrap; */
    }

    /* jobb oldal (szám) */
    .amount-value{
        display: inline-flex;
        align-items: baseline;
        gap: 4px;
        white-space: nowrap;
        font-weight: 400;
    }

    /* pénznem */
    .lc-data-table-small_right,
    .currency-mobile {
        display: inline;
        font-weight: 400;
        white-space: nowrap;
    }

    /* művelet */
    .lc-data-table-small td:last-child {
        display: flex;
        justify-content: center;
    }

    /* gomb */
    .lc-data-table__action {
        width: 100%;
        max-width: 100%;
        height: 40px;
        border-radius: 999px;
        background: var(--tesco-blue);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lc-data-table__action svg {
        height: 20px;
        fill: #fff;
    }

    /* új hozzáadása sor */
    .lc-data-table-small tfoot tr {
        background: #fff;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
        width: 100%;
        max-width: 92%;
        margin: 0 auto 14px;
   }

    .lc-data-table-small_amount input {
        width: 100%;
        height: 40px;
        font-size: 0.95rem;
        text-align: center;
        box-sizing: border-box;
    }

    .lc-data-table-small tfoot .lc-data-table__actions {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .lc-data-table-small tfoot button {
        width: 100%;
        max-width: 100%;
        height: 40px;
        border-radius: 999px;
        background: var(--tesco-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .lc-data-table-small tfoot button svg {
        fill: #fff;
        height: 20px;
    }

    .lc-data-table-small tfoot span {
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        color: #fff;
        font-family: var(--font-family);
    }

/**************************/
/* NORMÁL TABLE KÉPERNYŐK */
/**************************/

    .lc-data-table,
    .lc-data-table thead,
    .lc-data-table tbody,
    .lc-data-table tr,
    .lc-data-table td,
    .lc-data-table tfoot {
        display: block;
        width: 100%;
    }

    .lc-data-table {
        padding: 10px;
        background: transparent;
    }

    .lc-data-table thead {
        display: none;
    }

    .lc-data-table,
    .lc-data-table * {
        box-sizing: border-box;
    }

    .lc-data-table tbody tr,
    .lc-data-table tfoot tr {
        /* display: block;
        background: #fff;
        margin-bottom: 1rem;
        border-radius: 12px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15); */
        max-width: 92%;
        margin: 0 auto 14px;
        background: #fff;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .lc-data-table tbody td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 0.35rem 0;
        border: 0;
        text-align: left;
        font-size: 0.95rem;
    }

    .lc-data-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        flex: 0 0 45%;
    }

    td::before { content: attr(data-label); }

    .lc-data-table tbody td:last-child {
        width: 100%;
        display: block;
        padding: 0;
    }

    .lc-data-table__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 12px;
        box-sizing: border-box;
    }

    .lc-data-table__action {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 12px;

        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        min-height: 40px;
        padding: 14px 16px;
        border-radius: 999px;

        background: var(--tesco-blue);
        color: #fff !important;
        font-weight: 600;
        text-decoration: none;
        font-size: 1rem;

        /* position: relative; */
        transition: background 0.2s ease, transform 0.1s ease;
    }

    .lc-data-table__action svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        flex: none !important;
        display: block;
        fill: #fff;
    }

    .action-text {
        display: inline;
    }

    /* új hozzáadása sor */
    .lc-data-table tfoot tr {
        /* display: block; */
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: #fff;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
        /* width: 100%; */
        max-width: 92%;
        margin: 0 auto 14px;
    }

    .lc-data-table tfoot td {
        width: 100%;
        display: block;
        padding: 0;
    }

    .lc-data-table-large_reason input {
        width: 100%;
        height: 40px;
        font-size: 0.95rem;
        text-align: center;
        box-sizing: border-box;
        margin-bottom: 10px;
    }

    .lc-data-table-large_reason input[type=text] {
        min-width: 10em !important;
    }

    .lc-data-table tfoot .lc-data-table__actions {
        /* margin-top: 10px; */
        display: flex;
        justify-content: center;
        /* flex-direction: column; */
        width: 100%;
        padding: 0;
    }

    .lc-data-table tfoot .lc-data-table__actions button {
        width: 100%;
        /* max-width: 100%; */
        height: 40px;
        border-radius: 999px;
        background: var(--tesco-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .lc-data-table tfoot button svg {
        fill: #fff;
        height: 20px;
    }

    .lc-data-table tfoot span {
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        color: #fff;
        font-family: var(--font-family);
    }

    /* Tooltip buborék kikapcsolása */
    .tooltip::before,
    .tooltip::after,
    .tooltip:hover::before,
    .tooltip:hover::after {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* A gomb felirata mindig látszik, hoverkor is */
    .lc-data-table__action::after,
    .lc-data-table__action:hover::after {
        content: attr(ttp-title) !important;
        display: inline-block !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-left: 10px !important;
        color: #fff !important;
        font-weight: 600;
        font-size: 0.95em;
        pointer-events: none;
    }

    /* Szöveg soha nem ugrik le */
    .lc-data-table__action span,
    .lc-data-table__action::after,
    .lc-data-table__action::before {
        white-space: nowrap;
    }

    /* Hover NE változtassa meg a méretet */
    .lc-data-table__action:hover {
        background: #003f7f;
        transform: none;
        padding: 14px 18px;
    }

    .tooltip,
    .tooltip * {
        pointer-events: auto;
    }

    .tooltip::before,
    .tooltip::after,
    .tooltip:hover::before,
    .tooltip:hover::after {
        content: none !important;
        display: none !important;
    }

    /* Ne változzon a gomb belső szerkezete hoverkor */
    .lc-data-table__action,
    .lc-data-table__action:hover,
    .lc-data-table__action:focus {
        grid-template-columns: 32px 1fr !important;
    }

/********************/
/* LAPOZÓ BETŰMÉRET */
/********************/

    .lc-data-table tfoot .pagination span {
        font-size: 1.5rem;
        font-weight: 400;
        color: black;
    }

/******************/
/* FILE VIEW GOMB */
/******************/

    /* fájl megtekintő gomb – ikon only */
    .lc-data-table__action.fileview {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px;
        
        border-radius: 50%;
        background: var(--tesco-blue);

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
    }

    /* ikon */
    .lc-data-table__action.fileview svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }

    /* szöveg elrejtése */
    .lc-data-table__action.fileview .action-text {
        display: none;
    }

/*****************/
/* CONFIRM POPUP */
/*****************/
    
    /* overlay */
    .confirm-popup {
        display: none;
        position: fixed;
        inset: 0;
        align-items: center;
        justify-content: center;
        padding: 12px;
        font-family: var(--font-family);
    }

    .confirm-popup.active {
        display: flex;
    }

    /* popup doboz */
    .confirm-popup .popup-container {
        width: 100% !important;
        max-width: 90vw !important;
        padding: 24px 20px !important;

        box-shadow: 0 10px 30px rgba(0,0,0,0.25) !important;
        border-radius: 18px !important;
        background: #fff !important;
    }
    
    /* cím */
    .confirm-popup h1, .confirm-popup h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        text-align: center;
        font-family: var(--font-family);
        color: var(--tesco-blue);
    }

    /* rekord neve */
    .confirm-popup .center.bold {
        margin-bottom: 20px;
        text-align: center;
    }

    /* szöveg */
    .confirm-popup span {
        text-align: center;
        font-family: var(--font-family);
    }
    
    /* gomb konténer 2 gombos – EGYMÁS ALÁ */
    .confirm-popup .popup-container-2button {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        background: var(--background);
    }

    /* gombok – TELJES SZÉLESSÉG */
    .confirm-popup .popup-container .btn,
    .confirm-popup .popup-container-2button .btn,
    .confirm-popup .viewer .popup-container .btn,
    .confirm-popup .viewer .popup-container-2button .btn {
        width: 100% !important;
        height: 40px !important;
        border-radius: 999px !important;
        font-size: 1rem;
        font-family: var(--font-family);
        color: #fff;
        background: var(--tesco-blue);
    }

    /* Add a red background color to the cancel button */
    .popup-container .cancel, 
    .popup-container-2button .cancel {
        background-color: var(--tesco-red) !important;
    }

    /* Add some hover effects to buttons */
    .popup-container .btn:hover, .popup-container-2button .btn:hover {
        opacity: 1 !important;
    }

/******************/
/*** PDF VIEWER ***/
/******************/

    /* minden wrapper block legyen */
    #pdf-view-wrapper,
    .pdf,
    .pdf-actions {
        display: block !important;
        float: none !important;
        width: 100% !important;
        padding: 0 !important;
    }

    /* pager simán felül */
    .pdf-actions {
        position: relative !important;
        padding: 10px 0;
        background: white;
        border-bottom: 1px solid #eee;
    }

    /* PDF pager gombok ne legyenek full width */
    .pdf-actions .btn-round {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        flex: none !important;
    }

    .pdf-action-paging {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    /* PDF normál blokk */
    .pdf canvas {
        display: block !important;
        max-width: 100%;
        height: auto !important;
    }

    /* PDF pager override */
    .pdf-action-paging {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px;
    }

    .pdf-actions .btn-round {
        display: inline-flex !important;
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 auto !important;
    }

    .pdf-modal .modal-body {
        width: 100vw !important;
        max-width: 98% !important;
        margin: 5px !important;
        padding: 0 !important;
    }

    .pdf-canvas-host {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pdf-canvas-host canvas {
        display: block;
    }

    .pdf-modal {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        z-index: 9999;
    }

    /* Teljes touch zoom tiltás PDF területen */
    #pdf,
    .pdf-canvas-host,
    .pdf-canvas-host canvas {
        touch-action: pan-y pan-x;
    }

}
