#tpap-ald-float {
  position: fixed;
  top: 45%;
  right: 18px;
  transform: translateY(-50%) translateX(24px);
  width: 300px;
  max-width: calc(100vw - 36px);
  z-index: 99999;
  background: rgb(255 255 255 / 77%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(195, 196, 199, 0.7);
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 20px -4px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(34, 113, 177, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease-out, transform 280ms ease-out;
}

#tpap-ald-float.tpap-ald-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

#tpap-ald-float.tpap-ald-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(24px);
}

#tpap-ald-float.tpap-ald-rtl {
  right: auto;
  left: 18px;
  border-left: 1px solid #c3c4c7;
  border-right: 4px solid #2271b1;
}

#tpap-ald-float.tpap-ald-rtl.tpap-ald-active {
  transform: translateY(-50%) translateX(0);
}

#tpap-ald-float.tpap-ald-rtl.tpap-ald-hidden {
  transform: translateY(-50%) translateX(24px);
}

#tpap-ald-float .tpap-ald-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f1;
  border-radius: 12px 12px 0 0;
}

#tpap-ald-float .tpap-ald-title {
  font-weight: 700;
  font-size: 15px;
  color: #1d2327;
  letter-spacing: -0.02em;
}

#tpap-ald-float .tpap-ald-close {
  appearance: none;
  border: none;
  background: transparent;
  color: #646970;
  font-size: 22px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

#tpap-ald-float .tpap-ald-close:hover {
  color: #1d2327;
  background: #f0f0f1;
}

#tpap-ald-float .tpap-ald-body {
  padding: 16px;
}

#tpap-ald-float .tpap-ald-msg {
  font-size: 14px;
  color: #2c3338;
  margin-bottom: 12px;
  line-height: 1.55;
}

#tpap-ald-float .tpap-ald-lang-name {
  color: #1d2327;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #2271b1;
}

#tpap-ald-float .tpap-ald-select {
  width: 100%;
  border: 1px solid #8c8f94;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 13px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#tpap-ald-float .tpap-ald-select:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
  outline: none;
}

#tpap-ald-float .tpap-ald-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#tpap-ald-float .tpap-ald-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #2271b1;
  background: #2271b1;
  color: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

#tpap-ald-float .tpap-ald-switch:hover {
  background: #135e96;
  border-color: #135e96;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#tpap-ald-float .tpap-ald-switch:active {
  transform: scale(0.98);
}

#tpap-ald-float .tpap-ald-arrow {
  font-size: 14px;
  line-height: 1;
}

#tpap-ald-float .tpap-ald-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #c3c4c7;
  background: #fff;
  color: #2c3338;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

#tpap-ald-float .tpap-ald-dismiss:hover {
  background: #f6f7f7;
  border-color: #8c8f94;
  color: #1d2327;
}
