main>.container,
main>.container-fluid {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container,
.footer>.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form>button.logout:focus,
.navbar form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form>button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item>a {
    text-decoration: none;
}

.btn {
    font-size: 13px !important;
}

.alert-success {
    margin-top: 16px;
}

.alert-title {
    margin-bottom: 5px;
}

.form-control {
    font-size: 14px !important;
}

.help-block {
    font-size: 13px;
    color: #dc3545;
    margin-top: 6px;
}

.badge {
    font-size: 11px !important;
}

.bg-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}

.form-check-login {
    padding-left: 0.1em !important;
}

.form-label {
    margin-top: 6px;
    display: block;
    font-size: 13px;
}

.invalid-feedback {
    font-size: 13px !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

.remember-label {
    font-size: 14px !important;
}

.text-primary-ellenor {
    font-size: 14px !important;
}

.form-label-floating {
    font-size: 15px !important;
    margin-top: 1px !important;
}

.form-floating>.form-control:not(:placeholder-shown)~label::after {
    background-color: transparent !important;
}

.form-select {
    font-size: 14px !important;
}

.egyedi-blokk {
    padding: 10px !important;
}

.fs-md-egyedi {
    font-size: 18px !important;
}

.padding-content {
    padding-left: 7px !important;
    padding-right: 21px !important;
}

.egyedi-th {
    text-transform: uppercase;
    letter-spacing: 0.0625em;
    font-size: 12px;
    font-weight: 600;
}

#SelfcheckForm .hidden-radio,
#DailyCheckForm .hidden-radio {
    display: none;
}

#SelfcheckForm .check-mark,
#DailyCheckForm .check-mark {
    cursor: pointer;
}


.check-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* Rés a checkboxok között */
}

.check-mark {
    cursor: pointer;
    font-size: 20px;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #ccc;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-mark.selected.yes {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.check-mark.selected.no {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

td {
    vertical-align: middle;
    /* Függőleges középre igazítás a cellákban */
}

.active-card {
    background: #62a212 !important;
    background-color: #62a212 !important;
    background-image: none !important;
}

.kitoltendo-dokumentum-jobb-oszlop .table_holder {
    position: relative;
}

.kitoltendo-dokumentum-jobb-oszlop .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.kitoltendo-dokumentum-jobb-oszlop .blurred {
    filter: blur(5px);
    pointer-events: none;
    /* Optional: Prevent interactions with blurred content */
}

.megjegyzes-title {
    margin-bottom: 0px !important;
    font-size: 13px;
}


.tr_link_get_data {
    cursor: pointer;
}

.sos_button:hover {
    transform: scale(1.05);
}

#page-header {
    background: linear-gradient(270deg, #fae8b4 0%, #efc241 100%) !important;
}

body .bg-body-extra-light {
    background-color: #fae8b4 !important;
}

.form-select:focus {
    border-color: #cfcfcf !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgb(250 232 180 / 42%) !important;
}

.form-control:focus {
    border-color: #cfcfcf !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgb(250 232 180 / 42%) !important;
}

.block-header .card-header {
    background: linear-gradient(135deg, #efc241 0%, #fae8b4 100%) !important;
}

.card-header {
    background: linear-gradient(135deg, #efc241 0%, #fae8b4 100%) !important;
}

a.link-fx::before {
    background-color: #2c3034bf !important;
}

.accordion-button:not(.collapsed) {
    color: #2c3034 !important;
    background-color: #ffffff94 !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgb(250 232 180 / 42%) !important;
}

.alert-info {
    color: #2c3034 !important;
    background-color: #fae8b494 !important;
    font-size: 14px;
}

.ticket_button {
    transition: transform 0.3s ease !important;
}

.ticket_button:hover {
    transform: scale(1.1);
}

.form-check-input.is-valid:checked {
    background-color: #5c5a5b !important;
}

.was-validated .form-check-input:valid,
.form-check-input.is-valid {
    border-color: #5c5a5b !important;
}

.form-check-input.is-valid~.form-check-label {
    color: #2c3034 !important;
}

.was-validated .form-check-input:valid:focus,
.form-check-input.is-valid:focus {
    box-shadow: 0 0 0 0.25rem rgb(53 206 143 / 29%) !important;
}

.form-check-input:checked {
    background-color: #5c5a5b !important;
    border-color: #5c5a5b !important
}

/*a.text-primary:hover,
a.text-primary:focus {
    color: #4bb187 !important;
}*/

.bg-feher-qa {
    background: #fff !important;
    border: solid 1px #f0f2f5 !important;
}

.page-link.active,
.active>.page-link {
    background-color: #fcf2d3 !important;
    border-color: #fcf2d3 !important;
    color: #2c3034 !important;
}

.item.item-circle.bg-gd-sarga.mx-auto.my-3 {
    width: 7rem;
    height: 7rem;
}

#page-container.page-header-fixed #page-header {
    position: fixed;
    box-shadow: 0 0.25rem 0.625rem rgb(114 114 114 / 17%) !important;
}

footer#page-footer {
    box-shadow: 1px 0rem 0.625rem rgb(114 114 114 / 17%) !important;
}

@media (max-width: 767px) {
    a.text-center.ticket_button.bg-feher-qa {
        width: auto !important;
        position: fixed !important;
        margin: 0 !important;
        transition: transform 0.3s ease !important;
        margin-left: 2px !important;
        top: 12px !important;
        border-radius: 10px !important;
        padding: 0 5px !important;
    }

    /* Mobile-specific optimizations for ellenorzesi formok */
    .mobile-menu-toggle {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .mobile-card-link {
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-content-area {
        -webkit-overflow-scrolling: touch;
    }

    /* Improved table responsiveness */
    .mobile-table-container table {
        border-collapse: collapse;
        width: 100%;
    }

    .mobile-table-container th,
    .mobile-table-container td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
        word-wrap: break-word;
    }

    /* Better form spacing on mobile */
    .mobile-form-container .form-group {
        margin-bottom: 1rem;
    }

    .mobile-form-container .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Sticky date selector on mobile 
    .content-heading {
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        z-index: 1040;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
        */
}

#notification-list .favicon_holder_on_top {
    margin-left: 1rem !important;
}

#notification-list .text_holder {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.bg-sarga {
    background-color: #efc241 !important;
}

.bg-feher {
    background-color: #ffffff !important;
}

@media (max-width: 576px) {
    .mobile-break::before {
        content: '\A';
        white-space: pre;
    }
}

.bg-gd-sarga {
    background: linear-gradient(135deg, #efc241 0%, #fae8b4 100%) !important;
}

input#kesztermekform-lotnumbers {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-check-input:focus {
    border-color: #cfcfcf !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgb(250 232 180 / 42%) !important;
}

.was-validated .form-check-input:valid:focus,
.form-check-input.is-valid:focus {
    border-color: #cfcfcf !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgb(250 232 180 / 42%) !important;
}

.was-validated .form-check-input:valid,
.form-check-input.is-valid {
    border-color: #d1d7e1 !important;
}

button.swal2-confirm.swal2-styled {
    box-shadow: none !important;
    background: #5c5a5b !important;
    padding: 6px 13px;
    font-size: 14px;
}

button.swal2-confirm.swal2-styled:hover {
    background: #efc241 !important;
}

h2#swal2-title {
    font-size: 24px;
}

button.swal2-confirm.btn.btn-alt-primary.btn-lg.m-1 {
    background: #efc241 !important;
    color: #fff;
    padding: 6px 12px;
}

button.swal2-cancel.btn.btn-secondary.m-1 {
    background: #5c5a5b !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    border: 0;
    border-radius: .25em;
    background: initial;
    color: #fff;
    font-size: 14px;
    padding: 6px;
    display: inline-block;
    background-color: rgb(221, 51, 51);
}

/* Validációs hibák stílusai */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}