/* 彩虹岛弹窗样式 */
.popup-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}
body{
  
}
#server-select-popup{
  width: 680px;
}

#welcome-popup{
width: 680px;
}
#confirm-popup{
  padding-top: 30px;
  width: 680px;
}
#commond-popup{
  width: 680px;
}

#commond-text{
  color: white;
  font-size: 20px;
}

.popup {
  position: fixed;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  border: 10px solid #000000;
  background-color: #6e71c0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  width: 940px;
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  transition: all 0.3s ease;
  color: white;
  font-family: "Microsoft YaHei", sans-serif;
  display: none;
}

.popup.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.popup-header {
  padding: 20px 0 5px;
  position: relative;
  text-align: center;
}

.popup-header h3 {
  margin: 0;

  font-size: 23px;
  font-weight: bold;
  color: white;
}

.star-header {
  padding-top: 30px;
}

.star-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.close-btn {
  position: absolute;
  top: -56px;
  right: -8px;
  font-size: 24px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  font-size: 57px;
  background-color: #000000;
  width: 61px;
  height: 50px;
  border-radius: 15px 15px 0 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url(https://static.web.sdo.com/chd/pic/202506laowanjia/close.png);
}

.close-btn:hover {
  filter: brightness(1.1);
}

.popup-content {
  padding: 20px;
  font-size: 16px;
}

.popup-content p {
  margin: 10px 0;
  line-height: 1.6;
}
.y {
  color: #ffde00;
}
.popup-content h3 {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.6;
}

/* 优化表格样式 */
.info-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  margin-bottom: 15px ;
  text-align: center;
  /* background: rgba(255, 255, 255, 0.1); */
  /* border-radius: 8px; */
  overflow: hidden;
  table-layout: fixed; /* 固定表格布局 */
  border: 1px solid #4e4d86;
}

.info-table th,
.info-table td {
  padding: 12px 8px;
  text-align: center; /* 居中对齐 */
  border: 1px solid #4e4d86;
  vertical-align: middle; /* 垂直居中 */
  word-wrap: break-word; /* 长文本换行 */
  font-size: 18px;
}

/* 设置各列的固定宽度 */
.info-table th:nth-child(1),
.info-table td:nth-child(1) {
  width: 15%; /* 大区列 */
}

.info-table th:nth-child(2),
.info-table td:nth-child(2) {
  width: 35%; /* 礼包名称列 */
}

.info-table th:nth-child(3),
.info-table td:nth-child(3) {
  width: 35%; /* 礼包编码列 */
  font-family: monospace; /* 等宽字体 */
}

.info-table th:nth-child(4),
.info-table td:nth-child(4) {
  width: 15%; /* 操作按钮列 */
}

/* 优化按钮样式 */
.copy-btn {
  background: #c2c4ff;
  color: #41406f;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
  white-space: nowrap; /* 防止按钮文字换行 */
  min-width: 70px; /* 最小宽度 */
}

/* 长文本处理 */
.gift-code {
  font-size: 18px !important;
  letter-spacing: 1px;
  word-break: break-all; /* 强制换行 */
  line-height: 1.3;
}

.gift-name {
  font-size: 13px;
  line-height: 1.4;
}

.info-table th {
  background: #41406f;
  font-weight: bold;
}

.copy-btn:hover {
  background: #c2c4ff;
}

.popup-tips {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  
}

.popup-tips h4 {
  margin: 0 0 10px 0;

  font-size: 20px;
}

span.yellow {
  color: #ffd700;
}

.popup-tips ol {
  margin: 0;
  padding-left: 20px;
}

.popup-tips li {
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.4;
}

.welcome-content {
  text-align: center;
  padding: 30px 20px;
}

.welcome-content h3 {
  margin: 15px 0;
  font-size: 20px;
  /* color: #ffd700; */
}
.icon-star{
  background-image: url(https://static.web.sdo.com/chd/pic/202506laowanjia/icon-star1.png);
  width: 32px;
  height: 32px;
  margin: 0 auto;
}

.highlight {
  color: #ffd700 !important;
  font-weight: bold;
}

.confirm-content {
  text-align: center;
  padding: 30px 20px;
}

.confirm-content h3 {
  margin: 15px 0;
  font-size: 16px;
}

.button-group {
  margin-top: 25px;
  text-align: center;
}

.confirm-btn,
.cancel-btn {
  /* padding: 10px 25px;
  margin: 0 10px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s; */
}

.confirm-btn {
  background: #c2c4ff;
  color: white;
}

.confirm-btn:hover {
  background: #c2c4ff;
  transform: translateY(-2px);
}



.server-content {
  padding: 30px 20px;
}

.select-group {
  display: flex;
  margin: 15px 0;    justify-content: center;
}
.select-group  select{
  width: 200px;
  height: 32px;
  padding:0 10px;
  border: 0;
  background-color: #4b4e95;
  border-radius: 10px;color: #d2d4f8;
}

.btn-style1{
  width: 130px;
  /* height: 41px; */
  padding: 4px 0;
  box-shadow:1px 1px 1px 1px #5b5db5 ;
  font-size: 22px;
  background-color: #c2c4ff;
  border: 0px; border-radius: 10px; 
  cursor: pointer;
  text-align: center;
  color: #41406f;
  transition: .5s;
}

.btn-style1:hover{
  transform: translateY(-2px);
}

.server-select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

.server-select:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Toast提示样式 */
.popup-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  z-index: 10000;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none;
 
}

.popup-toast.show {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .popup {
    min-width: 90%;
    max-width: 90%;
    margin: 20px;
  }

  .info-table {
    font-size: 12px;
  }

  .info-table th,
  .info-table td {
    padding: 8px 4px;
  }
}

/* 通用提示弹窗样式 */
.commond-content {
  text-align: center;
  padding: 20px;
}

.commond-message {
  margin-bottom: 30px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commond-message p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  word-wrap: break-word;
  max-width: 100%;
}

 .button-group {
  display: flex;
  justify-content: center;
  display: flex;
    gap: 15px;
    justify-content: space-evenly;
}