.simulator-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  margin-bottom: 18px;
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #e2e8f0;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.sim-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
}
.sim-brand span { color: var(--accent-orange-light); }
.sim-actions { display: flex; align-items: center; gap: 8px; }
.sim-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.15s ease;
}
.sim-btn:hover { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

.device-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 860px;
  background: #000000;
  border-radius: 54px;
  padding: 12px;
  box-shadow: 
    0 0 0 2px #334155,
    0 0 0 6px #0f172a,
    0 25px 60px -15px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
}

body.fullscreen-mode .simulator-toolbar { max-width: 1000px; }
body.fullscreen-mode .device-wrapper {
  max-width: 820px;
  height: 92vh;
  border-radius: 28px;
  padding: 0;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-app);
  border-radius: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.fullscreen-mode .device-screen { border-radius: 28px; }

.phone-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  z-index: 50;
  pointer-events: none;
}

.notch-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 51;
}
.notch-camera { width: 10px; height: 10px; background: #111827; border: 2px solid #1f2937; border-radius: 50%; }
.notch-speaker { width: 38px; height: 4px; background: #1f2937; border-radius: 4px; }
.notch-sensor { width: 8px; height: 8px; background: #064e3b; border-radius: 50%; opacity: 0.6; }

.status-right { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; }

.app-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  margin-top: 44px;
  margin-bottom: 74px;
  scroll-behavior: smooth;
}

.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px 12px;
  z-index: 45;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  transition: 0.15s ease;
  flex: 1;
}

.nav-item svg { width: 22px; height: 22px; transition: transform 0.2s ease; }
.nav-item:hover, .nav-item.active { color: var(--primary); }
.nav-item.active svg { transform: translateY(-2px); stroke-width: 2.3; }

.nav-item.nav-labor-hub { position: relative; top: -10px; }
.nav-labor-hub .hub-btn-circle {
  width: 48px;
  height: 48px;
  background: var(--accent-orange-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-orange-glow);
  border: 3px solid #ffffff;
  transition: transform 0.2s ease;
}
.nav-labor-hub:hover .hub-btn-circle { transform: scale(1.08) translateY(-2px); }
.nav-labor-hub span { font-weight: 700; color: var(--accent-orange); }

.home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 4px;
  z-index: 55;
  pointer-events: none;
}
