/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  font-size: 16px;
}

.contact-ewm {
  width: 40% !important;
}

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

/* 容器布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  min-height: 100vh;
}

/* 主内容区域 */
.main-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 文章标题区域 */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8f5e8;
}

.main-title {
  font-size: 42px;
  font-weight: 700;
  color: #2d6a4f;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.sub-title {
  font-size: 20px;
  color: #52796f;
  font-weight: 400;
  margin-bottom: 24px;
}

/* 旅游标签 */
.travel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tag-primary {
  background: linear-gradient(135deg, #2d6a4f 0%, #52796f 100%);
  color: white;
}

.tag-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

.tag-secondary {
  background: linear-gradient(135deg, #84c591 0%, #52796f 100%);
  color: white;
}

.tag-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 197, 145, 0.3);
}

.tag-accent {
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
  color: #2d6a4f;
  border-color: #84c591;
}

.tag-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 197, 145, 0.2);
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

/* 作者信息 */
.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #84c591;
  transition: transform 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.1);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #2d6a4f;
  font-size: 16px;
}

.publish-date {
  color: #74a384;
  font-size: 14px;
}

/* 等级标签和作者标签 */
.level-tag {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.author-tag {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  margin-left: 8px;
}

/* 文章内容 */
.article-content {
}

/* 文章分隔样式 */
.article-separator {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e8f5e8;
}

/* 文章标题样式 */
.article-title {
  font-size: 32px;
  font-weight: 700;
  color: #2d6a4f;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.article-subtitle {
  font-size: 18px;
  color: #52796f;
  font-weight: 400;
  margin-bottom: 24px;
}

.content-section p {
  margin-bottom: 20px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

.content-section h3 {
  font-size: 24px;
  color: #2d6a4f;
  margin: 30px 0 20px 0;
  font-weight: 600;
}

.content-image {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 评论区域 */
.comments-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e8f5e8;
}

.comments-section h3 {
  font-size: 24px;
  color: #2d6a4f;
  margin-bottom: 24px;
  font-weight: 600;
}

/* 评论表单 */
.comment-form {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-input {
  width: 100%;
  min-height: 100px;
  padding: 16px;
  border: 2px solid #e8f5e8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.comment-input:focus {
  outline: none;
  border-color: #52796f;
  box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.1);
  background: white;
}

.comment-submit {
  align-self: flex-end;
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
}

.comment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 121, 111, 0.4);
}

.comment-submit:active {
  transform: translateY(0);
}

/* 评论列表 */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.comment-item:hover {
  background: #f0f8f0;
  transform: translateX(4px);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #84c591;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

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

.comment-author {
  font-weight: 600;
  color: #2d6a4f;
  font-size: 14px;
}

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

.comment-text {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* 侧边栏 */
.sidebar {
  position: relative;
}

/* 导游卡片 */
.guide-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
  border: 1px solid #e8f5e8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.guide-avatar-section {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8f5e8;
}

.guide-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #84c591;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.guide-avatar:hover {
  transform: scale(1.1);
}

.guide-name {
  font-size: 22px;
  color: #2d6a4f;
  margin-bottom: 8px;
  font-weight: 700;
}

.guide-title {
  color: #52796f;
  font-size: 14px;
  font-weight: 500;
}

/* 导游信息 */
.guide-info {
  margin-bottom: 24px;
}

.guide-card .guide-info {
  display: flex;
  flex-direction: column;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f8f0;
  transition: background-color 0.3s ease;
}

.info-item:hover {
  background-color: #fafafa;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px;
}

.info-label {
  color: #74a384;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wechat-icon {
  color: #52796f;
  flex-shrink: 0;
}

.info-value {
  color: #2d6a4f;
  font-size: 14px;
  font-weight: 600;
}

/* 二维码区域 */
.qr-code-section {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
  border-radius: 12px;
}

.qr-code {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.05);
}

.qr-text {
  color: #52796f;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

/* 快速留言按钮 */
.quick-message-btn {
  width: 100%;
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(82, 121, 111, 0.3);
}

.quick-message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82, 121, 111, 0.4);
}

.quick-message-btn:active {
  transform: translateY(0);
}

/* 底部版权 */
.footer {
  grid-column: 1 / -1;
  background: #2d6a4f;
  color: white;
  padding: 30px 0;
  border-radius: 16px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.copyright {
  margin-bottom: 12px;
  font-size: 14px;
  color: #b8d4c8;
}

.address {
  margin-bottom: 16px;
  font-size: 13px;
  color: #a8c7b8;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #b8d4c8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: white;
}

.footer-nav span {
  color: #84c591;
}

/* 动画定义 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .main-content {
    padding: 24px;
    border-radius: 0;
  }

  .main-title {
    font-size: 32px;
  }

  .sub-title {
    font-size: 18px;
  }

  .sidebar {
    display: none;
  }

  .footer-content {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 16px;
  }

  .guide-card {
    padding: 20px;
  }

  .main-title {
    font-size: 28px;
  }

  .sub-title {
    font-size: 16px;
  }

  .travel-tags {
    gap: 8px;
    margin-bottom: 24px;
  }

  .tag {
    padding: 4px 10px;
    font-size: 11px;
  }

  .comment-form {
    gap: 12px;
  }

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

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #84c591;
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #52796f;
}

/* 选择文本样式 */
::selection {
  background: rgba(132, 197, 145, 0.3);
  color: #2d6a4f;
}

/* 平滑过渡 */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Vue相关样式 */
.guide-name-highlight {
  color: #e74c3c;
  font-weight: 600;
}

.wechat-id {
  color: #e74c3c;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.wechat-id:hover {
  color: #c0392b;
}

.view-qr-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  transition: background-color 0.3s ease;
}

.view-qr-btn:hover {
  background-color: rgba(82, 121, 111, 0.1);
}

.qr-icon {
  vertical-align: middle;
}

/* 快速留言模块 */
.quick-message-section {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #52796f;
}

.quick-message-section h3 {
  color: #2d6a4f;
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 600;
}

.quick-message-section > p {
  color: #666;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

/* 表单样式 */
.message-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  color: #2d6a4f;
  font-size: 14px;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #52796f;
  box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.1);
  background: white;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
}

.radio-group:hover {
  border-color: #52796f;
  background: #f0f8f0;
}

.radio-group.selected {
  border-color: #52796f;
  background: #e8f5e8;
}

.radio-group input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
}

.radio-group label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.submit-btn {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(82, 121, 111, 0.3);
  align-self: flex-start;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82, 121, 111, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

/* 弹窗遮罩 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

/* 弹窗基础样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* 留言弹窗专用样式 */
.modal .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.modal .contact-form .form-group label {
  font-weight: 600;
  color: #2d6a4f;
  font-size: 14px;
}

.modal .contact-form .form-group input,
.modal .contact-form .form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
  width: 100%;
  box-sizing: border-box;
}

.modal .contact-form .form-group input:focus,
.modal .contact-form .form-group textarea:focus {
  outline: none;
  border-color: #52796f;
  box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.1);
  background: white;
}

.modal .contact-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.modal .radio-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  min-height: 44px;
}

.modal .radio-group:hover {
  border-color: #52796f;
  background: #f0f8f0;
}

.modal .radio-group.selected {
  border-color: #52796f;
  background: #e8f5e8;
}

.modal .radio-group input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.modal .radio-group label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  flex: 1;
}

.modal .submit-btn {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(82, 121, 111, 0.3);
  align-self: flex-start;
}

.modal .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82, 121, 111, 0.4);
}

.modal .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8f5e8;
}

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

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

/* 复制成功弹窗 */
.copy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  animation: fadeIn 0.3s ease;
}

.copy-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.3s ease;
}

.copy-content .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.copy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.copy-header svg {
  color: #27ae60;
  width: 48px;
  height: 48px;
}

.copy-header h3 {
  color: #2d6a4f;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.copy-content p {
  color: #666;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.copy-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.secondary-btn {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e8f5e8;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: #e8f5e8;
  color: #52796f;
}

.primary-btn {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
}

/* 二维码弹窗 */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  animation: fadeIn 0.3s ease;
}

.qr-modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 400px;
  width: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.qr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
}

.qr-modal-header .close-btn {
  color: white;
}

.qr-modal-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

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

.modal-guide-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
}

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

.guide-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  margin-top: 2px;
  align-self: flex-start;
}

.qr-modal-body {
  padding: 24px;
  text-align: center;
}

.modal-qr-code {
  width: 80%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-qr-code:hover {
  transform: scale(1.05);
}

.qr-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: #f8f9fa;
  justify-content: center;
}

/* 成功提示弹窗 */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  animation: fadeIn 0.3s ease;
}

.success-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 350px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.3s ease;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  color: white;
  width: 32px;
  height: 32px;
}

.success-content h3 {
  color: #2d6a4f;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.success-btn {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
}

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

.comment-register-modal .modal-content {
  max-width: 500px;
  width: 90%;
  padding: 32px;
}

.comment-register-modal .modal-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8f5e8;
}

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

.comment-register-modal .form-group label {
  font-weight: 600;
  color: #2d6a4f;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.comment-register-modal .contact-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.comment-register-modal .radio-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  min-height: 44px;
}

.comment-register-modal .radio-group:hover {
  border-color: #52796f;
  background: #f0f8f0;
}

.comment-register-modal .radio-group.selected {
  border-color: #52796f;
  background: #e8f5e8;
}

.comment-register-modal .radio-group input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.comment-register-modal .radio-group label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  flex: 1;
}

.comment-register-modal .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
  box-sizing: border-box;
}

.comment-register-modal .form-group input:focus {
  outline: none;
  border-color: #52796f;
  box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.1);
  background: white;
}

.comment-register-modal .submit-btn {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(82, 121, 111, 0.3);
  width: 100%;
  margin-top: 8px;
}

.comment-register-modal .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82, 121, 111, 0.4);
}

/* 提示框 */
.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  animation: fadeIn 0.3s ease;
}

.alert-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 350px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.3s ease;
}

.alert-content p {
  color: #333;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.alert-content button {
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alert-content button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
}

/* 悬浮按钮 */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(82, 121, 111, 0.3);
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 121, 111, 0.4);
}

.float-btn svg {
  width: 20px;
  height: 20px;
}

/* 动画定义 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .contact-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .floating-buttons {
    display: flex;
  }

  .modal-content {
    padding: 20px;
    width: 95%;
    max-width: none;
  }

  .modal .contact-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .modal .radio-group {
    padding: 10px 8px;
    min-height: 40px;
  }

  .modal .radio-group label {
    font-size: 13px;
  }

  .modal .contact-form .form-group input,
  .modal .contact-form .form-group textarea {
    padding: 10px 12px;
    font-size: 15px;
  }

  .modal .submit-btn {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }

  .modal .iti-input {
    padding: 10px 12px;
    font-size: 15px;
  }

  .comment-register-modal .modal-content {
    padding: 20px;
    width: 95%;
    max-width: none;
  }

  .comment-register-modal .contact-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .comment-register-modal .radio-group {
    padding: 8px 6px;
    min-height: 40px;
  }

  .comment-register-modal .radio-group label {
    font-size: 13px;
  }

  .comment-register-modal .form-group input {
    padding: 10px 12px;
    font-size: 15px;
  }

  .comment-register-modal .submit-btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .copy-content {
    padding: 24px;
    width: 95%;
  }

  .qr-modal-content {
    width: 95%;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* 电话输入框样式 */
.iti {
  width: 100% !important;
  display: block;
}

.iti__selected-flag {
  padding: 0 8px;
}

.iti-input {
  width: 100% !important;
}

/* 弹窗中的电话输入框 */
.modal .iti {
  width: 100% !important;
  display: block;
}

.modal .iti-input {
  width: 100% !important;
  padding: 12px 16px;
  border: 2px solid #e8f5e8;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.modal .iti-input:focus {
  outline: none;
  border-color: #52796f;
  box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.1);
  background: white;
}

/* 7天6晚行程路线样式 */
.itinerary-section {
  margin: 40px 0;
}

.itinerary-section h3 {
  font-size: 28px;
  color: #2d6a4f;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.itinerary-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #52796f 0%, #2d6a4f 100%);
  border-radius: 2px;
}

/* 每日行程卡片容器 */
.day-itinerary {
  background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border-left: 5px solid #52796f;
  box-shadow: 0 4px 16px rgba(82, 121, 111, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.day-itinerary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #52796f 0%, #84c591 50%, #52796f 100%);
}

.day-itinerary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(82, 121, 111, 0.2);
}

/* 每日标题样式 */
.day-title {
  font-size: 20px;
  font-weight: 700;
  color: #2d6a4f;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* 每日内容样式 */
.day-content {
  line-height: 1.8;
}

.day-content .day-activities {
  color: #555;
  margin-bottom: 8px;
  font-size: 16px;
}

.day-content .day-highlights {
  color: #666;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 12px;
}

.day-content .day-description {
  color: #52796f;
  font-size: 15px;
  font-weight: 500;
  background: rgba(82, 121, 111, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #52796f;
}

/* 特殊背景渐变为不同天数 */
.itinerary-section .day-itinerary:nth-child(odd) {
  background: linear-gradient(135deg, #f0f8f0 0%, #e0f2e0 100%);
}

.itinerary-section .day-itinerary:nth-child(even) {
  background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

/* 时间线连接线 */
.day-itinerary:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: -10px;
  width: 2px;
  height: 10px;
  background: linear-gradient(180deg, #52796f 0%, #84c591 100%);
  z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .itinerary-section h3 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .day-itinerary {
    padding: 20px;
    margin-bottom: 16px;
  }

  .day-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .day-title::before {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .day-content .day-activities {
    font-size: 15px;
  }

  .day-content .day-highlights {
    font-size: 14px;
  }

  .day-content .day-description {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .day-itinerary {
    padding: 16px;
  }

  .day-title {
    font-size: 16px;
    gap: 10px;
  }

  .day-title::before {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .day-content .day-activities {
    font-size: 14px;
  }

  .day-content .day-highlights {
    font-size: 13px;
  }

  .day-content .day-description {
    font-size: 13px;
    padding: 5px 8px;
  }
}
