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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
  background: #f9f3ee;
  min-height: 100vh;
}

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

/* 主题颜色 */
.theme-color {
  color: #1e90ff;
}

/* 红色 */
.red-color {
  color: #ff0000;
}

/* 加粗 */
.bold {
  font-weight: bold;
}

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

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

/* 主容器 */
.container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
  min-height: calc(100vh - 200px);
}

/* 左側主內容區 */
.main-content {
  flex: 2;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 文章標題區 */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #576d44;
  margin-bottom: 15px;
}

.sub-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 25px;
}

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

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

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

.author-name {
  font-weight: 600;
  color: #1d1d1f;
  font-size: 1.1rem;
}

.publish-date {
  color: #666;
  font-size: 0.9rem;
}

/* 文章包装器 */
.article-wrapper {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 3px solid #f0f0f0;
}

.article-wrapper:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

/* 文章內容 */
.article-content {
  margin-bottom: 40px;
}

.article-content .author-info {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.content-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.content-section h3 {
  font-size: 1.5rem;
  color: #576d44;
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.content-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin: 25px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 導遊推薦區塊 */
.guide-recommendation {
  background: rgba(87, 109, 68, 0.1);
  padding: 25px;
  border-radius: 15px;
  margin: 30px 0;
  border-left: 4px solid #576d44;
  transition: transform 0.3s ease;
}

.guide-recommendation:hover {
  transform: translateX(5px);
}

.guide-recommendation strong {
  color: #576d44;
}

/* 評論區 */
.comment-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f5f5f5;
}

.comment-title {
  font-size: 1.8rem;
  color: #1d1d1f;
  margin-bottom: 30px;
  font-weight: 600;
}

/* 評論輸入框 */
.comment-input-box {
  background: white;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 25px;
  border: none;
  transition: transform 0.3s ease;
}

.comment-input-box:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(87, 109, 68, 0.2);
}

.comment-input {
  width: 100%;
  min-height: 100px;
  border: 2px solid rgba(87, 109, 68, 0.2);
  border-radius: 10px;
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  margin-bottom: 15px;
  padding: 12px;
  transition: border-color 0.3s ease;
}

.comment-input:focus {
  border-color: #576d44;
}

.comment-submit-btn {
  background: #576d44;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(87, 109, 68, 0.3);
}

.comment-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(87, 109, 68, 0.4);
}

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

/* 評論列表 */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(87, 109, 68, 0.1);
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border-bottom: 1px solid rgba(87, 109, 68, 0.08);
  transition: background-color 0.2s ease;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-item:hover {
  background: rgba(87, 109, 68, 0.03);
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(87, 109, 68, 0.2);
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-author {
  font-weight: 500;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: block;
}

.comment-text {
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-time {
  color: #999;
  font-size: 0.8rem;
}

.comment-buttons {
  display: flex;
  gap: 16px;
}

.like-btn,
.reply-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.like-btn:hover,
.reply-btn:hover {
  color: #576d44;
}

/* 右側導遊信息卡片 */
.sidebar {
  flex: 1;
}

.guide-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 40px;
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* 導遊頭部信息 */
.guide-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

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

.guide-name {
  font-size: 1.4rem;
  color: #1d1d1f;
  font-weight: 700;
  margin-bottom: 5px;
}

.guide-title {
  color: #576d44;
  font-weight: 500;
}

/* 聯繫信息 */
.guide-contact {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 0;
}

.contact-item svg {
  margin-right: 8px;
}

.contact-label {
  color: #666;
  font-weight: 500;
}

.contact-value {
  color: #1d1d1f;
  font-weight: 600;
  background: rgba(87, 109, 68, 0.1);
  padding: 5px 12px;
  border-radius: 8px;
  font-family: "Courier New", monospace;
}

/* 二維碼區域 */
.qr-code-section {
  text-align: center;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
}

.qr-title {
  color: #666;
  margin-bottom: 15px;
  font-weight: 500;
}

.qr-code {
  width: 100%;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

/* 快速留言按鈕 */
.quick-message-btn {
  width: 100%;
  background: #576d44;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(87, 109, 68, 0.3);
}

.quick-message-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(87, 109, 68, 0.4);
}

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

/* 底部版權 */
.footer {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 40px 0;
  margin-top: 60px;
  backdrop-filter: blur(20px);
}

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

.copyright {
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.address {
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #576d44;
}

.footer-nav span {
  opacity: 0.5;
}

/* 動畫效果 */
@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);
  }
}

/* 響應式設計 */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 0;
    gap: 30px;
  }

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

  .main-title {
    font-size: 2rem;
  }

  .sidebar {
    display: none;
  }

  .guide-card {
    position: static;
    order: -1;
  }
}

/* 平滑滾動 */
html {
  scroll-behavior: smooth;
}

/* 選中文字樣式 */
::selection {
  background: rgba(87, 109, 68, 0.3);
  color: #1d1d1f;
}

/* 滾動條樣式 */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #576d44;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475a38;
}

/* 导游名称高亮样式 */
.guide-name-highlight {
  color: #ff3b30;
  font-weight: bold;
}

/* 微信号样式 */
.wechat-id {
  color: #ff3b30;
  font-weight: bold;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.wechat-id:hover {
  background-color: rgba(255, 59, 48, 0.1);
  transform: scale(1.05);
}

/* 查看二维码按钮样式 */
.view-qr-btn {
  background: none;
  border: none;
  padding: 0 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.view-qr-btn:hover {
  transform: scale(1.1);
}

.qr-icon {
  width: auto;
  object-fit: contain;
}

/* 底部快速留言模块样式 */
.bottom-message-section {
  margin-top: 80px;
  margin-bottom: 40px;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(87, 109, 68, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bottom-message-section h3 {
  font-size: 1.8rem;
  color: #576d44;
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(87, 109, 68, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: #1d1d1f;
  background: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #576d44;
  box-shadow: 0 0 0 4px rgba(87, 109, 68, 0.1);
}

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

/* 必填星号样式 */
.required {
  color: #ff3b30;
  margin-left: 4px;
}

/* 联系方式选项样式 */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 8px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid rgba(87, 109, 68, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background-color: white;
}

.radio-group:hover {
  background: rgba(87, 109, 68, 0.05);
  border-color: #576d44;
}

.radio-group.selected {
  background: rgba(87, 109, 68, 0.1);
  border-color: #576d44;
}

.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(87, 109, 68, 0.5);
  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: #576d44;
  background: white;
}

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

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

/* 提交按钮样式 */
.submit-btn {
  background: #576d44;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(87, 109, 68, 0.3);
}

.submit-btn:hover {
  background: #475a38;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(87, 109, 68, 0.4);
}

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

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 弹窗相关样式 */
.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: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

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

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

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

.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;
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: #333;
  transform: rotate(90deg);
}

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

.copy-content {
  position: relative;
  background: white;
  padding: 35px 30px 25px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.copy-content .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.copy-content .close-btn:hover {
  background: #f5f5f5;
  color: #666;
  transform: rotate(90deg);
}

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

.copy-header svg {
  color: #07c160;
  width: 48px;
  height: 48px;
}

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

.copy-content p {
  color: #666;
  font-size: 16px;
  word-break: break-all;
  margin: 12px 0;
  line-height: 1.5;
}

.copy-footer {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.copy-footer .secondary-btn,
.copy-footer .primary-btn {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-footer .secondary-btn {
  background: #f5f5f5;
  color: #333;
}

.copy-footer .primary-btn {
  background: #07c160;
  color: white;
}

.copy-footer .secondary-btn:hover {
  background: #ebebeb;
}

.copy-footer .primary-btn:hover {
  background: #06b054;
}

/* 二维码弹窗样式 */
.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: fadeIn 0.3s ease;
}

.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;
}

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

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

.modal-qr-code {
  width: 80%;
  border-radius: 12px;
  cursor: zoom-in;
}

.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;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

.primary-btn:hover {
  background: #06b054;
}

/* 成功提示弹窗样式 */
.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);
}

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

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  background: #34c759;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.success-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.success-btn:hover {
  background: #475a38;
}

/* 评论注册弹窗样式 */
.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: 2000;
  backdrop-filter: blur(5px);
}

.comment-register-modal .modal-content {
  background: white;
  padding: 32px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* 图片查看器样式 */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.image-viewer-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.image-viewer-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.close-viewer-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.close-viewer-btn:hover {
  color: #ddd;
}

/* 移动端悬浮按钮样式 */
.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 {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: #576d44;
}

/* 为第一个微信按钮设置特定的绿色 */
.floating-buttons .float-btn:first-child svg {
  fill: #07c160;
}

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

/* 回到顶部按钮显示控制 */
.float-btn[v-show="true"] {
  display: flex !important;
}

.float-btn[v-show="false"] {
  display: none !important;
}

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

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

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

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

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

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

/* 提示弹窗样式 */
.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: 2000;
  backdrop-filter: blur(5px);
}

.alert-content {
  background: white;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

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

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

.alert-content button:hover {
  background: #475a38;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(87, 109, 68, 0.2);
}

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

  .bottom-message-section h3 {
    margin-bottom: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group {
    margin-bottom: 25px;
  }

  .radio-group {
    padding: 10px 14px;
  }

  .submit-btn {
    margin-top: 10px;
    padding: 14px 28px;
  }

  .modal {
    width: 95%;
    margin: 0 auto;
  }

  .modal-content {
    padding: 24px;
  }

  .modal-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
  }

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

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

  .floating-buttons {
    right: 12px;
    bottom: 20px;
  }

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

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