/* 全局样式 */
:root {
  --primary-color: #00796b;
  --text-color: #333;
  --background-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
}

/* 艾特颜色 */
.at-color {
  color: #f39c12;
}

/* 主题颜色 */
.theme-color {
  color: #00796b;
}

/* 红色 */
.red-color {
  color: #ff0000;
}

/* 加粗 */
.bold {
  font-weight: bold;
}

body {
  line-height: 1.6;
  color: var(--text-color);
}

/* 文章页面样式 */
.article-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 40px;
}

.article-main {
  flex: 8;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-sidebar {
  flex: 2;
  position: sticky;
  top: 20px;
  height: fit-content;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.article-sidebar:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.article-sidebar h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
}

.article-tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.article-section {
  margin-bottom: 40px;
}

.article-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.article-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.article-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.article-section img {
  width: 100%;
  border-radius: 10px;
  margin: 20px 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.article-section img:hover {
  transform: scale(1.02);
}

.article-main h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.article-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: normal;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

/* 导游信息样式 */
.guide-avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
}

.guide-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  padding: 3px;
  background: white;
  transition: transform 0.3s ease;
}

.guide-avatar:hover {
  transform: scale(1.05);
}

.guide-verified {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: white;
  animation: bounce 1s ease infinite;
  border: 2px solid white;
}

.guide-verified svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 3;
}

.guide-name {
  color: red;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.guide-info {
  margin: 25px 0;
}

.guide-info h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.guide-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 1rem;
}

.guide-info p svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.guide-contact {
  margin: 25px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}

.guide-contact:hover {
  background: #f0f2f5;
}

.guide-contact p {
  display: flex;
  align-items: center;
  margin: 12px 0;
  color: #555;
  font-size: 0.95rem;
}

.guide-contact p svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: var(--primary-color);
}

.guide-qr {
  width: 240px;
  margin: 25px auto;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.guide-qr:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-center {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* 二维码遮罩层样式 */
.qr-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qr-overlay.active {
  display: flex;
  opacity: 1;
}

.qr-overlay img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qr-overlay.active img {
  transform: scale(1);
}

/* 关闭按钮样式 */
.qr-overlay .close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.qr-overlay .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.qr-overlay .close-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* 页脚样式 */
.footer {
  background: #f5f5f5;
  padding: 2rem 5%;
  text-align: center;
  margin-top: 50px;
}

.footer p {
  margin: 1rem 0;
}

.footer a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer a:hover {
  color: var(--primary-color);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .article-container {
    flex-direction: column;
    padding: 0;
  }

  .article-main {
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
  }

  .article-main h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .article-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .article-sidebar {
    display: none;
  }

  .article-section h2 {
    font-size: 1.5rem;
  }

  .comment-form {
    gap: 10px;
  }

  .comment-submit {
    padding: 0 15px;
    white-space: nowrap;
  }

  .comment-item {
    flex-direction: column;
    gap: 10px;
  }

  .comment-avatar {
    width: 28px;
    height: 28px;
  }

  .comment-header {
    gap: 10px;
  }

  .contact-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer {
    margin-top: 0;
    padding-bottom: 100px; /* 为悬浮按钮留出空间 */
  }

  .guide-verified {
    width: 20px;
    height: 20px;
  }

  .guide-verified svg {
    width: 14px;
    height: 14px;
  }
}

/* 评论区样式 */
.comments-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.comments-section h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 25px;
}

.comment-form {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.comment-input {
  flex: 1;
  padding: 0 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  height: 44px;
  font-family: inherit;
}

.comment-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.comment-submit {
  padding: 0 25px;
  height: 44px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-submit:hover {
  background: #005a4f;
  transform: translateY(-2px);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.comment-item {
  display: flex;
  gap: 15px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-name {
  font-weight: 600;
  color: var(--text-color);
}

.comment-text {
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.comment-actions {
  display: flex;
  gap: 15px;
}

.comment-action {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.comment-action:hover {
  color: var(--primary-color);
}

.comment-action svg {
  width: 16px;
  height: 16px;
}

.quick-message {
  margin-top: 50px;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 12px;
}

.quick-message h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 25px;
}

.message-form {
  display: grid;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  /* margin-bottom: 32px; */
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-weight: 600;
  color: var(--text-color);
}

.form-input {
  padding: 0 15px;
  height: 44px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* 电话输入框样式 */
.iti {
  display: block !important;
  width: 100%;
}

.iti__flag-container:hover .iti__selected-flag {
  background-color: transparent;
}

input[type="tel"].form-input {
  padding-left: 85px;
  width: 100%;
}

.iti__flag-container {
  margin-left: 2px;
}

.iti__selected-flag {
  border-radius: 6px 0 0 6px;
  height: 42px !important;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: #f8f9fa;
}

.iti--separate-dial-code.iti--focus .iti__selected-flag {
  background-color: #f0f2f5;
}

/* 修复错误提示时的样式 */
.error-message {
  position: absolute;
  left: 0;
  bottom: -24px;
  color: #ff4d4f;
  font-size: 0.875rem;
}

.contact-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
}

.phone-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

select.form-input {
  padding-right: 30px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.message-content {
  resize: vertical;
  min-height: 120px;
  padding: 15px;
}

.submit-btn {
  padding: 0 25px;
  height: 44px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #005a4f;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .contact-group {
    grid-template-columns: 1fr;
  }

  .phone-group {
    grid-template-columns: 100px 1fr;
  }
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 0;
}

.contact-radio {
  display: none;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
}

.contact-radio:checked + .contact-label {
  border-color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.1);
}

.contact-label::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-radio:checked + .contact-label::before {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  box-shadow: inset 0 0 0 4px #fff;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 2px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.area-code-select {
  width: 120px;
  border: none;
  border-right: 2px solid #eee;
  border-radius: 0;
  padding: 0 30px 0 15px;
  height: 44px;
  background-position: right 8px center;
}

.phone-input {
  border: none;
  border-radius: 0;
  flex: 1;
}

.required-mark {
  color: #ff4d4f;
  margin-left: 4px;
}

@media screen and (max-width: 768px) {
  .contact-options {
    gap: 10px;
  }

  .contact-label {
    padding: 10px;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 768px) {
  .quick-message {
    margin: 30px -20px 0;
    padding: 25px 20px;
    border-radius: 0;
  }
}

/* 快速留言按钮 */
.quick-message-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding: 12px 25px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.quick-message-btn:hover {
  background: #005a4f;
  transform: translateY(-2px);
}

.quick-message-btn svg {
  width: 20px;
  height: 20px;
}

/* 弹窗样式 */
.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.5);
}

.modal-container {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  position: relative;
  margin: auto;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  transform: scale(1) rotate(0deg);
}

.modal-close:hover {
  color: #333;
  transform: scale(1.1) rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 25px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .modal-container {
    padding: 20px;
  }
}

/* 客服信息弹窗样式 */
.service-modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
}

.service-modal-container {
  background: white;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 350px;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal-overlay.active .service-modal-container {
  transform: scale(1);
  opacity: 1;
}

.service-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.service-info {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 10px;
}

.service-info .guide-avatar-wrapper {
  width: 60px;
  height: 60px;
  margin: 0;
}

.service-info .guide-avatar {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}

.service-info .guide-verified {
  width: 20px;
  height: 20px;
  bottom: -2px;
  right: -2px;
}

.service-info .guide-verified svg {
  width: 12px;
  height: 12px;
}

.service-name {
  font-size: 1.4rem;
  color: var(--text-color);
  margin: 0;
  text-align: left;
  flex: 1;
}

.service-qr {
  width: 85%;
  object-fit: contain;
  margin: 0;
  border-radius: 8px;
}

.service-buttons {
  display: flex;
  gap: 15px;
  width: 100%;
  margin-top: 10px;
}

.service-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.save-btn {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}

.save-btn:hover {
  background: #e8e8e8;
  color: #333;
}

.wechat-btn {
  background: #07c160;
  color: white;
}

.wechat-btn:hover {
  background: #06ae56;
}

.guide-wechat {
  color: #ff4d4f;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.guide-wechat:hover {
  opacity: 0.8;
}

.qr-button {
  width: 100px !important;
  height: 24px;
  border-radius: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.qr-button:hover {
  transform: scale(1.1);
}

/* 复制成功弹窗样式 */
.copy-modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.copy-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
}

.copy-modal-container {
  background: white;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 350px;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.copy-modal-overlay.active .copy-modal-container {
  transform: scale(1);
  opacity: 1;
}

.copy-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #52c41a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  opacity: 1;
}

.copy-success-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
  stroke-width: 3;
}

.copy-modal-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.copy-modal-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 5px;
  text-align: center;
}

.copied-wechat {
  color: #ff4d4f;
  font-weight: bold;
}

.copy-modal-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

.copy-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.copy-modal-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.copy-done-btn {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}

.copy-done-btn:hover {
  background: #e8e8e8;
  color: #333;
}

.copy-wechat-btn {
  background: #07c160;
  color: white;
}

.copy-wechat-btn:hover {
  background: #06ae56;
}

/* 关闭按钮样式 */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  transform: scale(1) rotate(0deg);
}

.modal-close:hover {
  color: #333;
  transform: scale(1.1) rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

/* 移动端悬浮按钮 */
.mobile-float-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.mobile-float-buttons.show {
  display: flex;
}

.float-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  opacity: 0.9;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  stroke: #666;
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.qr-float-btn {
  background: #07c160;
}

.qr-float-btn svg {
  stroke: white;
}

.message-float-btn {
  background: var(--primary-color);
}

.message-float-btn svg {
  stroke: white;
}

.top-float-btn {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.top-float-btn.show {
  opacity: 0.9;
  transform: translateY(0);
  pointer-events: auto;
}

.top-float-btn:hover {
  opacity: 1;
}

/* 图片放大遮罩层 */
.image-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-overlay.active {
  display: flex;
  opacity: 1;
}

.image-overlay img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-overlay.active img {
  transform: scale(1);
}

/* 关闭按钮 */
.image-overlay .close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.image-overlay .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.image-overlay .close-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* 成功提示弹窗样式 */
.success-modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
}

.success-modal-container {
  background: white;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 350px;
  position: relative;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal-overlay.active .success-modal-container {
  transform: scale(1);
  opacity: 1;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #52c41a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 3;
}

.success-modal-title {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 10px;
}

.success-modal-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
}

.success-modal-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-modal-btn:hover {
  background: #005a4f;
  transform: translateY(-2px);
}

/* 提示弹窗样式 */
.alert-modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.alert-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
}

.alert-modal-container {
  background: white;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 350px;
  position: relative;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alert-modal-overlay.active .alert-modal-container {
  transform: scale(1);
  opacity: 1;
}

.alert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #faad14;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.alert-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 2;
}

.alert-modal-content {
  margin-bottom: 25px;
}

.alert-modal-message {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
}

.alert-modal-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alert-modal-btn:hover {
  background: #005a4f;
  transform: translateY(-2px);
}
