html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-family: "Wix Madefor Display", serif !important;
    background-color: #e5eefd !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.app-layout {
    display: flex;
    align-items: flex-start;
    min-height: 100vh !important;
}

.mobile-menu-background {
    display: none;
}

.main-container {
    flex: 1 1 0;
    min-width: 0;
}

.main-container-menu {
    text-align: center;
    padding: 40vh 10vh 0 10vh;
    flex: 1 1 0;
    min-width: 0;
}

.container {
    position: relative !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.container {
    background-color: #cee3fd !important;
    border-radius: 20px !important;
    border: none !important;
    position: relative;
}

.menu-title-text {
    font-size: 1.5rem !important;
}

.menu {
    position: sticky !important;
    background-color: #cee3fd;
    border-radius: 0 20px 20px 0;
    padding: 1vh 0.5rem;
    margin: 0 1rem 0 0;
    top: 2vh;
    width: 20vw;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    height: 96vh;
    flex: 0 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
    direction: rtl;
}

.menu.menu-page {
    width: 40vw;
}
.menu > * {
    direction: ltr;
}

.request-list {
    margin-bottom: 100px;
}

.menu.disabled, .menu-button.disabled {
    cursor: not-allowed !important;
}

.menu.disabled, .menu-button.disabled * {
    cursor: not-allowed !important;
    color: gray;
}

.menu-item {
    display: flex;
    padding: 0 1.25rem;
    transition: all 0.25s ease;
    gap: 14px;
    position: relative;
}

.menu-item.menu-button {
    cursor: pointer;
    border-radius: 14px;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    color: black;
}

.menu-item-subtitle {
    color: gray;
    font-size: 0.7rem;
}

.menu-item.menu-button:hover {
    background-color: #bcdaff;
}

.menu-item.menu-button.active {
    background-color: #bcdaff;
}

.menu-item-info {
    display: flex;
    flex-direction: column; /* вертикальное расположение */
    gap: 0px; /* отступ между строками */
    overflow: hidden;
}

.menu-item-info.with-logo {
    display: flex;
    flex-direction: row
}

.svg-icon {
    position: relative;
    top: 3px;
    margin-right: 6px;
}

.menu-item-title, .menu-item-subtitle {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.block-title, .title-span {
    color: #656565;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
}

.title-text {
    font-size: 30px !important;
    font-weight: 600 !important;
    width: 80% !important;
    line-height: 1.05 !important;
}

select {
    border-radius: 1000px !important;
    border: none !important;
    height: 48px !important;
}

.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23007BFF' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708' /%3E%3C/svg%3E") !important;
    background-image: var(--bs-form-select-bg-img) !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 40px 30px !important;
}

.FIO-input {
    border: 3px solid #017eff !important;
}

p {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.calculated {
    color: #007BFF !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

label {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.file-input-label {
    font-weight: 400 !important;
    font-size: 1rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

  
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
  
.radio-input {
    display: none; /* Скрываем стандартный input */
}
  
.radio-custom {
    width: 28px; /* Размер кружка */
    min-width: 28px; /* Размер кружка */
    height: 28px; /* Размер кружка */
    min-height: 28px; /* Размер кружка */
    border: 3px solid #007BFF; /* Граница кружка */
    border-radius: 50%; /* Делаем круг */
    margin-right: 8px; /* Отступ от текста */
    position: relative;
}
  
.radio-input:checked + .radio-custom {
    border-color: #007BFF; /* Цвет границы при выборе */
}
  
.radio-input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; /* Размер внутреннего кружка */
    height: 18px; /* Размер внутреннего кружка */
    background-color: #007BFF; /* Цвет внутреннего кружка */
    border-radius: 50%; /* Делаем круг */
}

.radio-custom.red {
    width: 28px; /* Размер кружка */
    min-width: 28px; /* Размер кружка */
    height: 28px; /* Размер кружка */
    min-height: 28px; /* Размер кружка */
    border: 3px solid #B22222; /* Граница кружка */
    border-radius: 50%; /* Делаем круг */
    margin-right: 8px; /* Отступ от текста */
    position: relative;
}
.radio-input.red:checked + .radio-custom.red::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; /* Размер внутреннего кружка */
    height: 18px; /* Размер внутреннего кружка */
    background-color: #B22222; /* Цвет внутреннего кружка */
    border-radius: 50%; /* Делаем круг */
}
.radio-input.red:checked + .radio-custom.red {
    border-color: #B22222; /* Цвет границы при выборе */
}
  
.radio-text {
    font-size: 14px;
    color: #656565;
    transition: 0.2s;
}

.logo {
    width: 40px;
}

.block {
    background-color: #cee3fd !important;
    border-radius: 20px !important;
    border: none !important;
}

.card-body {
    border-radius: 25px !important;
}

input {
    border-radius: 1000px !important;
    border: none !important;
    padding: 12px !important;
}

input::placeholder, textarea::placeholder {
    color: #A0A0A0 !important;
}

.btn:not(.delete-contact-button, .delete-analysis-button, .delete-product-button, .btn-success) {
    background-color: #017eff !important;
    border: none !important;
}

.btn:not(.delete-contact-button, .delete-analysis-button, .delete-product-button, .btn-success):hover {
    border: none !important;
}

#save-document-button.active, #save-document-button-fast.active {
    background-color: #0052a3 !important;
}

#create-document-button.active {
    background-color: #0f643c !important;
}

.btn:not(.fast-button, .menu-button) {
    border-radius: 1000px !important;
    max-height: 41px !important;
    height: 41px !important;
}

.btn:not(.fast-button, .menu-button) svg {
    margin-top: -3px !important;
    margin-right: -3px !important;
}

.btn:not(.fast-button, .menu-button) svg.bi-trash3 {
    margin-top: -6px !important;
}

.fast-block-buttons {
    flex-direction: row-reverse;
}

.menu-button-container {
    display: none !important;
}

.btn-success {
    background-color: #198754 !important;
    border: none !important;
}

.btn.btn-success:hover {
    background-color: #157347 !important;
}
.btn.btn-success:active {
    background-color: #12603c !important;
}

.btn {
    transition: 0.2s ease !important;
}

.btn.btn-primary:hover {
    background-color: #0052a3 !important;
}
.btn.btn-primary:active {
    background-color: #004691 !important;
}

.delete-contact-button, .delete-analysis-button, .delete-product-button {
    background-color: none !important;
    border: solid 2px black !important;
}

textarea {
    border-radius: 25px !important;
    border: none !important;
}

.btn.fast-button, .btn.menu-button {
    width: 54px !important;
    height: 54px !important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
}


.notification {
    max-width: 300px;
    position: fixed;
    top: 20px;
    right: -300px;
    background-color: #017eff;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}





/* 
Отчет по ОПВ
*/
table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table-container {
    overflow-y: auto !important;
    width: 100%;
    max-height: 500px !important;
}

.table-template {
    width: 100% !important;
}

tbody, td, tfoot, th, thead, tr {
    border-right: 1px solid #017eff !important;
    border-bottom: 1px solid #017eff !important;
    background-color: white;
}

td.left-column {
    border-left: 1px solid #017eff !important;
}

th {
    border-top: 1px solid #017eff !important;
}

th.left-column {
    border-left: 1px solid #017eff !important;
}

thead th {
    position: sticky !important;
    top: 0 !important;
    background: white !important;
    z-index: 2 !important;
}

th.date-input-field {
    width: 120px !important;
}

td.date-input-field {
    width: 120px !important;
}

input[type="date"].date-input {
    padding: 8px !important;
    border: none !important;
    border-radius: 0px !important;
    font-size: 16px !important;
    background-color: #fff !important;
    color: #333 !important;
    padding: 0px !important;
    width: 120px !important;
}

th.time-input-field {
    width: 75px !important;
}

td.time-input-field {
    width: 75px !important;
}

input[type="time"] {
    padding: 8px !important;
    border: none !important;
    border-radius: 0px !important;
    font-size: 16px !important;
    background-color: #fff !important;
    color: #333 !important;
    padding: 0px !important;
    width: 75px !important;
}

th.analysis-title-input-field {
    min-width: 100px !important;
}

td.analysis-title-input-field {
    min-width: 100px !important;
}