.pswa-widget {
  --pswa-color: #25d366;
}

.pswa-widget[hidden],
.pswa-inline[hidden],
.pswa-panel[hidden],
.pswa-bubble[hidden] {
  display: none !important;
}

.pswa-floating {
  position: fixed;
  z-index: 9990;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.pswa-widget--left .pswa-floating {
  right: auto;
  left: 24px;
  align-items: flex-start;
}

body:has(.prestaservis_cookies_setting) .pswa-widget--right .pswa-floating {
  right: 110px;
}

body:has(.prestaservis_cookies_setting) .pswa-widget--left .pswa-floating {
  left: 110px;
}

.pswa-button {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--pswa-color);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.pswa-button img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.pswa-button:hover,
.pswa-button:focus {
  color: #fff;
  text-decoration: none;
  transform: scale(1.04);
}

.pswa-bubble {
  max-width: 240px;
  background: #fff;
  color: #1f1f1f;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  line-height: 1.35;
}

.pswa-panel {
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  color: #1f1f1f;
}

.pswa-panel__header {
  background: var(--pswa-color);
  color: #fff;
  padding: 16px 40px 16px 16px;
  position: relative;
}

.pswa-panel__greeting {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pswa-panel__welcome {
  font-size: 13px;
  opacity: 0.95;
}

.pswa-panel__close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pswa-panel__body {
  padding: 14px;
}

.pswa-operator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pswa-operator__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f8ee;
  color: var(--pswa-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pswa-operator__icon img {
  width: 22px;
  height: 22px;
}

.pswa-operator__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pswa-operator__name {
  font-weight: 600;
  font-size: 14px;
}

.pswa-operator__role {
  font-size: 12px;
  color: #686868;
}

.pswa-operator__status {
  display: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.pswa-is-online .pswa-operator__status--online {
  display: inline;
  color: #1fa855;
}

.pswa-is-offline .pswa-operator__status--offline {
  display: inline;
  color: #9a9a9a;
}

.pswa-operator__hours {
  font-size: 12px;
  color: #686868;
  margin-top: 2px;
}

.pswa-cta {
  display: block;
  text-align: center;
  background: var(--pswa-color);
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.pswa-cta:hover,
.pswa-cta:focus {
  color: #fff !important;
  filter: brightness(0.95);
}

.pswa-inline {
  text-align: center;
  margin-top: 18px;
}

.pswa-inline__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.pswa-inline__link:hover,
.pswa-inline__link:focus {
  color: var(--orange, #f28d2f);
  text-decoration: none;
}

.pswa-inline__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pswa-inline__icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.pswa-inline__text {
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.pswa-inline__hours {
  font-size: 16px;
  line-height: 22px;
  color: #686868;
}

@media (max-width: 767px) {
  .pswa-devices-desktop {
    display: none !important;
  }

  .pswa-button {
    width: 52px;
    height: 52px;
  }

  .pswa-button img {
    width: 26px;
    height: 26px;
  }

  .pswa-floating {
    bottom: 16px;
    right: 16px;
  }

  .pswa-widget--left .pswa-floating {
    left: 16px;
  }

  .pswa-inline__text {
    font-size: 25px;
    line-height: 35px;
  }
}

@media (min-width: 768px) {
  .pswa-devices-mobile {
    display: none !important;
  }
}
