/* Beautiful Loading Modal Styling */
.loading-modal .modal-content {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.loading-modal .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

/* Modern Loading Animation */
.loading-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
}

.loading-spinner div {
  position: absolute;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: rotate 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

.loading-spinner .spinner-circle-1 {
  width: 60px;
  height: 60px;
  border-top-color: #4e73df;
  border-left-color: #4e73df;
  animation-delay: 0s;
}

.loading-spinner .spinner-circle-2 {
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border-top-color: #36b9cc;
  border-right-color: #36b9cc;
  animation-delay: -0.5s;
}

.loading-spinner .spinner-circle-3 {
  top: 20px;
  left: 20px;
  width: 20px;
  height: 20px;
  border-bottom-color: #1cc88a;
  border-left-color: #1cc88a;
  animation-delay: -1s;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loading Text */
.loading-text {
  color: #5a5c69;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}

.loading-subtext {
  color: #858796;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* Fade-In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-modal.show .modal-content {
  animation: fadeIn 0.3s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .loading-spinner {
    width: 50px;
    height: 50px;
  }

  .loading-spinner .spinner-circle-1 {
    width: 50px;
    height: 50px;
  }

  .loading-spinner .spinner-circle-2 {
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
  }

  .loading-spinner .spinner-circle-3 {
    top: 17px;
    left: 17px;
    width: 16px;
    height: 16px;
  }

  .loading-modal .modal-body {
    padding: 2rem 1.25rem;
  }
}