.bootstrap-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(1px);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
}

.bootstrap-loader-overlay.is-visible {
  display: flex;
}

.bootstrap-loader-panel {
  min-width: 320px;
  max-width: 520px;
  min-height: 180px;
  border-radius: 12px;
  padding: 20px 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 65, 145, 0.18);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.bootstrap-loader-visual {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bootstrap-loader-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 5px solid #d8dbe0;
  border-top-color: #2f74d0;
  animation: bootstrap-loader-spin 1s linear infinite;
}

.bootstrap-loader-message {
  color: #1f2d3d;
  font-size: 14px;
  line-height: 1.35;
  margin-top: auto;
}

.bootstrap-loader-error {
  display: none;
}

.bootstrap-loader-error.is-visible {
  display: block;
}

.bootstrap-loader-error p {
  color: #a71d2a;
  margin-bottom: 10px;
}

.bootstrap-loader-error-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.bootstrap-loader-close-btn {
  border: 0;
  background: transparent;
  color: #007bff;
  cursor: pointer;
  padding: 0;
}

@keyframes bootstrap-loader-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
