* { box-sizing: border-box; margin: 0; padding: 0; }
body { display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; font-family: 'Segoe UI', system-ui, sans-serif; }

.window {
  width: 100%;
  height: 100vh;
  background: #f3f3f3;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Layout */
.body { display: flex; flex: 1; overflow: hidden; }

/* Sidebar */
.sidebar {
  width: 252px;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
  padding-bottom: 12px;
}

/* User profile */
.user-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #b0b8c1;
  flex-shrink: 0;
}
.avatar svg { width: 100%; height: 100%; display: block; }
.user-name { font-size: 13.5px; font-weight: 600; color: #1a1a1a; }

/* Search */
.search-wrap { padding: 0 10px 8px; }
.search-box {
  display: flex; align-items: center;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 5px 10px;
  gap: 6px;
}
.search-box input { border: none; outline: none; font-size: 13px; flex: 1; color: #555; background: transparent; }

/* Nav items */
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  margin: 0 6px;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13.5px;
  cursor: pointer;
  position: relative;
}
.nav-item:hover { background: rgba(0,0,0,0.06); }
.nav-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Main area */
.main {
  flex: 1;
  background: #fafafa;
  overflow-y: auto;
  padding: 28px 24px 24px;
}
.page-title { font-size: 28px; font-weight: 300; color: #1a1a1a; margin-bottom: 20px; }

/* Ethernet status card */
.status-card {
  background: #f3f3f3;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.eth-icon { flex-shrink: 0; }
.status-label { font-size: 20px; font-weight: 600; color: #1a1a1a; }
.status-connected { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #1a6abf; margin-top: 2px; }

/* Settings list */
.settings-list { background: white; border-radius: 10px; overflow: hidden; }
.settings-item {
  display: flex; align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #1a1a1a;
  cursor: pointer;
}
.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: #f5f5f5; }
.item-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; }
.item-content { flex: 1; }
.item-title { font-size: 14px; font-weight: 500; }
.item-desc { font-size: 12px; color: #666; margin-top: 1px; }
.item-right { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; flex-shrink: 0; }

/* Toggle */
.toggle { width: 40px; height: 20px; border-radius: 10px; position: relative; flex-shrink: 0; cursor: pointer; transition: background 0.2s; }
.toggle.on { background: #0067b8; }
.toggle.off { background: #aaa; }
.toggle-dot { width: 14px; height: 14px; background: white; border-radius: 50%; position: absolute; top: 3px; transition: left 0.2s; }
.toggle.on .toggle-dot { left: 23px; }
.toggle.off .toggle-dot { left: 3px; }
.toggle-label { transition: none; }

.chevron { color: #888; font-size: 18px; line-height: 1; }

/* Status stip */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; position: relative; top: -1px; }
.status-dot.red { background: #c42b1c; }
.status-dot.green { background: #57c257; }

/* Progress bar (Windows Updates) */
progress-bar {
  position: relative; display: block; width: 100%; height: 6px; overflow: hidden; margin-top: 6px;
}
progress-bar dot {
  position: absolute; width: 100%; display: block;
  animation: pb-dot 4s cubic-bezier(0.2, 0.6, 1, 0.25) infinite;
}
progress-bar dot:after {
  display: block; content: " "; width: 6px; height: 6px;
  border-radius: 50%; background-color: #0067b8;
}
progress-bar dot:nth-of-type(2) { animation-delay: 100ms; }
progress-bar dot:nth-of-type(3) { animation-delay: 200ms; }
progress-bar dot:nth-of-type(4) { animation-delay: 300ms; }
progress-bar dot:nth-of-type(5) { animation-delay: 400ms; }
@keyframes pb-dot {
  0%        { transform: translateX(calc(0% - 6px)); }
  75%, 100% { transform: translateX(calc(100% + 6px)); }
}
