/* TemproMail click feedback + copied toast */
.tm-clickable-feedback,
button,
.btn,
.fn-btn,
.tm-btn,
.tm-global-menu a,
.tm-global-login,
.tm-global-bell,
.tm-global-menu-toggle,
.message-item,
.tm-message-link-item,
a[href] {
  -webkit-tap-highlight-color: transparent;
}

button,
.btn,
.fn-btn,
.tm-btn,
.tm-global-menu a,
.tm-global-login,
.tm-global-bell,
.tm-global-menu-toggle,
.message-item,
.tm-message-link-item {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    border-color 0.16s ease;
}

button:active,
.btn:active,
.fn-btn:active,
.tm-btn:active,
.tm-global-menu a:active,
.tm-global-login:active,
.tm-global-bell:active,
.tm-global-menu-toggle:active,
.message-item:active,
.tm-message-link-item:active {
  transform: scale(0.965);
  filter: brightness(1.12);
}

.tm-click-pop {
  animation: tmClickPop 260ms ease-out;
}

@keyframes tmClickPop {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

.tm-ripple-host {
  position: relative;
  overflow: hidden;
}

.tm-ripple-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(1);
  animation: tmRipple 560ms ease-out forwards;
  z-index: 1;
}

@keyframes tmRipple {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

.tm-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 138px;
  max-width: calc(100vw - 32px);
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(49, 211, 238, 0.28);
  background:
    radial-gradient(circle at 10% 0%, rgba(49, 211, 238, 0.22), transparent 36%),
    rgba(7, 18, 37, 0.96);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(16px) scale(0.96);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.tm-copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.tm-copy-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #31d3ee, #3487ff);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 640px) {
  .tm-copy-toast {
    bottom: 18px;
    padding: 12px 15px;
    font-size: 13px;
  }
}
