/* Плавающая кнопка */
.fab-add {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2563eb;
  border: none;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
}
.fab-add:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(37,99,235,0.4);
}

/* Модальное окно */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal {
  background: white;
  border-radius: 32px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e2e8f0;
}
.modal-header h2 {
  margin: 0;
  font-size: 24px;
}
.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #0f172a;
}
.modal-form {
  padding: 24px 32px 32px;
}
.modal-form .form-group {
  margin-bottom: 20px;
}
.modal-form .toggle-row {
  margin-bottom: 16px;
}