@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* 自定义样式 */
.ios-status-bar {
  height: 44px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.ios-nav-bar {
  height: 44px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.ios-nav-title {
  font-size: 17px;
  font-weight: 600;
}

.ios-nav-back {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
}

.ios-tab-bar {
  height: 49px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid #f0f0f0;
}

.ios-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.ios-tab-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.ios-tab-label {
  font-size: 10px;
}

.phone-frame {
  width: 375px;
  height: 812px;
  background-color: #ffffff;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin: 20px;
  border: 12px solid #1a1a1a;
}

.phone-content {
  width: 100%;
  height: calc(100% - 93px); /* 减去状态栏和标签栏的高度 */
  overflow-y: auto;
}

.phone-content::-webkit-scrollbar {
  width: 3px;
}

.phone-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.phone-content::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  margin-bottom: 10px;
  word-wrap: break-word;
  position: relative;
}

.user-bubble {
  background-color: #007AFF;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.bot-bubble {
  background-color: #F2F2F7;
  color: #000;
  margin-right: auto;
  border-bottom-left-radius: 4px;
}

.primary-color {
  color: #1D70B8; /* 北斗蓝色 */
}

.primary-bg {
  background-color: #1D70B8;
}

.secondary-color {
  color: #FF6B00; /* 北斗橙色 */
}

.secondary-bg {
  background-color: #FF6B00;
}

.frame-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.frame-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
  color: #333;
} 