/* —— Laravel chrome extras: footer badge + floating contact buttons —— */

.rr-footer__links li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rr-footer__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  background: #00a1d3;
}

.rr-fab {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  pointer-events: none;
}

.rr-fab__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
}

.rr-fab__btn:hover,
.rr-fab__btn:focus-visible {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.28);
}

.rr-fab__btn:focus-visible {
  outline: 2px solid #00c1fb;
  outline-offset: 3px;
}

.rr-fab__btn--whatsapp {
  background: #25d366;
}

.rr-fab__btn--message,
.rr-fab__trigger {
  background: #00a1d3;
  border-bottom: 3px solid #00c1fb;
}

.rr-fab__pulse {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4d4f;
  border: 2px solid #fff;
  animation: rrFabPulse 1.8s ease-out infinite;
}

.rr-fab [data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--text, #10131a);
  color: var(--bg, #fff);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.2s var(--ease);
}

.rr-fab [data-tip]:hover::after,
.rr-fab [data-tip]:focus-visible::after {
  opacity: 1;
}

/* Desktop: two separate buttons in the corners, as on Laravel */
.rr-fab__desk {
  position: absolute;
  bottom: 24px;
  display: none;
}

.rr-fab__desk--whatsapp {
  left: 24px;
}

.rr-fab__desk--whatsapp::after {
  left: calc(100% + 10px);
}

.rr-fab__desk--message {
  right: 24px;
}

.rr-fab__desk--message::after {
  right: calc(100% + 10px);
}

/* Mobile: speed dial */
.rr-fab__dial {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rr-fab__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rr-fab__action {
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.rr-fab__action::after,
.rr-fab__trigger::after {
  left: calc(100% + 10px);
}

.rr-fab.is-open .rr-fab__action {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.rr-fab.is-open .rr-fab__action:nth-child(2) {
  transition-delay: 0.05s;
}

.rr-fab__icon {
  display: inline-flex;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.rr-fab__icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.rr-fab.is-open .rr-fab__icon--open {
  opacity: 0;
  transform: rotate(90deg);
}

.rr-fab.is-open .rr-fab__icon--close {
  opacity: 1;
  transform: none;
}

.rr-fab.is-open .rr-fab__trigger .rr-fab__pulse {
  display: none;
}

@media (min-width: 1024px) {
  .rr-fab__desk {
    display: inline-flex;
  }

  .rr-fab__dial {
    display: none;
  }
}

@keyframes rrFabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 77, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-fab__btn,
  .rr-fab__action,
  .rr-fab__icon {
    transition: none;
  }

  .rr-fab__pulse {
    animation: none;
  }
}

@media print {
  .rr-fab {
    display: none;
  }
}
