html, body {
  padding: 0;
  margin: 0;
}

/* 基础样式 */
.ie-modal {
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  display: none;
}

/* 弹窗容器 */
.browser-alert {
  width: 420px;
  background: linear-gradient(135deg, #1e88e5, #0d47a1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: white;
  /* transform: scale(0.7); */
  animation: fadeIn 0.3s ease-out;
}

/* 弹窗头部 */
.alert-header {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.alert-header i {
  font-size: 24px;
  margin-right: 15px;
  color: #bbdefb;
}

.alert-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* 弹窗内容 */
.alert-content {
  padding: 25px;
  line-height: 1.6;
}

.alert-content p {
  margin: 0 0 20px 0;
  font-size: 15px;
}

/* 浏览器列表 */
.browser-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.browser-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: white;
  margin-top: 10px;
}

.browser-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.browser-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.browser-name {
  font-size: 14px;
  font-weight: 500;
}

/* 底部按钮 */
.alert-footer {
  padding: 15px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
}

.confirm-btn {
  background-color: #bbdefb;
  color: #0d47a1;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.confirm-btn:hover {
  background-color: #e3f2fd;
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 图标样式 */
.icon-warning {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #ffeb3b;
  border-radius: 50%;
  color: #ff9800;
  text-align: center;
  line-height: 24px;
  margin-right: 10px;
  font-style: normal;
  font-weight: bold;
}
