/* contact.css */
/* 基础样式 */
.contact-module {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 联系入口项 */
.contact-entry {
  width: 160px;
  background: white;
  border-radius: 30px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
  position: relative;
}

.contact-entry:hover {
  background: #f5f5f5;
  transform: translateX(-5px);
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: #1a56a8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-text {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

/* 联系浮层 */
.contact-panel {
  position: absolute;
  right: 180px;
  bottom: 0;
  width: 280px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  padding: 20px;
  display: none;
  z-index: 1001;
}

.contact-entry:hover .contact-panel {
  display: block;
  animation: fadeIn 0.3s;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.panel-title {
  font-size: 16px;
  color: #1a56a8;
  font-weight: bold;
}

.panel-content {
  font-size: 14px;
  color: #555;
}

.contact-info {
  margin-bottom: 15px;
}

.contact-info p {
  margin: 8px 0;
  line-height: 1.6;
}

.contact-qrcode {
  text-align: center;
  margin: 15px 0;
}

.contact-qrcode img {
  max-width: 150px;
  height: auto;
  border: 1px solid #eee;
}

.contact-qrcode p {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

/* 不同入口的颜色区分 */
.customer-service .contact-icon {
  background: #1a56a8;
}

.business-coop .contact-icon {
  background: #ff6b00;
}

.wechat .contact-icon {
  background: #07C160;
}

/* 浮层位置调整 */
@media (max-width: 768px) {
  .contact-panel {
    right: 70px !important;
    bottom: 0 !important;
    width: 200px !important;
  }
  
  .contact-panel:before {
    right: -10px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    border-left: 10px solid white !important;
    border-right: 10px solid transparent !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
  }
}

/* 联系卡片样式 */
.contact-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-title {
  font-size: 18px;
  color: #1a56a8;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-phone {
  font-size: 24px;
  color: #ff6b00;
  font-weight: bold;
  margin: 15px 0;
}

.contact-time {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-block;
  background: #ff6b00;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: #e05e00;
}

/* 联系信息特殊样式 */
.public-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.contact-title {
  font-weight: bold;
  margin: 15px 0 5px;
  color: #666;
}

.image-gallery {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.image-gallery img {
  max-width: 150px;
  height: auto;
  border: 1px solid #eee;
  border-radius: 4px;
}

.group-container {
  max-width: 1000px;
  width: 100%;
}
