
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(160deg, #1c1f2b, #2d3349);
  margin: 0;
  padding: 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

h1 {
  font-size: 2rem;
  color: #00e0ff;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.system-info {
  background: rgba(0, 224, 255, 0.05);
  border: 1px solid #00e0ff;
  box-shadow: 0 0 10px #00e0ff44;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

button {
  background: #00e0ff;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 224, 255, 0.3);
  margin-top: 1rem;
}

button:hover {
  background: #00c6e0;
}

.scan-stage {
  flex-direction: column;
  align-items: center;
  margin: 1.5rem 0;
  font-size: 1rem;
}

.progress-wrapper {
  width: 100%;
  max-width: 300px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #00e0ff;
  transition: width 1.5s ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.blink-box {
  display: none;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff0000;
  border-radius: 10px;
  animation: blink 1s infinite;
  font-weight: bold;
  color: #ff6666;
}

.system-alert-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.system-alert-box {
  background: #2b0000;
  border: 2px solid #ff4444;
  border-radius: 12px;
  padding: 2rem;
  max-width: 340px;
  text-align: center;
  color: #ffaaaa;
  box-shadow: 0 0 20px #ff0000;
  animation: blink 1s infinite;
}
.system-alert-box h2 {
  color: #ff4444;
  margin-bottom: 1rem;
}
.system-alert-box button {
  background: #ff4444;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 10px #ff4444;
}

.gauges {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0 1.5rem;
}
.gauge {
  text-align: center;
}
.circular-chart {
  display: block;
  max-width: 80px;
  max-height: 80px;
  margin: auto;
}
.circle-bg {
  fill: none;
  stroke: #333;
  stroke-width: 3.8;
}
.circle {
  fill: none;
  stroke: #00e0ff;
  stroke-width: 3.8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dasharray 1s ease-out;
}
.percentage {
  fill: white;
  font-size: 0.5em;
  text-anchor: middle;
}
.gauge-label {
  color: #00e0ff;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.system-info {
  background: rgba(0, 224, 255, 0.05);
  border: 1px solid #00e0ff;
  box-shadow: 0 0 10px #00e0ff44;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.gauges {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 1rem;
}

.gauge {
  text-align: center;
  flex: 1;
  max-width: 100px;
}

.circular-chart {
  display: block;
  width: 80px;
  height: 80px;
  margin: auto;
}
