/**
 * GOODLADY SENTINEL TELEMETRY HUB - STYLING
 * Premium, institutional-grade analytics dashboard.
 */
:root {
  --sentinel-neon: #4ade80;
  --sentinel-bg: rgba(13, 17, 23, 0.95);
  --sentinel-border: rgba(197, 160, 89, 0.3);
}

.sentinel-telemetry-hub {
  margin: 60px 0;
  padding: 40px;
  background: var(--sentinel-bg);
  border: 1px solid var(--sentinel-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.sentinel-telemetry-hub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brand-gold),
    transparent
  );
  animation: scan-line 4s linear infinite;
}

@keyframes scan-line {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.rate-impact-audit {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.impact-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.impact-pulse {
  width: 8px;
  height: 8px;
  background: var(--sentinel-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--sentinel-neon);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.impact-badge {
  background: rgba(74, 222, 128, 0.1);
  color: var(--sentinel-neon);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.impact-item h4 {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.impact-item p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.telemetry-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.telemetry-stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
}

.telemetry-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.telemetry-value {
  font-family: "Fira Code", monospace;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.telemetry-value.active {
  color: var(--brand-gold);
}

.sentinel-changelog {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.1);
}

.changelog-title {
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-gold);
}

.changelog-list {
  list-style: none;
  padding: 0;
}

.changelog-item {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.changelog-date {
  color: var(--brand-gold);
  font-family: "Fira Code", monospace;
  white-space: nowrap;
}

.changelog-msg {
  color: rgba(255, 255, 255, 0.8);
}

.sentinel-comments {
  margin-top: 40px;
  position: relative;
  min-height: 200px;
}

.comments-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lock-icon {
  font-size: 2.5rem;
  color: var(--brand-gold);
  margin-bottom: 20px;
}

.lock-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.lock-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
  margin: 0 auto 25px;
}

.btn-sentinel-login {
  display: inline-block;
  padding: 10px 25px;
  background: var(--brand-gold);
  color: var(--bg-premium-dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sentinel-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.comments-preview {
  opacity: 0.3;
  filter: blur(2px);
  pointer-events: none;
}

.comment-mock {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.comment-user {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand-gold);
  margin-bottom: 5px;
}

.comment-text {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .sentinel-telemetry-hub {
    padding: 25px;
  }
}
