body.modal-open {
  overflow: visible !important;
  padding-right: 0 !important;
}

.modal {
  display: block;
}

.modal-dialog {
  pointer-events: none;
  margin: 1.75rem;
  max-width: calc(100vw - 3.5rem);
  max-height: calc(100vh - 3.5rem);
}

.modal.show .modal-dialog {
  pointer-events: auto;
}

.modal-backdrop {
  display: none !important;
}

.modal.show {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5);
}

main {
  z-index: auto;
}

.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn {
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
}

.form-control,
.form-select {
  border-radius: 0.375rem;
  border: 1px solid #ddd;
}

.drop-zone {
  border-style: dashed;
  transition: all 0.3s ease;
}

.drop-zone:hover {
  border-color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }

  .fs-5 {
    font-size: 1rem;
  }

  .modal-dialog {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
  }
}
