﻿/*Модальное окно для подтверждения*/
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

/* Контейнер содержимого модалки */
.modal-content-del {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  max-width: 600px;
  width: 100%;
  position: relative;
}

/* стиль для overlay размытия */
#blurOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 999;
  display: none;
}

/* Стиль сообщения */
#confirmMessage {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-align: center; 
  user-select: none;
}

.confirm-buttons {
  display: flex;
  justify-content: center; /* центруем кнопки по горизонтали */
  gap: 20px; /* пространство между кнопками */
  margin-top: 15px; /* отступ сверху для отделения от текста */
}

/* Общий стиль для кнопок */
.modal-content-del button {
  margin: 0 10px;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-width: 100px;
  box-sizing: border-box;
  font-weight: 700;
}

/* Стиль для кнопки "Да" */
#confirmYes {
  background-color: #4CAF50; /* зеленый */
  color: white;
}
#confirmYes:hover {
  background-color: #45a049;
}

.modal_text {
  margin-bottom: 30px;
  font-size: 2.25em;
  color: #2c3e50;
  text-align: center;
  user-select: none;
}