.modal-info {
  font-family: 'TT Hoves Pro Expanded';
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D7DEE6; 
  z-index: 10000;
}

.modal-info.show {
  display: flex; /* активирует Flexbox */
  align-items: center; /* центрирует по вертикали */
  justify-content: center; /* центрирует по горизонтали */
}

.modal-content-info {

  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 90vw; 
  max-height: 90vh; 
  overflow-y: auto; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); 
}


.modal-content-file {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  position: relative; /* для надёжности */
  z-index: 10001; /* выше фона модального окна */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* визуальная глубина */
}

/* Основные стили для кнопок модального окна */
.modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
}

/* Кнопка «Сделать фото» — зелёный цвет (ассоциация с камерой/фото) */
#takePhotoBtn {
  background-color: #91BBFF; /* Насыщенный зелёный */
  color: white;
}
#takePhotoBtn:hover {
  background-color: #0F6BFF; /* Темнее при наведении */
}
#takePhotoBtn:active {
  background-color: #BE9FFF; /* Ещё темнее при нажатии */
  transform: translateY(1px);
}

/* Кнопка «Выбрать файл» — синий цвет (стандартный акцент) */
#chooseFileBtn {
  background-color: #2196F3; /* Яркий синий */
  color: white;
}
#chooseFileBtn:hover {
  background-color: #1976D2; /* Тёмно‑синий при наведении */
}
#chooseFileBtn:active {
  background-color: #0d6aad; /* Глубокий синий при нажатии */
  transform: translateY(1px);
}

/* Кнопка «Подтвердить» — синий акцент (класс primary) */
.primary {
  background-color: #A4FD00; /* Классический синий Bootstrap */
  color: black;
}
.primary:hover {
  background-color: #DAFF96; /* Тёмный синий при наведении */
}
.primary:active {
  background-color: #874FFF; /* Очень тёмный синий при нажатии */
  transform: translateY(1px);
}

/* Кнопка «Отмена» — красный цвет (предупреждение/отмена) */
.cancel {
  background-color: #dc3545; /* Красный Bootstrap */
  color: white;
}
.cancel:hover {
  background-color: #c82333; /* Тёмно‑красный при наведении */
}
.cancel:active {
  background-color: #bd2130; /* Ещё темнее при нажатии */
  transform: translateY(1px);
}

/* Дополнительные стили для контейнера действий */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* Стили для превью файлов (дополняем существующую структуру) */
.file-preview-container {
  margin: 15px 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
}

.file-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  margin: 5px 0;
  background: white;
  border-radius: 4px;
  border: 1px solid #eee;
}

.file-name {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.remove-file {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #dc3545;
  padding: 0 5px;
}

.remove-file:hover {
  color: #c82333;
}

.no-files {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px 0;
}

