/*!*********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/resources/javascript/frontend/Modal.scss ***!
  \*********************************************************************************************************************************************************************************/
.popzy-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}
.popzy-modal.show {
  display: flex;
}
.popzy-modal .modal-container {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-in-out;
}
.popzy-modal .modal-header {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.25rem;
  font-weight: bold;
}
.popzy-modal .modal-body {
  padding: 1rem;
  font-size: 1rem;
  color: #6b7280;
}
.popzy-modal .close {
  max-width: 32px;
  max-height: 32px;
}

html.dark .modal-container {
  background-color: #374151;
  /* dark:bg-gray-700 */
  color: white;
}
html.dark .modal-container .modal-header {
  border-bottom: 1px solid #4b5563;
}
html.dark .modal-container-body {
  color: #9ca3af;
}
html.dark .modal-container-footer {
  border-top-color: #4b5563;
}
html.dark .modal-container button.accept {
  background-color: #1e40af;
}
html.dark .modal-container button.accept:hover {
  background-color: #1e3a8a;
}
html.dark .modal-container button.decline {
  background-color: #1f2937;
  border-color: #4b5563;
  color: #9ca3af;
}
html.dark .modal-container button.decline:hover {
  background-color: #374151;
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
