/* Witterseh Floating Tab v1.2 */

/* desktop default: vertical tab on the right */
.wfloatingtab-container{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999999;
  pointer-events: none;
}

.wfloatingtab-link{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--wft-bg, #0553D6);
  color: var(--wft-color, #fff);
  width: 52px;
  padding: 16px 10px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  transition: transform .2s ease, opacity .2s ease;
}

.wfloatingtab-link:hover{ transform: translateX(-2px); opacity: .95; }

.wfloatingtab-text{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: none;
  font-size: var(--wft-size, 16px);
  line-height: 1.1;
}

/* desktop text (vertical) */
.wft-desktop{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: inline-block;
}
/* mobile text hidden by default */
.wft-mobile{ display: none; }

/* mobile breakpoint: bottom bar */
@media (max-width: 768px){
  .wfloatingtab-container{
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    pointer-events: auto;
  }
  .wfloatingtab-link{
    width: 100%;
    padding: 12px 16px;
    border-radius: 0;
    display: block;
    text-align: center;
    box-shadow: 0 -4px 14px rgba(0,0,0,.15);
    transform: none !important;
  }
  .wft-desktop{ display: none; }
  .wft-mobile{
    display: inline;
    writing-mode: initial;
    transform: none;
  }
}
