#overlay{
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height:100%;
    display: none;
    background: rgba(0,0,0,0.8);
}
.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
.spinnerText {
    color: white;
    margin-top: 10px;
    font-size: 16px;
}
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}
.is-hide{
    display:none;
}
.sidebar {
    border-right: solid 1px #EBEBEB !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}
.settings-footer {
    border-top: solid 1px #e2e8ee;
}
.offcanvas .select2 {
    /*width:100% !important;*/
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top:-3px !important;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear {
    margin-top: 2px !important;
}
#offcanvasTorzsAdatDataTableRendezes .offcanvas-body {
    margin:0 !important;
    padding-left:20px !important;
    padding-right:20px !important;
    padding-bottom:20px !important;
    padding-top:20px !important;
}
.sortable-ghost {
    opacity: .5;
    background: #EBEBEB;
}

.dataTables_info, .dataTables_paginate {
    padding-top: 15px !important;
}

.upload-demo .upload-demo-wrap,
.upload-demo.ready .upload-msg {
    display: none;
}

.upload-demo.ready .upload-demo-wrap {
    display: block;
}

.upload-demo-wrap {
    width: 300px;
    height: 300px;
    margin: 15px 0 50px 0;
}

.upload-msg {
    text-align: center;
    padding: 110px 50px 50px 50px;
    font-size: 22px;
    color: #aaa;
    background: #f6f6f6;
    width: 300px;
    height: 300px;
    margin: 15px 0 -10px 0;
    border: 1px solid #aaa;
}

.chart-action {
    transition: background .25s,border-color .25s;
    background: rgba(40,44,52,.05);
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 6px;
    color: #3080d0;
    text-decoration: none !important;
    display: inline-block;
    font-size: .8rem;
    padding: 8px 16px;
    margin: 0 8px 8px 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.chart-action:hover {
    background: rgba(48,128,208,.15);
    border-color: rgba(48,128,208,.2);
    color: #3080d0;
}

.theme-default-content:not(.custom) a:hover {
    text-decoration: underline;
}

.sidebar {
    z-index: 10 !important;
}

.DataTableCustomFilter {
    width: 30% !important;
    min-width: 30% !important;
    max-width: 30% !important;
}
.DataTableCustomHeaderButton {
    width: 70% !important;
    min-width: 70% !important;
    max-width: 70% !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 200px !important;
}

.fc-col-header-cell-cushion {
    text-decoration: none !important;
}

.fc-scrollgrid-sync-inner a, .fc-scrollgrid-sync-inner a:hover, .fc-scrollgrid-shrink-frame a, .fc-scrollgrid-shrink-frame a:hover {
    text-decoration: none !important;
    color: #6c757d !important;
}

/* A kiválasztott tartomány színe */
.irs--flat .irs-bar {
    background-color: var(--bs-primary) !important;
}

/* A gomb (fogantyú) színe */
.irs--flat .irs-handle > i:first-child {
    background-color: var(--bs-primary) !important;
}

/* A buborékok (értékjelzők) színe */
.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
    background-color: var(--bs-primary) !important;
}

/* A kis nyilacska a buborék alatt */
.irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
    border-top-color: var(--bs-primary) !important;
}

/* Hover állapot (kicsit sötétebb verzió az interakcióhoz) */
.irs--flat .irs-handle:hover > i:first-child {
    filter: brightness(0.85);
}

.notyf__ripple {
    border-radius: 0 !important;
}

.btn-silver {
    color: #495057;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    font-size: .875rem;
    font-weight: 500;
    padding: .475rem .75rem;
    border-radius: .2rem; /* Az AppStack finom, szögletesebb lekerekítése */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-silver:hover {
    color: #212529;
    background-color: #e9ecef;
    border-color: #ced4da;
}

.btn-silver:active, .btn-silver:focus {
    background-color: #dee2e6;
    border-color: #adb5bd;
    box-shadow: 0 0 0 0.2rem rgba(233, 236, 239, 0.5);
}

.btn-silver-gradient {
    /* Finom, selyemfényű ezüst színátmenet */
    background: linear-gradient(180deg, #ffffff 0%, #f1f3f5 50%, #e4e7eb 100%);
    color: #495057;
    border: 1px solid #ced4da;
    font-size: .825rem;
    font-weight: 400;
    line-height: 1.625;
    padding: .25rem .7rem;
    border-radius: .2rem; /* AppStack specifikus kerekítés */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.btn-silver-gradient:hover {
    color: #212529;
    /* Hoverre megfordul a fénytörés, amitől "fémesebb" lesz az interakció */
    background: linear-gradient(180deg, #f1f3f5 0%, #e4e7eb 50%, #d8dbe0 100%);
    border-color: #adb5bd;
}

.btn-silver-gradient:active {
    background: #e4e7eb;
    border-color: #969faa;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

/* Globális beállítás az összes tápanyag körhöz */
.nutrient-badge {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.65rem !important; /* Kicsit kisebb betű, hogy kényelmesen elférjen */
    padding: 0 !important;         /* A paddinget nullázzuk, a méretet a width/height adja */
    line-height: 1 !important;
}

.badge-no3 {
    background-color: #fa9c03 !important;
}
.badge-k {
    background-color: #6a6f77 !important;
}
.badge-fe {
    background-color: #8b4344 !important;
}
.badge-po4 {
    background-color: #01a378 !important;
}
.badge-mg {
    background-color: #223a90 !important;
}
.badge-mn {
    background-color: #a00c52 !important;
}
.badge-ca {
    background-color: #b61486 !important;
}