* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  background-color: #f8f9fa;
}
/* 客服消息加载中 */
.loader {
  padding: 5px 20px;
  border-radius: 45px;
  text-align: center;
  border: 1px solid #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #acaeaf;
  margin: 0 3px;
  animation: pulse 1.5s infinite;
}
.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}
/* ...头部 */
.nick {
  margin-bottom: 10px;
}
ul li {
  list-style: none;
}
.container {
  padding-bottom: 100px;
  width: 100%;
  background-color: #f8f9fa;
}
.avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.chat-box {
  padding-top: 40px;
}
.img-container {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.img {
  width: 100%;
  height: 100%;
}
.message-card {
  background-color: white;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.right-content {
  text-align: right;
}
.age {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.age li {
  width: 45%;
  border-radius: 10px;
}
.age li,
.button {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  min-height: 50px;
  border-radius: 25px;
  /* height: 50%; */
  background-color: #2eb435;
}
.message input {
  outline: none;
  padding: 10px 10px;
  width: 100%;
  border: 1px solid #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.phone-input {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05) 0 0 0 1000px transparent;
  border-left: none;
}
.button {
  margin-top: 10px;
}
.hidden {
  display: none;
}

/* 页面加载中 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.content {
  display: none;
  overflow: auto;
  height: 100vh;
}
.sub {
  /* position: relative; */
  /* overflow: auto;
  height: 100vh; */
  
}
/* 语言样式 */
.select-phone {
  display: flex;
  justify-content: space-between;
}
.country-code-selector {
  display: flex;
  border: none;
  outline: none;
  padding-left: 19px;
  padding-right: 19px;
  align-content: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.language-selector {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: none;
}

.selected-language {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.language-flag {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  margin-right: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-name {
  flex: 1;
  text-align: left;
  font-weight: 500;
  color: #333;
}

.dropdown-icon {
  color: #666;
  transition: transform 0.3s ease;
}

.language-dropdown {
  position: absolute;
  top: 85%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  z-index: 1000;
}

.language-dropdown.open {
  max-height: 300px;
}

.language-option {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.language-option:hover {
  background: #e0e6ea;
}

.language-option.active {
  background: #667eea;
  color: white;
}

.language-option.active .language-flag {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* .use-chat-gpt-ai-context-menu-g85zgq {
  display: hidden !important;
} */
