* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

header {
  background-color: #fff;
  padding: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #f5f5f7;
}

/* 移动端适配 */
@media (max-width: 768px) {
  header {
    width: 100%;
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 24px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 0.8;
}

.hero {
  flex: 1;
}

.question-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: #e8f2ff;
  color: #0066cc;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.question-tag:hover {
  background-color: #d8e8ff;
}

.question-container {
  padding: 32px;
  background: #f5f5f7;
  border-radius: 20px;
  width: 100%;
  margin-top: 0;
  transition: transform 0.3s ease;
}

.question-container:hover {
  transform: translateY(-2px);
}

h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1d1d1f;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 18px;
  font-weight: 400;
  color: #86868b;
  margin-bottom: 24px;
  line-height: 1.5;
}

.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
  margin-top: 24px;
}

.questioner-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.questioner-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.questioner-details .name {
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
}

.questioner-details .location {
  font-size: 13px;
  color: #86868b;
}

.question-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #86868b;
  font-size: 14px;
}

.dot {
  color: #d2d2d7;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.avatar:hover {
  transform: scale(1.05);
}

.author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

.content-left {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar {
  position: relative;
  height: 100%;
}

.sticky-content {
  position: sticky;
  top: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.guide-profile {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.guide-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.guide-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.verified-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: #007AFF;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #fff;
}

.guide-name {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.guide-tag {
  font-size: 12px;
  background: #fff4e5;
  color: #ff9500;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.guide-motto {
  color: #666;
  font-size: 14px;
  font-style: italic;
  margin-bottom: 20px;
}

.guide-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
}

.stat-label {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.contact-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.qr-code {
  width: 100%;
  height: auto;
  max-width: 200px;
  border-radius: 8px;
}

.contact-tip {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
}

.response-time {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.comments-section {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding: 0 16px;
}

.comment {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f7;
  color: #666;
}

footer a {
  color: #666;
  text-decoration: none;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .content-left {
    width: 100%;
    padding: 16px;
    border-radius: 0;
  }

  .comments-section {
    padding: 0;
  }

  .sidebar {
    display: none;
  }

  .sticky-content {
    padding: 20px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .logo {
    margin-bottom: 0;
  }

  .question-container {
    padding: 24px;
    border-radius: 16px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  h2 {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .question-tag {
    padding: 4px 12px;
    font-size: 13px;
  }

  .question-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 20px;
    margin-top: 20px;
  }

  .questioner-info {
    gap: 12px;
  }

  .avatar {
    width: 36px;
    height: 36px;
  }

  .questioner-details .name {
    font-size: 14px;
  }

  .questioner-details .location {
    font-size: 12px;
  }

  .question-stats {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
    gap: 10px;
  }

  .comment-input .comment-avatar {
    display: none;
  }
}

/* 添加新的样式 */
.post-content h3 {
  font-size: 28px;
  margin: 20px 0;
  color: #333;
}

.post-content h4 {
  font-size: 24px;
  margin: 30px 0 20px;
  color: #444;
}

.post-content p {
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.8;
}

.post-img {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.tips ul {
  margin: 16px 0;
}

.tips li {
  margin: 8px 0;
}

/* 评论区样式 */
.comment-input {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 16px;
  background: #f5f5f7;
  border-radius: 16px;
}

.comment-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 15px;
  color: #1d1d1f;
  background: #fff;
  transition: all 0.3s ease;
}

.comment-input input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.comment-input button {
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-input button:hover {
  background: #0055b3;
}

.comments-list {
  margin-top: 30px;
}

.comment {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.comment-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 600;
  color: #333;
}

.comment-time {
  font-size: 12px;
  color: #999;
}

.comment-actions {
  margin-top: 8px;
  display: flex;
  gap: 20px;
  color: #666;
  font-size: 14px;
}

.comment-actions span {
  cursor: pointer;
}

.comment-actions span:hover {
  color: #007AFF;
}

/* 在样式表中添加作者信息的样式 */
.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.author-avatar {
  border-radius: 50%;
  object-fit: cover;
  width: 64px;
  height: 64px;
}

@media (max-width: 768px) {
  .author-avatar {
    width: 40px;
    height: 40px;
  }
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.author-title {
  font-size: 14px;
  color: #666;
}

/* 添加留言按钮和提示语的样式 */
.message-alternative {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.message-btn {
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.message-btn:hover {
  background: #0066dd;
}

.message-tip {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-top: 12px;
  padding: 0 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .author-avatar {
    width: 40px;
    height: 40px;
  }

  .author-meta {
    gap: 2px;
    /* 减小名字和头衔之间的间距 */
  }

  .author-name {
    font-size: 14px;
    /* 减小名字字号 */
  }

  .author-title {
    font-size: 12px;
    /* 减小头衔字号 */
  }
}

/* 行程安排样式 */
.itinerary {
  margin: 30px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
}

.day-plan {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
}

.day-plan:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.day-plan h5 {
  color: #007AFF;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.day-plan p {
  color: #333;
  line-height: 1.6;
  margin: 12px 0;
}

.day-plan .tips {
  color: #666;
  font-size: 14px;
  margin-top: 8px;
  padding-left: 16px;
  border-left: 3px solid #007AFF;
}

@media (max-width: 768px) {
  .itinerary {
    padding: 16px;
    margin: 20px 0;
  }

  .day-plan h5 {
    font-size: 16px;
  }

  .day-img {
    border-radius: 6px;
    margin: 8px 0;
  }

  .day-plan {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
}

/* 添加行程图片样式 */
.day-img {
  width: 100%;
  border-radius: 8px;
  margin: 12px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 添加留言表单样式 */
.message-form {
  margin-top: 40px;
  padding: 30px;
  background: #f5f5f7;
  border-radius: 16px;
}

.message-form h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 14px;
  color: #1d1d1f;
  background: #fff;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* 添加必填星号样式 */
.form-group .required {
  color: #ff3b30;
  /* 使用苹果风格的红色 */
  margin-left: 4px;
}

.submit-btn {
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #0055b3;
}

/* 添加导游名称高亮样式 */
.guide-name-highlight {
  color: #ff3b30;
  /* 苹果风格的红色 */
  font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .message-form {
    padding: 20px;
    margin-top: 30px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
  }

  .submit-btn {
    padding: 12px 24px;
  }
}

/* 添加单选按钮样式 */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background-color: #fff;
}

.radio-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.radio-group:hover {
  background: #f5f5f7;
}

.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #d2d2d7;
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.radio-group input[type="radio"]:checked {
  border-color: #0066cc;
  background: #fff;
}

.radio-group input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #0066cc;
  border-radius: 50%;
}

.radio-group label {
  font-size: 15px;
  color: #1d1d1f;
  cursor: pointer;
  user-select: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .radio-group {
    padding: 8px;
  }
}

/* 添加弹窗相关样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.modal-content {
  padding: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.close-btn:hover {
  color: #333;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .modal {
    width: 90%;
  }

  .modal-content {
    padding: 20px;
  }
}

/* 添加快速留言按钮区域样式 */
.quick-contact {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.quick-contact p {
  margin-bottom: 16px;
  color: #666;
  font-size: 15px;
}

.quick-contact .message-btn {
  margin: 0 auto;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .quick-contact {
    margin-top: 24px;
    padding-top: 16px;
  }

  .quick-contact p {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

/* 添加微信号样式 */
.wechat-id {
  color: #007AFF;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.wechat-id:hover {
  background-color: #f0f7ff;
}

/* 复制成功弹窗样式 */
.copy-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.copy-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007AFF;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.copy-content p {
  margin: 8px 0;
  color: #333;
}

.copy-content p:last-child {
  color: #666;
  font-size: 14px;
}

/* 添加微信号组样式 */
.wechat-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 调整微信号样式 */
.wechat-id {
  display: inline-flex;
  align-items: center;
}

/* 调整查看二维码按钮样式 */
.view-qr-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #f0f7ff;
  color: #007AFF;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.view-qr-btn:hover {
  background: #e0f0ff;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .wechat-group {
    gap: 6px;
  }

  .view-qr-btn {
    padding: 3px 10px;
    font-size: 13px;
  }
}

/* 二维码弹窗样式 */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
  animation: modalOverlayFadeIn 0.3s ease-out;
}

.qr-modal-content {
  background: white;
  width: 90%;
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.qr-modal-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.guide-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-guide-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-guide-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-modal-body {
  padding: 24px;
  /* 减小内边距，让二维码看起来更�� */
  text-align: center;
}

.modal-qr-code {
  width: 260px;
  /* 从 200px 改为 260px */
  height: 260px;
  border-radius: 12px;
}

.qr-tip {
  color: #666;
  font-size: 14px;
}

.qr-modal-footer {
  padding: 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
}

.secondary-btn {
  padding: 8px 20px;
  background: #f5f5f7;
  color: #666;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background: #eee;
}

.primary-btn {
  padding: 8px 20px;
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.primary-btn:hover {
  background: #0066dd;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .qr-modal-content {
    width: 95%;
  }

  .modal-qr-code {
    width: 240px;
    /* 从 180px 改为 240px */
    height: 240px;
  }

  .qr-modal-header {
    padding: 16px;
  }

  .qr-modal-body {
    padding: 20px;
  }

  .qr-modal-footer {
    padding: 16px;
  }
}

/* 悬浮按钮样式 */
.floating-buttons {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
  display: none;
  /* 默认隐藏所有按钮 */
}

/* 微信和留言按钮只在移动端显示 */
@media (max-width: 768px) {
  .floating-buttons {
    display: flex;
    /* 移动端显示按钮组 */
  }
}

/* 回到顶部按钮的基础样式 */
.float-btn[v-show="showBackToTop"] {
  display: flex !important;
  /* 强制显示回到顶部按钮 */
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* 回到顶部按钮隐藏时的样式 */
.float-btn[v-show="false"] {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* 按钮基础样式 */
.float-btn {
  width: 45px;
  height: 45px;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.float-btn svg {
  width: 22px;
  height: 22px;
  fill: #007AFF;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* 添加成功提示弹窗样式 */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.success-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 320px;
  animation: slideUp 0.3s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #34C759;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.3s ease;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.success-content h3 {
  font-size: 20px;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.success-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

.success-btn {
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.success-btn:hover {
  background: #0066dd;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .success-content {
    width: 85%;
    padding: 24px;
  }

  .success-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .success-icon svg {
    width: 30px;
    height: 30px;
  }

  .success-content h3 {
    font-size: 18px;
  }

  .success-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .success-btn {
    padding: 10px 28px;
    font-size: 15px;
  }
}

/* 通用提示弹窗样式 */
.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}

.alert-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.3s ease;
}

.alert-content p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #1d1d1f;
  line-height: 1.4;
}

.alert-content button {
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.alert-content button:hover {
  background: #0055b3;
}

/* 评论注册弹窗样式 */
.comment-register-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}

.comment-register-modal .modal-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.3s ease;
}

.comment-register-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.comment-register-modal .modal-header h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.comment-register-modal .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #86868b;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: all 0.2s ease;
}

.comment-register-modal .close-btn:hover {
  color: #1d1d1f;
}

.comment-register-modal .submit-btn {
  width: 100%;
  /* 按钮宽度100% */
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  /* 与上方表单的间距 */
}

.comment-register-modal .submit-btn:hover {
  background: #0055b3;
}

.comment-register-modal .form-group {
  margin-bottom: 16px;
}

/* 添加动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .comment-input {
    padding: 12px;
    gap: 12px;
  }

  .comment-input input {
    padding: 10px 14px;
    font-size: 14px;
  }

  .comment-input button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .alert-content,
  .comment-register-modal .modal-content {
    width: 85%;
    padding: 20px;
  }

  .comment-register-modal .modal-header h4 {
    font-size: 18px;
  }
}

#contact-number,
#contact-number2,
#comment-contact-number {
  width: 100%;
}

.iti__selected-flag {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* 彈窗動畫相關樣式 */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalOverlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 為彈窗添加動畫 */
.modal-overlay {
  animation: modalOverlayFadeIn 0.3s ease-out;
}

.modal .modal-content,
.comment-register-modal .modal-content,
.qr-modal .qr-modal-content {
  animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 添加错误消息样式 */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* 调整电话输入框样式 */
.iti {
  width: 100%;
}

/* 艾特颜色 */
.at-color {
  color: #f39c12;
}

/* 内容二维码 */
.ewm img {
  max-width: 40%;
}

@media (max-width: 768px) {
  .ewm img {
    max-width: 60%;
  }
}