body {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

@media print {
  body {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    background: #fff;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .invoice-box {
    box-shadow: none;
    border: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .no-print {
    display: none;
  }

  .table-bordered th,
  .table-bordered td {
    border: 1px solid #000 !important;
  }

  .table {
    border-collapse: collapse !important;
  }

}

.invoice-box {
  max-width: 800px;
  margin: auto;
  padding: 30px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.login-body {
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-card {
  border: none;
  border-radius: 1rem;
}

#imageGallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-item {
  position: relative;
  width: 150px;
  height: 150px;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
  cursor: move;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .delete-img-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: red;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  padding-bottom: 2px;
}

.gallery-item.is-thumbnail {
  border: 3px solid #0d6efd;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.swal2-container {
  z-index: 10000;
}

.navbar-nav .nav-link {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 8px 15px !important;
  margin: 0 2px;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(91, 113, 227, 0.42);
  transform: translateY(-3px);
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link.show {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.dropdown-menu {
  animation: fadeInMove 0.3s ease forwards;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInMove {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}
