.custom-select {
    appearance: none;              /* Прибираємо стандартну стрілку */
    -webkit-appearance: none;
    -moz-appearance: none;

    background: white url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 10px center!important;
    background-size: 16px;

    border: 1px solid #ccc;
    cursor: pointer;
}
.custom-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #efefef!important;
}
.logout__link{
    text-align: right;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    color: #0a0a0a;
}
.table th{
    white-space: nowrap;
    padding: 10px;
}
.dropdown_search{
    border-radius: 0;
    margin:  0 20px;
    padding: 20px;
}
.dropdown_search li{
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}
.relative{
    position: relative;
}
.dropdown_search li:last-child {
    border: none;
}
body .select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'>\
<path fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/>\
</svg>");
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 18px;

    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.select:hover {
    border-color: #b3b3b3;
}

.select:focus {
    outline: none;
    border-color: #6366f1; /* індиго */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: flex;
}

[x-cloak] { display: none !important; }

.popup-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.popup-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.popup-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
    letter-spacing: .03em;
}

.popup-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup-btn {
    padding: 10px 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popup-btn:hover {
    background: #555;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.popup-close:hover {
    color: #000;
}
.substance_block{
    position: relative;
}
.substance_name{
    margin-right: 50px;

}
.active_substance {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.is_lyophilizated{
    display: flex;
    color: #fff;
    background: linear-gradient(106.37deg, #E4BCDC -55.72%, #F022A8 169.01%);
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.toggle-group_is_lyophilizate {
    display: flex;
    gap: 5px;
}

.toggle-group_is_lyophilizate .btn-toggle {
     display:inline-flex; align-items:center; justify-content:center;
     padding: 0 16px; border: 1px solid #cfd6e4; border-radius: 8px;
     transition: all .15s ease-in-out; user-select:none;
     color: #fff;
     height: 53px;
     width: calc(50% - 5px);
 }
.toggle-group_is_lyophilizate .btn-toggle.active {
    background: linear-gradient(125.47deg, #65D8CB -18.04%, #35726B 215.72%);
}



.toggle-group_is_lyophilizate .btn-toggle.inactive {
    background:
    linear-gradient(106.37deg, #F3F3F3 -55.72%, #ADADAD 169.01%);
}

.btn-toggle.btn-toggle-none{
    border-radius: 0 50px 50px 0;
}


.is_solvent_prefilled_block{
    display: flex;
    height: 100%;
    align-items: center;
}

span.is_solvent_prefilled {
    display: flex;
    height: 100%;
    align-items: center;
    width: 100%;
    justify-content: center;
    color: #fff;
}

.is_solvent_prefilled--false{
    background: #FFAA01;
}
.is_solvent_prefilled--true {
    background: #00B0F0;
}
td.no-padding{
    padding: 4px 3px!important;
}
th.is_mini{
    font-size: 10px;
    width: 24px;
    text-align: center;
    padding-left: 3px !important;
    padding-right: 3px!important;
}
.button_row{
    margin-bottom: 20px;
}
.linkCreate{
    margin-bottom: 10px;
}
.linkCreate.bg-blue{
    background: linear-gradient(153deg, #01aceb, #0495ce);
}
.linkCreate.bg-blue:hover{
    box-shadow: #01aceb 2px 2px 4px inset, #0495ce -2px -2px 4px 1px inset;
}
.linkBack{
    position: relative;
    top: 0;
    margin-top: 50px;
}

.boxSearch__clear{
    display: block;
    width: 82px;
    height: 62px;
    position: absolute;
    top: 1px;
    right: 30px;
    z-index: 22;
    border-radius: 0 50px 50px 0;
    background: transparent;
}
.not-found{
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 500;
}
.border-red{
    position: relative;
}
.error_field{
    position: absolute;
    background: #fff;
    z-index: 111;
    padding: 10px 20px;
    width: 100%;
    box-shadow:  0 0 10px #ccc;
    border-radius: 5px;
    color: red;
    font-size: 14px;
    /*top: 100%;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
}
.bg-cyan  .twoColumn__title,.bg-cyan .newRecipe__title{
    background: linear-gradient(178deg, #5bc3b7, #51aca2);
}

.substance_tab{
    max-width: 1119px;
}
.substance_tab .tabs__item{
    width: 100%;
}
.active_substance__item{
    padding-left: 7px;
}
.newRecipe__text::placeholder{
    color: #000;
    opacity: 0.3;
}
span.text-danger{
    color: #e00707;
    font-size: 12px;
    margin-top: 10px;
    display: block;
    margin-left: 10px;
    line-height: 15px;
}
.table th{

}
.tabs_mini{
    margin-top: 20px;
}
.tabs_mini .tabs__button{
    font-size: 14px;
    padding: 15px;
    height: 54px;
    width: 100%;
    line-height: 20px;
}
.absolute{
    position: absolute;
}

.top-0{
    top: 0;
}
