/* SC Page Styles - Apple-inspired Design */

/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 艾特颜色 */
.at-color {
  color: #f39c12;
}

/* 主题颜色 */
.theme-color {
  color: #1e90ff;
}

/* 红色 */
.red-color {
  color: #ff0000;
}

/* 加粗 */
.bold {
  font-weight: bold;
}

/* Main Container */
.sc-main {
  background: #e7dedf;
  min-height: 100vh;
  padding: 40px 0;
}

.sc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

/* Left Content Area */
.sc-content-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Question Header */
.sc-question-header {
  background: #e0f0ef;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sc-question-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sc-question-tags {
  display: flex;
  gap: 12px;
}

.sc-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: #1a5f7a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.sc-question-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
}

.sc-question-header h2 {
  font-size: 18px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.sc-question-meta {
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sc-questioner-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-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);
}

.sc-questioner-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.sc-question-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.sc-image-item {
  width: 120px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sc-image-item:nth-child(2) {
  margin-top: 56px;
}

.sc-image-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Article Section */
.sc-article {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sc-article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.sc-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.sc-author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-author-name {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
}

.sc-article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

.sc-article-body p {
  margin-bottom: 20px;
}

.sc-article-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 32px 0 16px;
}

.sc-content-image {
  width: 100%;
  border-radius: 4px;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.sc-content-image:hover {
  transform: scale(1.02);
}

/* Comments Section */
.sc-comments-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.sc-comments-section h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.sc-comment-input {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 16px;
  margin-bottom: 30px;
}

.sc-comment-input input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  transition: all 0.3s ease;
}

.sc-comment-input input:focus {
  outline: none;
  border-color: #1a5f7a;
  box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

.sc-comment-input button {
  padding: 12px 28px;
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sc-comment-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 95, 122, 0.3);
}

.sc-comments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sc-comment {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.sc-comment:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sc-comment-content {
  flex: 1;
}

.sc-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sc-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sc-comment-author {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.sc-comment-content p {
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Right Sidebar */
.sc-sidebar {
  position: relative;
}

.sc-sticky-content {
  position: sticky;
  top: 20px;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sc-guide-profile {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.sc-guide-avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.sc-guide-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
}

.sc-verified-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  background: #1a5f7a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 3px solid #fff;
}

.sc-guide-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sc-guide-motto {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.sc-wechat-info {
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: #4b5563;
}

.sc-wechat-info i {
  color: #07c160;
  font-size: 16px;
  margin-right: 4px;
}

.sc-qr-code {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 20px;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sc-qr-code:hover {
  transform: scale(1.05);
}

.sc-message-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.sc-message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 95, 122, 0.3);
}

.sc-message-tip {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .sc-container {
    grid-template-columns: 1fr;
  }

  .sc-sticky-content {
    position: relative;
    top: 0;
  }

  .sc-question-header {
    grid-template-columns: 1fr;
  }

  .sc-question-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sc-main {
    padding: 0;
  }

  .sc-content-left {
    gap: 10px;
  }

  .sc-container {
    padding: 0;
    gap: 20px;
  }

  .sc-question-header {
    padding: 24px;
    gap: 20px;
    margin: 10px;
  }

  .sc-question-header h1 {
    font-size: 24px;
  }

  .sc-question-header h2 {
    font-size: 16px;
  }

  .sc-question-images {
    display: none;
  }

  .sc-image-item {
    width: 90px;
    height: 220px;
  }

  .sc-image-item:nth-child(2) {
    margin-top: 44px;
  }

  .sc-article {
    padding: 24px;
  }

  .sc-article-body h3 {
    font-size: 20px;
  }

  .sc-comments-section {
    padding: 0;
  }

  .sc-comment-input {
    padding: 16px;
  }

  .sc-comment-input input {
    font-size: 14px;
  }

  .sc-sticky-content {
    display: none;
  }
}

@media (max-width: 480px) {
  .sc-question-images {
    flex-direction: column;
    align-items: center;
  }

  .sc-image-item {
    width: 100%;
    max-width: 200px;
    height: 240px;
  }

  .sc-image-item:nth-child(2) {
    margin-top: 0;
  }

  .sc-comment-input {
    flex-wrap: wrap;
  }

  .sc-comment-input button {
    width: 100%;
  }
}

/* Modal Styles */
.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-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-content {
  padding: 32px;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: #4b5563;
  transform: rotate(90deg);
}

.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: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a5f7a;
  box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.required {
  color: #ef4444;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.radio-group:hover {
  background: #f9fafb;
  border-color: #1a5f7a;
}

.radio-group.selected {
  background: rgba(26, 95, 122, 0.05);
  border-color: #1a5f7a;
}

.radio-group input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.radio-group input[type="radio"]:checked {
  border-color: #1a5f7a;
}

.radio-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #1a5f7a;
  border-radius: 50%;
}

.radio-group label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.error-message {
  color: #ef4444;
  font-size: 13px;
}

.submit-btn {
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 95, 122, 0.3);
}

/* Success Modal */
.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: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 320px;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.success-content h3 {
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.success-content p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 24px;
}

.success-btn {
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 95, 122, 0.3);
}

/* Copy Modal */
.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(5px);
}

.copy-content {
  position: relative;
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  width: 90%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.copy-content .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.copy-header {
  margin-bottom: 20px;
}

.copy-header svg {
  color: #10b981;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.copy-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.copy-content p {
  color: #6b7280;
  font-size: 15px;
  margin: 8px 0;
  line-height: 1.6;
}

.copy-footer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.secondary-btn {
  flex: 1;
  padding: 12px 20px;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background: #e5e7eb;
}

.primary-btn {
  flex: 1;
  padding: 12px 20px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* QR Code Modal */
.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);
}

.qr-modal-content {
  background: white;
  width: 90%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.qr-modal-header {
  padding: 24px;
  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-name-highlight {
  color: #ef4444;
  font-weight: 600;
}

.guide-tag {
  font-size: 12px;
  background: #fef3c7;
  color: #f59e0b;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.qr-modal-body {
  padding: 32px;
  text-align: center;
}

.modal-qr-code {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
}

.qr-modal-footer {
  padding: 20px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
}

.wechat-id {
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.wechat-id:hover {
  background-color: #fef2f2;
}

/* 查看二维码按钮 */
.view-qr-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.qr-icon {
  max-width: 100px;
  object-fit: contain;
}

/* Message Form */
.message-form {
  margin-top: 40px;
  padding: 30px;
  background: #f9fafb;
  border-radius: 16px;
}

.message-form h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

/* Alert Modal */
.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);
  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: #1a1a1a;
  line-height: 1.4;
}

.alert-content button {
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  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 {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 95, 122, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 二维码图片样式 */
.ewm {
  text-align: center;
  margin: 20px 0;
}

.ewm img {
  max-width: 40%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.ewm img:hover {
  transform: scale(1.05);
}

/* 留言按钮样式 */
.message-btn {
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 95, 122, 0.3);
}

/* 快速联系区域样式 */
.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;
}

/* Responsive adjustments for modals */
@media (max-width: 768px) {
  .modal-window {
    width: 95%;
  }

  .modal-content {
    padding: 24px;
  }

  .copy-content {
    padding: 32px 24px;
  }

  .qr-modal-content {
    width: 95%;
  }

  .modal-qr-code {
    max-width: 220px;
  }

  .message-form {
    padding: 20px;
    margin-top: 30px;
  }

  .alert-content {
    width: 85%;
    padding: 20px;
  }

  .ewm img {
    max-width: 60%;
  }

  .quick-contact {
    margin-top: 24px;
    padding-top: 16px;
  }

  .quick-contact p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .comment-register-modal .modal-content {
    width: 85%;
    padding: 20px;
  }

  .comment-register-modal .modal-header h4 {
    font-size: 18px;
  }
}

/* 评论注册弹窗样式 */
.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: 2001;
  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: #1a1a1a;
  margin: 0;
}

.comment-register-modal .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: all 0.2s ease;
}

.comment-register-modal .close-btn:hover {
  color: #4b5563;
  transform: rotate(90deg);
}

.comment-register-modal .submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a5f7a 0%, #2d6f85 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.comment-register-modal .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 95, 122, 0.3);
}

.comment-register-modal .form-group {
  margin-bottom: 16px;
}

/* 电话输入框样式 */
#comment-contact-number {
  width: 100%;
}

.iti {
  width: 100%;
}

.iti__selected-flag {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f7;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

footer p {
  margin: 0;
}

footer a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #1a5f7a;
}

/* 悬浮按钮样式 */
.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: 48px;
  height: 48px;
  border-radius: 24px;
  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;
  transition: all 0.3s ease;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: #1a5f7a;
}

/* 为第一个微信按钮设置特定的绿色 */
.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:active {
  transform: translateY(0);
}
