 /* Фон модального окна */
 .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

/* ==============ДА/НЕТ================== */
#pAnswerYesNo {
    font-size: 16px;
    font-family: Arial;
    color:black;
}

.modal-box-yesno {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-buttons-yesno {
  margin-top: 20px;
}

.modal-buttons-yesno button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-buttons-yesno button:hover {
    background-color: #eedcdc;
}

#yes-btn {
    background-color: #4CAF50;
    color: white;
}

#no-btn {
    background-color: #f44336;
    color: white;
}

/* ==============OK================== */
/* Контейнер */
.modal-box-ok {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: justify;
    width: 100%;
    max-width: 500px;    
    overflow-y: scroll;
    max-height: 80%;
}

/* Заголовок */
.modal-text-ok {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
}

/* Кнопка OK */
.modal-button-ok {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.modal-button-ok:hover {
    background: #0056b3;
}


/* =============TOAST ============== */
.toast {
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
}
.toast.show {
    opacity: 1;
}