:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --success-color: #218838;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
}
.modal-backdrop {
  pointer-events: auto !important;
  cursor: not-allowed;
}
.modal-content:focus {
  outline: 0;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.accordion-open .accordion-content {
  max-height: 100%;
  transition: max-height 0.5s ease-in;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.accordion-content::-webkit-scrollbar {
  width: 8px;
}
.accordion-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.accordion-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.accordion-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.feature-item {
  transition: 0.3s;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.select2-container .select2-selection--multiple {
  min-height: 38px !important;
}
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: 1s ease-in-out infinite spin;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loading-overlay-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loading-overlay-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: 1s linear infinite spin;
  margin-bottom: 10px;
}
.loading-overlay-text {
  margin-top: 10px;
  font-weight: 500;
}
.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: 0.8s linear infinite spin;
}
