/* MicTest Common Styles */

strong, b {
  font-weight: 700;
}

/* Card Styles */
.feature-card {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 15px;
}

/* Status Indicators */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-dot.connected {
  background-color: #198754;
}

.status-dot.disconnected {
  background-color: #dc3545;
}

.status-dot.default {
  background-color: #ffc107;
}

/* Quality Indicators */
.quality-indicator {
  display: inline-block;
  font-weight: bold;
}

.quality-excellent {
  color: #198754;
}

.quality-verygood {
  color: #0d6efd;
}

.quality-good {
  color: #6f42c1;
}

.quality-fair {
  color: #fd7e14;
}

.quality-poor {
  color: #dc3545;
}

.quality-unknown {
  color: #6c757d;
}

/* Info Row Styles */
.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.info-label {
  font-weight: bold;
}

/* Canvas Styles */
canvas {
  width: 100%;
  height: 150px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}

/* Visualizer Container */
.visualizer-container {
  position: relative;
  height: 200px;
  margin-top: 20px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  overflow: hidden;
}

/* Recording Pulse Animation */
.recording-pulse {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dc3545;
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* Status Message */
.status-message {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.status-step {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.status-icon {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* No Devices Message */
.no-devices {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 5px;
  border: 1px solid #dee2e6;
}

.no-devices i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #6c757d;
}

/* Device Detail Table */
.device-detail-table {
  font-size: 0.9rem;
}

.device-detail-table th {
  width: 40%;
}

/* Refresh Button */
.btn-refresh {
  position: absolute;
  right: 15px;
  top: 15px;
}

/* Related Tools Section */
.related-tools {
  margin-top: 2rem;
}

.related-tools .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-tools .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* Volume Control */
.volume-control {
  margin-top: 10px;
  width: 100%;
}

/* Frequency Selector */
#frequency-selector {
  width: 100%;
  margin-top: 10px;
}

/* Mic Instructions */
.mic-instructions {
  margin-bottom: 15px;
}

/* Tool Header */
.tool-header {
  margin-bottom: 1.5rem;
}

.tool-header h1 {
  margin-bottom: 0.5rem;
}

.tool-header .lead {
  color: #6c757d;
}

/* Internal Links Section */
.internal-links {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.internal-links h5 {
  margin-bottom: 1rem;
}

.internal-links ul {
  margin-bottom: 0;
}

.internal-links li {
  margin-bottom: 0.5rem;
}