.customer-service-widget {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 3500;
  display: grid;
  justify-items: center;
}

.customer-service-widget[hidden] {
  display: none;
}

.customer-service-button {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1765c4;
  cursor: pointer;
  font: inherit;
}

.customer-service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3d82e6;
  box-shadow: 0 9px 22px rgba(38, 101, 190, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.customer-service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.customer-service-label {
  min-width: 48px;
  padding: 3px 7px 4px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(35, 76, 122, 0.14);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.customer-service-button:hover .customer-service-icon,
.customer-service-button[aria-expanded="true"] .customer-service-icon {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(38, 101, 190, 0.34);
}

.customer-service-panel {
  position: absolute;
  right: 0;
  bottom: 82px;
  display: grid;
  gap: 7px;
  width: 230px;
  padding: 16px 18px;
  border: 1px solid #d6e3ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(35, 76, 122, 0.2);
  color: #27445f;
}

.customer-service-panel[hidden] {
  display: none;
}

.customer-service-panel strong {
  font-size: 15px;
}

.customer-service-panel span,
.customer-service-panel small {
  color: #668095;
  font-size: 12px;
  line-height: 1.5;
}

.customer-service-close {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7890a1;
  cursor: pointer;
  font-size: 20px;
}

.customer-service-close:hover {
  background: #eef4f9;
}

.customer-service-button:focus-visible {
  outline: 3px solid rgba(61, 130, 230, 0.3);
  outline-offset: 5px;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .customer-service-widget {
    right: 14px;
    bottom: 18px;
  }

  .customer-service-panel {
    right: -2px;
    bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-service-icon {
    transition: none;
  }
}
