html {
    scroll-behavior: smooth;
}


.menu .active {
    background-color: #ED1846;;
}

.mess {
    background-color: #e8e8e8;
    color: #000;
    position: relative;
}
.mess:hover {
    background-color: #e8e8e8;
    color: #000;
}

.mess_count {
    position: absolute;
    top: -3px;
        right: -15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #ff3b30;
        color: white;
        font-size: 11px;
        font-weight: bold;
        min-width: 20px;
        height: 20px;
        border-radius: 10px;
        padding: 0 5px;
        line-height: 1;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        border: 2px solid white;
}


.rv-msg-icon {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
}

.rv-at {
    display: inline-block;
    color: #272727;
    animation: rv-pulse 1.6s infinite;
}

.rv-badge {
    position: absolute;
    top: -6px;
    right: -12px;
    background: #cc3366;
    /* #c36 */
    color: #fff;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 20px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}

@keyframes rv-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}


.select-one {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    background-color: #fff;
}

.select-one:hover {
    border-color: #007bff;
}

.select-one:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.select-one:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

table td.checkboxes {
        text-align: left;
            width: 90px;
}





/* Opcjonalnie: animacja przy dodaniu nowej wiadomości */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.menu .mess_count {
    animation: pulse 0.4s ease-in-out;
}


#content form button.select2-selection__clear>span,
#kz_datatable_filter {
    display: none !important;
}


.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #333;
    /* background-color: #e6e6e6; */
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #B9B9B9 !important;
    border: none;
    background: #E2E2E2;
    box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #ffffff !important;
    border: none;
    background-color: white;
    background: #03BEAC;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #333 !important;
    border: 1px solid transparent;
    border-radius: 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #ffffff !important;
    border: none;
    border-radius: 2px;
    background-color: #939598;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: none;
    background-color: #585858;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
    background: -moz-linear-gradient(top, #585858 0%, #111 100%);
    background: -ms-linear-gradient(top, #585858 0%, #111 100%);
    background: -o-linear-gradient(top, #585858 0%, #111 100%);
    background: linear-gradient(to bottom, #585858 0%, #111 100%);
}


input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    margin-top: 9px;


}

@media (min-width: 1200px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }
}



form.rv-form-root fieldset{
padding: 0;
    border: none;
}



div.czy_zam_wizyt {
margin-top: 30px;
margin-bottom: 30px;
background-color: #F2F2F2;
    padding: 20px;
}





#content>div>form.rv-form-root>fieldset>table.plain:nth-child(5)>tbody>tr:nth-child(1)>td:nth-child(1),
#content>div>form.rv-form-root>fieldset>table.plain:nth-child(5)>tbody>tr:nth-child(2)>td:nth-child(1),
#content>div>form.rv-form-root>fieldset>table.plain:nth-child(5)>tbody>tr:nth-child(3)>td:nth-child(1) {
    border-right: 4px solid #fff;
}
#content>div>form.rv-form-root>fieldset>table.plain:nth-child(5)>tbody>tr {
border-bottom: 4px solid #fff;
}


.rv-complaint-body .pliki {
    display: flex;
        flex-direction: row;

}

.rv-complaint-body .pliki a {
    width: 222px;
    max-width: 150px;
        max-height: 150px;
        display: block;
        margin: 0 30px;
}


.form-grid>label:nth-child(4n+1),
.form-grid>label:nth-child(4n+3) {
    justify-self: end;
}


.tabs-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Każda zakładka (= <a class="tab">) zajmuje 1/3 szerokości kontenera */
.tabs-container .tab {
    flex: 0 0 20%;
    max-width: 20%;
    box-sizing: border-box;
    text-align: center;
    padding: 8px 0;
    /* usuń poziome paddingi z PHP, teraz w CSS: */
    background: rgb(3, 190, 172);
    /* kolor domyślny */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.tabs-container .tab.tab50percent {
        flex: 0 0 51.2%;
            max-width: 48.4%;
}
/* Aktywna */
.tabs-container .tab.active {
    background: #ED1846;
    color: #fff;
}

/* Strzałki niech będą nienumerowanymi elementami między zakładkami,
   a nie wypychają tabów, więc usuwamy margin-left:auto; */
.tabs-right {
    margin-left: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    background-color: rgb(3, 190, 172) !important;
        color: #ffffff!important;
}

/* Ikonka strzałki */
.tab-arrow {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    align-self: center;
}

#content>div>div.tabs-container>div.tabs-right {
    /* width: 33%; */
}
#content>div>div.tabs-container>div.tabs-right>a {
    background-color: rgb(3, 190, 172);
        color: #ffffff;
        width: 100%;
}

.tab.disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: default;
}

.table-class {
    width: 100%;
    /* Pełna szerokość */
    border-collapse: collapse;
    /* Usuwa podwójne obramowanie */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* Subtelny cień dookoła tabeli */
    border-radius: 8px;
    /* Zaokrąglenie rogów tabeli */
    overflow: hidden;
    /* Zapewnia, że zaokrąglenia i cienie działają prawidłowo */
    margin-top: 20px;
    /* Dodaje trochę przestrzeni nad tabelą */
}

.table-class th,
.table-class td {
    text-align: left;
    /* Wyrównuje tekst do lewej */
    padding: 12px 15px;
    /* Dodaje padding dla komórek */
}

.table-class th {
    background-color: #007BFF;
    /* Kolor tła dla nagłówków */
    color: white;
    /* Kolor tekstu dla nagłówków */
}

.table-class td {
    border-bottom: 1px solid #dddddd;
    /* Dodaje subtelną linię oddzielającą wiersze */
}

/* Zmienia tło każdego drugiego wiersza dla lepszej czytelności */
.table-class tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Dodaje efekt hover, który zmienia tło wiersza, nad którym znajduje się kursor myszy */
.table-class tr:hover {
    background-color: #ddd;
}


a.button {
    background-color: rgb(3, 190, 172);
        color: rgb(255, 255, 255);
        border-radius: 8px;
        /* border: 2px solid #7E8299; */
        padding: 3px 11px;
        text-decoration: none;
}
a.button:hover {
    
    text-decoration: none;
    color: #fff;
    /* border: 2px solid #d50032; */
}

a.button_alert {
    background-color: #ff3b30;
        color: rgb(255, 255, 255);
        border-radius: 8px;
        /* border: 2px solid #7E8299; */
        padding: 3px 11px;
        text-decoration: none;
}


a.button_utworzenie_reklamacji {
    background-color: #ED1846;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding: 1em 2em 1em 1em;
    display: inline-block;
    margin-bottom: 21px;
    text-decoration: none;
    border-radius: 8px;
    transition: padding-right 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

a.button_utworzenie_reklamacji:hover {
    padding-right: 3em;
    background-color: #c1143a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

a.button_next {
    background-color: #ED1846;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding: 1em 2em 1em 1em;
    display: inline-block;
    margin-bottom: 21px;
    text-decoration: none;
    border-radius: 8px;
    /* transition: padding-right 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

a.button_next:hover {
    /* padding-right: 3em; */
    background-color: #c1143a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

a.button_powrót {
    background-color: #ED1846;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding: 1em 2em 1em 1em;
    display: inline-block;
    margin-bottom: 21px;
    text-decoration: none;
    border-radius: 8px;
    transition: padding-right 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

a.button_powrót:hover {
    padding-right: 3em;
    background-color: #c1143a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
a.button_powrót::before {
    content: '←';
    display: inline-block;
    margin-right: 0.5em;
    font-size: 1.2em;
    vertical-align: middle;
}


.button_next::after,
.button_utworzenie_reklamacji::after {
    content: '➔';
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: font-size 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.button_next:hover::after,
.button_utworzenie_reklamacji:hover::after {
    font-size: 24px;
    transform: translateY(-50%) scale(1.2);
}


a.czerwony {
    background-color: #ED1846;
    color: #ffffff;
}

.warning10 {
    background-color: red;
        color: #fff;
        padding: 0px 10px 0px 10px;
        border-radius: 10px;
}

.submit_zapisz_reklamacje {
        background-color: #ED1846;
            color: #ffffff;
            font-size: 20px;
            font-weight: bold;
            text-align: left;
            position: relative;
            padding: 1em 2em 1em 1em;
            display: inline-block;
            margin-bottom: 21px;
            text-decoration: none;
            border-radius: 8px;
            transition: padding-right 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


a.submit_wyslij_reklamacje {
        background-color: rgb(3, 190, 172);
            color: #ffffff;
            font-size: 20px;
            font-weight: bold;
            text-align: left;
            position: relative;
            padding: 1em 2em 1em 1em;
            display: inline-block;
            margin-bottom: 21px;
            text-decoration: none;
            margin-left: 20px;
            border-radius: 8px;
            transition: padding-right 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}





.submit_zapisz_reklamacje span.opis {
    font-size: 16px;
    font-weight: 400;
}
.reklamacja_pozycja {
    margin-bottom: 5px;
    padding-bottom: 17px;
    display: block;
    /* border-top: 1px solid #ccc; */
    padding-top: 17px;
    }

#content>div>form:nth-child(5)>table>tbody>tr>td>div>div:nth-child(1) {
border-top: none;
}


table.plain tbody>tr>td,
table.plain tbody>tr>th {
    background-color: #F2F2F2; 
}


table.plain tr {

        background: transparent !important;
  
}

table.plain td ,table.plain th {
    border: none;
}


table.plain input[type="text"],
table.plain input[type="email"],
table.plain input[type="tel"],
table.plain input[type="number"] {
    background-color: #fff;
    border: 1px solid #ccc;
}

table.plain input[type="text"][required],
table.plain input[type="email"][required],
table.plain input[type="tel"][required],
table.plain input[type="number"][required] {
    background-color: #fff;
border: 1px solid #F69090;
}

input[type="text"][required],
input[type="email"][required],
input[type="tel"][required],
input[type="number"][required] {
    background-color: #fff;
    border: 1px solid #F69090;
}

span.wymagane {
    font-weight: 400;
}




div.updated {
padding: 15px;
background: #fff3cd;
border-left: 4px solid #ffc107;
margin-bottom: 20px;
}






table.dataTable {
    width: 100%;
    margin: 0;
    clear: both;
    border-collapse: separate;
    border-spacing: 0;
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
    border-top: 2px dotted #d7d7d7;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #d5d5d5;
}


#kz_datatable>thead:nth-child(2)>tr>th
{
        border-top: none;
}
#kz_datatable>thead:nth-child(1)>tr>th {
    border-bottom: none;
}

select.kz_filter,
input.kz_filter {
    width: 90%;
    margin-top: 0;
}
#kz_datatable_length {
    /* width: 333px; */
    margin-bottom: 12px;
}
th.sorting {
    padding-left: 7px;
    padding-right: 7px;
}


#kz_datatable_length label{
    display: flex;
    column-gap: 22px;
        line-height: 1;
        vertical-align: middle;
        align-content: center;
        align-items: center;
}


#kz_datatable_length label select {
    margin-top: 0;
}

.kz_single_tabhead {
    padding: 20px;
    margin-bottom: 40px !important;
-webkit-box-shadow: 2px 0px 31px -11px rgba(66, 68, 90, 0.5);
    -moz-box-shadow: 2px 0px 31px -11px rgba(66, 68, 90, 0.5);
    box-shadow: 2px 0px 31px -11px rgba(66, 68, 90, 0.5);
}

.kz_single_tabbody {
    padding: 20px;
    margin-bottom: 40px !important;
-webkit-box-shadow: 2px 0px 31px -11px rgba(66, 68, 90, 0.5);
    -moz-box-shadow: 2px 0px 31px -11px rgba(66, 68, 90, 0.5);
    box-shadow: 2px 0px 31px -11px rgba(66, 68, 90, 0.5);
}
/* div.vc_btn3-container.kz_button.vc_btn3-center>a:hover */
div.vc_btn3-container.kz_button.vc_btn3-center>a
 {
background-color: #d50032 !important;
}

a.kz_button {
    background-color: #fff !important;
    border-radius: 8px!important;
    color: #7E8299!important;
    border: 2px solid #7E8299!important;
    padding: 10px 20px 10px 20px;
}

a.kz_button:hover {
    background-color: #d50032!important;
    text-decoration: none;
    color: #fff!important;
    border: 2px solid #d50032!important;
}
table.pozycje th{
    text-align: center;
}

body.page-id-5779 #kz_datatable>thead:nth-child(1)>tr>th:nth-child(12),
body.page-id-5779 #kz_datatable>thead:nth-child(1)>tr>th:nth-child(10)
{
    width: 190px !important;
}

#kz_datatable>thead>tr>th {
    /* padding: 10px; */
    padding: 10px 17px 10px 17px;
    /* white-space: nowrap!important; */
    /* Zapobiega łamaniu tekstu i wymusza poszerzenie kolumny */
}

body.page-id-5779#kz_datatable>thead:nth-child(1)>tr>th:nth-child(4),
#kz_datatable>thead>tr>th {
    word-break: break-all !important;
    word-wrap: break-word;
        white-space: normal;
    /* Złamanie długich słów */
}

.quarter-button {
    display: inline-block;
    margin: 5px;
    background-color: #f1f1f1;
    padding: 3px 20px;
    /* color: white; */
    color: #213764;
    text-decoration: none;
    border-radius: 5px;
}

.quarter-button:hover {
    background-color: #0073aa;
    color: white;
    text-decoration: none;
}

.quarter-header {
    display: inline;
}
.quarter-button-activ {
    background-color: #d50032 ;
    color: #fff;;
}

.nkz_row_title h2 {
    margin-left: 30px !important;
    /* display: inline-block !important; */
}

#kz_datatable_wrapper {
    position: relative;
}

#kz_datatable th.ni_comments {
    /* width: 300px;
    position: relative; */
}


#kz_datatable>thead>tr>th,
#kz_datatable th.ni_urlPDF,
#kz_datatable td.ni_urlPDF {
/* width: 100px !important; */
}

#kz_datatable th.ni_urlPDF a,
#kz_datatable td.ni_urlPDF a {

   
}

#kz_datatable td.dwu {
 
}
#kz_datatable td.zobacz{

}

#kz_datatable td.comments {
    position: relative;
}


.tooltip-cell {
    position: relative;
    cursor: help;
}

.tooltip-text {
visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    top: 50px;
    left: -120px;
    /* transform: translateX(-50%); */
    /* white-space: nowrap; */
    opacity: 0;
    transition: opacity 0.3s;
    width: 315px;
        z-index: 7
}

.tooltip-cell:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

#kz_datatable>thead>tr>th.ni_comments,
#kz_datatable>tbody>tr>td.ni_comments {
    width: 400px !important;
}
body.page-id-5570 #kz_datatable>thead>tr>th.ni_comments,
body.page-id-5570 #kz_datatable>tbody>tr>td.ni_comments
 {
width: 200px !important;
}


#kz_datatable>tbody>tr>td.ni_urlPDF {
    /* width: 100px; */
}

#kz_datatable th.filterable.status select{
    margin-top: 0;
}

.rv-tooltip-container {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.rv-tooltip-trigger {
    width: 20px;
    height: 20px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: help;
    transition: background-color 0.3s ease;
}

.rv-tooltip-trigger:hover {
    background-color: #16a34a;
}

.rv-tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 0;
    transform: translateX(0);
    background-color: #1f2937;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    z-index: 1000;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    min-width: 400px;
    max-width: 600px;
    white-space: normal;
}

.rv-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 15px;
    border-width: 6px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}
.rv-tooltip-container.tooltip-left .rv-tooltip-text {
    right: 0;
    left: auto;
}

.rv-tooltip-container.tooltip-left .rv-tooltip-text::after {
    left: auto;
    right: 15px;
}
.rv-tooltip-container:hover .rv-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Style dla formatowania HTML w tooltipie */
.rv-tooltip-text strong {
    font-weight: bold;
    color: #fbbf24;
}

.rv-tooltip-text em {
    font-style: italic;
    color: #a5f3fc;
}

.rv-tooltip-text ul,
.rv-tooltip-text ol {
    margin: 5px 0;
    padding-left: 20px;
}

.rv-tooltip-text li {
    margin: 3px 0;
}

/* Przycisk Powrót ze strzałką i pulsowaniem */
.rv-back-button-pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: rv-button-pulse 2s ease-in-out infinite;
}

.rv-back-button-pulse .rv-arrow-pulse {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    animation: rv-arrow-move-pulse 1.5s ease-in-out infinite;
}

span.tt_datatable {
    /* position: absolute; */
    /* left: 226px; */
    /* right: 0px; */
        /* top: 65px; */
            z-index: 222;
    /* top: 0px; */

}


/* Animacja pulsowania przycisku */
@keyframes rv-button-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 113, 177, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 113, 177, 0);
    }
}

/* Animacja strzałki */
@keyframes rv-arrow-move-pulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

/* Zatrzymaj animację przy hover */
.rv-back-button-pulse:hover {
    animation: none;
}

.rv-back-button-pulse:hover .rv-arrow-pulse {
    animation: none;
    transform: translateX(-3px);
}













.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    margin: 10px 0;
    color: #111;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.4s ease;
    width: 600px;
    max-width: 600px;
    backdrop-filter: blur(2px);
}

.alert-box .icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.alert-box .icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* delikatne półprzezroczyste kolory */
.alert-box.alert {
    background-color: rgba(230, 57, 70, 0.15);
    color: #b10000;
}

.alert-box.success {
    background-color: rgba(42, 157, 143, 0.15);
    color: #11695b;
}

.alert-box.info {
    background-color: rgba(30, 136, 229, 0.15);
    color: #0b468a;
}

.alert-box.tip {
    background-color: rgba(244, 162, 97, 0.18);
    color: #6a3e00;
}

.edit_subhead_root_form {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    column-gap: 31px;
    margin-top: 30px;       
}

fieldset[disabled] input,
fieldset[disabled] select,
fieldset[disabled] textarea {
    border: none !important;
    background: transparent !important;
    color: #333 !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: default;
    padding-left: 0;
}



#file-fields {
    margin-top: 15px;
}
.custom-file {
    position: relative;
        display: flex;
        width: 100%;
        /* max-width: 610px; */
        margin-bottom: 10px;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
            column-gap: 5px;
}

.custom-file input[type="file"] {
    width: 200px;
    height: 42px;
    opacity: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0
}

.custom-file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    width: 350px;
    transition: background .2s
}

.custom-file-label:hover {
    background: #e9e9e9
}

.custom-file-label span {
    color: #666;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 220px
}

.custom-file-label .btn {
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 13px;
    border: none
}

.custom-file-label .btn:hover {
    background: #005d8f
}

#add-file {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin-top: 8px
}

#add-file:disabled {
    opacity: .5;
    cursor: not-allowed
}
.file-preview {
    margin-top: 10px;
    display: none;
}

.file-preview.active {
    display: block;
}

.preview-container {
    display: inline-block;
    position: relative;
    margin-right: 10px;
}

.preview-image {
    max-width: 150px;
    max-height: 150px;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    margin-left: 15px;
}

.preview-icon {
    width: 150px;
    height: 150px;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.preview-icon svg {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.preview-filename {
    font-size: 12px;
    text-align: center;
    word-break: break-word;
    max-width: 140px;
}






@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.container_c2 {
    display: flex;
    gap: 20px;
}

.container_c2>div {
    flex: 1;
    max-width: 50%;
}




#tokens-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    padding: 10px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

#tokens-bar textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 6px;
    font-family: monospace;
    resize: none;
}
body {
    padding-bottom: 333px !important;
}




































