/* Windows Security app recreation — blue header, dark nav rail, white
   panel with the red threat card (Windows 10 look). */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", SegoeUI, system-ui, sans-serif;
  background: #17181c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hidden { display: none !important; }

.ws-window {
  width: 980px;
  max-width: 100%;
  height: 640px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

/* Header */
.ws-header {
  background: #0078d7;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  flex-shrink: 0;
}
.win-logo { display: flex; }
.ws-title { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.ws-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 12px;
}

/* Body: nav + main */
.ws-body { display: flex; flex: 1; min-height: 0; }

.ws-nav {
  width: 250px;
  flex-shrink: 0;
  background: #202020;
  color: #dcdcdc;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 13.5px;
  cursor: pointer;
  color: #dcdcdc;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.nav-item svg { opacity: 0.9; flex-shrink: 0; }
.nav-item:hover { background: rgba(255, 255, 255, 0.06); }
.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #0078d7;
  color: #fff;
}

.ws-main { flex: 1; overflow-y: auto; padding: 26px 32px; background: #fff; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.panel-head h1 { font-size: 22px; font-weight: 600; color: #1a1a1a; }

/* Status card */
.status-card {
  display: flex;
  gap: 18px;
  background: #fbfbfb;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 22px;
  max-width: 620px;
}
.status-icon { flex-shrink: 0; }
.status-text h2 { font-size: 17px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; }
.status-text p { font-size: 13.5px; color: #444; line-height: 1.5; }
.threat {
  background: #fdeceb;
  border: 1px solid #f5c6c3;
  color: #c42b1c;
  padding: 10px 12px;
  border-radius: 4px;
  margin: 12px 0;
  font-family: Consolas, monospace;
  font-size: 12.5px;
}
.threat b { font-weight: 600; }

/* Windows-style buttons */
.win-btn {
  font-family: "Segoe UI", sans-serif;
  font-size: 13.5px;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #8a8a8a;
  border-radius: 2px;
  padding: 7px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  transition: background 0.12s ease;
}
.win-btn:hover { background: #f3f3f3; }
.win-btn:active { background: #e5e5e5; }
.win-btn.primary { background: #0078d7; border-color: #0078d7; color: #fff; }
.win-btn.primary:hover { background: #106ebe; }
.win-btn.danger { background: #c42b1c; border-color: #c42b1c; color: #fff; }
.win-btn.danger:hover { background: #b02314; }
.win-btn.copied { background: #107c10; border-color: #107c10; color: #fff; }

/* Scanning state */
.scanning { text-align: center; padding: 60px 0; color: #444; }
.scanning h2 { font-size: 17px; margin: 14px 0 6px; color: #1a1a1a; }
.scanning p { font-size: 13.5px; }
.scan-spinner {
  width: 44px; height: 44px;
  margin: 0 auto;
  border: 4px solid #e5e5e5;
  border-top-color: #0078d7;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Verification card */
.status-card.verify { background: #fffdf5; border-color: #ffe6a6; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 12px 0 8px; }
.steps li {
  display: flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 9px 11px;
  font-size: 13px; color: #333;
}
.steps .n {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #0078d7; color: #fff;
  font-size: 11px; font-weight: 600;
  border-radius: 50%;
}
.steps b { font-weight: 600; }
kbd {
  background: #f3f3f3; border: 1px solid #c8c8c8; border-bottom-width: 2px;
  border-radius: 3px; padding: 1px 5px; font-size: 11px;
  font-family: "Segoe UI", sans-serif;
}
.status { font-size: 12.5px; color: #666; margin-top: 10px; }
.status.ok { color: #107c10; }
