/* BlckIT Vulnerability Scanner Custom Styles */
:root {
  --bs-danger-rgb: 220, 53, 69; /* Bootstrap 5 default danger color fallback */
}
body {
  background-color: #152233;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: background-color 1s;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  z-index: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s;
  background: radial-gradient(circle at 50% 50%, #152233 60%, rgba(92,221,139,0.85) 100%);
}
body.pulse-green::before {
  animation: pulseGradientGreen 2.5s infinite;
  opacity: 1;
  background: radial-gradient(circle at 50% 50%, #152233 60%, rgba(92,221,139,0.85) 100%);
}
@keyframes pulseGradientGreen {
  0% { opacity: 0.18; }
  50% { opacity: 0.38; }
  100% { opacity: 0.18; }
}
body.fade-green::before {
  opacity: 0.32;
  background: radial-gradient(circle at 50% 50%, #152233 60%, rgba(92,221,139,0.85) 100%);
  transition: opacity 2s;
}
body.fade-red::before {
  opacity: 0.32;
  background: radial-gradient(circle at 50% 50%, #152233 60%, rgba(var(--bs-danger-rgb),1) 100%);
  transition: opacity 2s;
}
.btn-primary {
  background-color: #35c99a;
  border-color: #35c99a;
}
.btn-primary:hover {
  background-color: #2da87e;
  border-color: #2da87e;
}
.container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  max-width: 100vw;
}
@media (max-width: 600px) {
  .container {
    min-height: 667px;
    padding: 0.5rem;
  }
  .content {
    padding: 0.5rem;
  }
  .logo {
    height: 32px;
  }
}
.content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}
.spinner-border {
  margin-top: 1rem;
}
.logo-container {
  margin-top: auto;
  margin-bottom: 1rem;
}
.logo {
  height: 40px;
  max-width: 100%; /* Ensure the logo is responsive */
}
.seo-content {
  display: none;
}
.results {
  background: none;
  color: inherit;
  border-radius: 0;
  padding: 0;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 600px;
  text-align: left;
  word-break: break-all;
  display: none;
}
.results.show {
  display: block;
}
.alert-danger {
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-danger .bi {
  margin-right: 0.75rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.alert-danger span {
  display: inline-block;
  vertical-align: middle;
}
.error {
  color: #ff6b6b;
  margin-top: 1rem;
}
#heartbeat-canvas {
  position: fixed;
  z-index: 1;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
body.pulse-green #heartbeat-canvas {
  opacity: 0.5;
}
.container, .content, .results, .logo-container, .seo-content {
  position: relative;
  z-index: 1;
}
.cve-alert {
  gap: 0.75rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  align-items: center;
  display: flex;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.cve-icon-wrapper {
  display: flex;
  align-items: center;
  margin-right: 0.2rem;
  height: 22px;
  width: 22px;
}
.cve-alert .bi {
  vertical-align: middle;
  margin-top: -2px;
  margin-bottom: -2px;
  width: 22px;
  height: 22px;
}
.cve-alert.alert-danger .bi {
  color: #dc3545;
}
.cve-alert.alert-success .bi {
  color: #28a745;
}
.cve-text {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
