/* Additional styles for interactive elements */
.validation {
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.9rem;
}

.validation.valid {
  background-color: rgba(0, 255, 0, 0.1);
  color: #0f0;
  border-left: 3px solid #0f0;
}

.validation.invalid {
  background-color: rgba(255, 0, 0, 0.1);
  color: #f00;
  border-left: 3px solid #f00;
}

.audit-type-info {
  margin-top: 5px;
  padding: 8px;
  background-color: rgba(0, 255, 255, 0.1);
  border-left: 3px solid #0ff;
  font-size: 0.9rem;
}

.code-header {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  background-color: #111;
  border-bottom: 1px solid #333;
}

.close-button {
  background: none;
  border: none;
  color: #0ff;
  font-size: 1.2rem;
  cursor: pointer;
}

.close-button:hover {
  color: #f0f;
}

.code-content-wrapper {
  display: flex;
  overflow-x: auto;
}

.keyword {
  color: #ff00ff;
}

.comment {
  color: #666;
}

.string {
  color: #ffcc00;
}

.number {
  color: #00ccff;
}

.report-card {
  transition: all 0.3s ease;
}

.report-card.expanded {
  padding-bottom: 20px;
}

.vulnerability-explanation {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed rgba(0, 255, 255, 0.3);
  animation: fadeIn 0.5s ease;
}

.vulnerability-explanation h5 {
  color: #0ff;
  margin-top: 0;
}

.tabs {
  margin-top: 15px;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid #333;
}

.tab-btn {
  padding: 8px 15px;
  background-color: #111;
  border: 1px solid #333;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  margin-right: 5px;
  cursor: pointer;
  color: #0ff;
}

.tab-btn.active {
  background-color: #222;
  border-color: #0ff;
}

.tab-content {
  padding: 10px;
  background-color: #111;
  border: 1px solid #333;
  border-top: none;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.glitch-effect {
  animation: glitchEffect 0.5s infinite;
}

@keyframes glitchEffect {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0); }
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #0ff;
  color: #666;
}

footer p {
  margin: 5px 0;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

@media (max-width: 600px) {
  .button-group {
    flex-direction: column;
  }
  
  .tab-header {
    flex-direction: column;
  }
  
  .tab-btn {
    border-radius: 0;
    margin-right: 0;
    margin-bottom: 2px;
  }
}
