/**
 * @file
 * SCSS for War Helps module.
 *
 * Dark sci-fi themed styling with animations and accessibility support.
 */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
    transform: scale(1.05);
  }
}
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
@keyframes taskGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    border-color: transparent;
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    border-color: #00ff88;
  }
}
.help-center-content {
  background: #1a1d29;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.help-center-content .modal-header {
  background: linear-gradient(135deg, #252836 0%, #1a1d29 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.help-center-content .modal-header .modal-title {
  color: #00d4ff;
  font-weight: 600;
}
.help-center-content .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.7;
}
.help-center-content .modal-header .btn-close:hover {
  opacity: 1;
}
.help-center-content .modal-body {
  background: #1a1d29;
  max-height: 60vh;
  overflow-y: auto;
}
.help-center-content .modal-body::-webkit-scrollbar {
  width: 8px;
}
.help-center-content .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.help-center-content .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.help-center-content .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.help-center-content .modal-footer {
  background: #252836;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal.show .help-center-content {
  animation: modalFadeIn 220ms ease-out;
}

.modal.hide .help-center-content {
  animation: modalFadeOut 150ms ease-in;
}

.help-request-item {
  background: #252836;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.help-request-item:hover {
  border-color: #00d4ff;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
}
.help-request-item .card-title {
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.help-request-item .badge {
  font-size: 0.75rem;
  font-weight: 500;
}
.help-request-item .task-label {
  color: #8f92a1;
  font-size: 0.9rem;
}
.help-request-item .progress {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.help-request-item .progress .progress-bar {
  background: linear-gradient(90deg, #00d4ff 0%, #00ff88 100%);
  font-size: 0.75rem;
  font-weight: 600;
}
.help-request-item .text-muted {
  color: #8f92a1 !important;
}

.help-one-btn,
.help-all-btn,
.help-request-btn {
  position: relative;
  overflow: hidden;
  font-weight: 500;
  transition: all 0.2s ease;
}
.help-one-btn:hover,
.help-all-btn:hover,
.help-request-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.help-one-btn:active,
.help-all-btn:active,
.help-request-btn:active {
  transform: scale(0.98);
}
.help-one-btn::after,
.help-all-btn::after,
.help-request-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.help-one-btn:active::after,
.help-all-btn:active::after,
.help-request-btn:active::after {
  width: 200%;
  height: 200%;
}

.help-all-btn {
  background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
  border: none;
  animation: buttonPulse 2s ease infinite;
}
.help-all-btn:hover {
  background: linear-gradient(135deg, rgb(51, 220.6, 255) 0%, rgb(51, 255, 159.8) 100%);
  animation: none;
}

.help-all-quick-btn {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.help-all-quick-btn:hover {
  background: linear-gradient(135deg, rgb(51, 255, 159.8) 0%, rgb(51, 220.6, 255) 100%);
}

.open-help-center-btn {
  position: relative;
  background: #252836;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00d4ff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.open-help-center-btn:hover {
  background: rgb(47.3681318681, 51.2087912088, 69.1318681319);
  border-color: #00d4ff;
  color: rgb(51, 220.6, 255);
}

.help-badge-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.help-badge-count.badge-pulse {
  animation: badgePulse 600ms ease;
}

.task-helped-glow {
  animation: taskGlow 1000ms ease;
  transition: all 0.3s ease;
}

#help-center-loading .spinner-border {
  color: #00d4ff !important;
}

#help-center-empty .fa-inbox {
  color: #8f92a1;
}

@media (max-width: 768px) {
  .help-center-content .modal-dialog {
    margin: 0.5rem;
  }
  .help-center-content .modal-body {
    max-height: 70vh;
  }
  .help-request-item .d-flex {
    flex-direction: column !important;
  }
  .help-request-item .ms-3 {
    margin-left: 0 !important;
    margin-top: 1rem;
    width: 100%;
  }
  .help-request-item .help-one-btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .help-all-btn {
    animation: none !important;
  }
  .badge-pulse,
  .task-helped-glow {
    animation: none !important;
  }
  .modal.show .help-center-content,
  .modal.hide .help-center-content {
    animation: none !important;
  }
}
.help-one-btn:focus,
.help-all-btn:focus,
.help-request-btn:focus,
.open-help-center-btn:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  .help-center-content,
  .help-request-item {
    border-width: 2px;
  }
  .help-one-btn,
  .help-all-btn,
  .help-request-btn {
    border: 2px solid currentColor;
  }
}

/*# sourceMappingURL=help-center.css.map */