/* ==================== 登录页小程序交互模拟器专属样式 ==================== */
.mini-simulator-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 24, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: customAlertFadeIn 0.25s ease;
}

.mini-simulator-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

/* 调试控制左侧悬浮条 */
.mini-sim-devtools {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-sim-dev-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-sim-dev-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-sim-dev-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

/* iPhone 真机外壳模型 */
.mini-phone-frame {
  width: 380px;
  height: 760px;
  background: #ffffff;
  border-radius: 48px;
  box-shadow: 
    0 0 0 10px #1e2430,
    0 0 0 12px #333a4d,
    0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 灵动岛 (Dynamic Island) */
.mini-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.mini-camera-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111a2e;
  border: 1px solid #1e293b;
  box-shadow: inset 0 0 2px rgba(59, 130, 246, 0.6);
}

/* 手机内部状态栏 */
.mini-sim-status-bar {
  height: 38px;
  padding: 10px 22px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  z-index: 10;
  user-select: none;
}

/* 微信小程序经典导航栏 */
.mini-sim-nav-bar {
  height: 44px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  position: relative;
}

.mini-sim-capsule {
  display: flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 4px 10px;
  gap: 10px;
}

.mini-sim-capsule-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #0f172a;
  font-size: 11px;
  display: flex;
  align-items: center;
  padding: 0;
}

.mini-sim-capsule-divider {
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.15);
}

/* 小程序可滚动视口 */
.mini-sim-screen {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f8fafc;
  padding-bottom: 70px;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* 微信小程序底部Tabbar */
.mini-sim-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding-bottom: 6px;
  z-index: 20;
}

.mini-sim-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 3px;
}

.mini-sim-tabbar-item i {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.mini-sim-tabbar-item.active {
  color: #2563eb;
}

.mini-sim-tabbar-item.active i {
  color: #2563eb;
  transform: translateY(-2px) scale(1.1);
}

/* 底部小黑条 Home Indicator */
.mini-sim-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #0f172a;
  border-radius: 3px;
  opacity: 0.6;
  z-index: 30;
  pointer-events: none;
}


