.zcb-follower-joined-toast {
    max-width: fit-content !important;
    min-height: fit-content !important;
    padding: 12px 16px !important;
    background: #27282B !important;
    font-size: 14px !important;
    color: #F7F9FA !important;
    border: 0.5px solid #3B3F44 !important;
}

.zcb-follower-joined-toast .ui-Toast-icon-wrapper {
    display: none !important;
}

.zcb-toast-dark-mode {
    background: #27282B !important;
    font-size: 14px !important;
    color: #F7F9FA !important;
    border: 0.5px solid #3B3F44 !important;
}

.zcb-toast-dark-mode .ui-Toast-content {
    line-height: 16px !important;
    color: #F7F9FA !important;
}

.zcb-toast-dark-mode .ui-Toast-close {
    top: 4px !important;
    right: 3px !important;
    color: #F7F9FA !important;
}

/* Used to prevent certain message toasts from overlapping with persistent toasts */
body>div:has(.zcb-leader-reconnect-toast) {
    z-index: 2147483647;
    position: fixed;
}

/* Used to prevent certain message toasts from overlapping with persistent toasts */
body>div>div.MuiBox-root:has(.zcb-leader-legal-consent-toast) {
    z-index: 2147483647;
    top: 55px;
}

.zcb-leader-reconnect-toast {
    line-height: 20px;
}

.zcb-leader-legal-consent-toast {
    padding: 16px 16px 16px 24px !important;
}

.notistack-SnackbarContainer {
    z-index: 2147483647 !important;
}

/* Offset toasts by header height when built-in SessionStatusBar is visible */
:root {
    --zcb-session-status-bar-height: 56px;
}

body:has(.session-status-bar[data-visible='true'])>div:has(.zcb-leader-reconnect-toast),
body:has(.session-status-bar[data-visible='true'])>div>div.MuiBox-root:has(.zcb-follower-joined-toast),
body:has(.session-status-bar[data-visible='true'])>div>div.MuiBox-root:has(.zcb-leader-end-toast) {
    top: calc(var(--zcb-session-status-bar-height) + 24px) !important;
}

body:has(.session-status-bar[data-visible='true'])>div>div.MuiBox-root:has(.zcb-leader-legal-consent-toast) {
    top: calc(var(--zcb-session-status-bar-height) + 55px) !important;
}
@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.zmicon-spin > svg {
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-animation-name: rotating;
          animation-name: rotating;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

.zmicon {
  display: inline-block;
  vertical-align: -0.125em;
  line-height: 0;
}

.zmicon-acc-outline {
  outline: 2px solid #4f9af7;
}

.zmicon-acc-no-outline {
  outline: none;
}

.zcb-bottom-stop-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.1s ease;
}

.zcb-bottom-stop-dialog-overlay.zcb-visible {
  background: rgba(0, 0, 0, 0.4);
}

.zcb-bottom-stop-dialog-container {
  width: 100%;
  max-width: 400px;
  margin: 0 12px 34px 12px;
  transform: translateY(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zcb-bottom-stop-dialog-overlay.zcb-visible .zcb-bottom-stop-dialog-container {
  transform: translateY(0);
}

.zcb-bottom-stop-dialog-main-block {
  background: rgba(255, 255, 255, .8);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.zcb-bottom-stop-dialog-title {
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: rgba(61, 61, 61, 1);
  line-height: 22px;
}

.zcb-bottom-stop-dialog-cancel-block {
  background: rgba(255, 255, 255);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.zcb-bottom-stop-dialog-stop-btn {
  width: 100%;
  height: 56px;
  border: none;
  background: none;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF3B30;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

.zcb-bottom-stop-dialog-cancel-btn {
  width: 100%;
  height: 56px;
  border: none;
  background: none;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007AFF;
}
.zcb-flying-cursor-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 2147483647;
    width: 100%;
    height: 100%;
}
.zcb-flying-cursor-wrapper.mobile {
    will-change: transform;
}

.flying-cursor-mouse-cc{
    position: relative;
    width: fit-content;
    transition: left 0.05s linear, top 0.05s linear;
    border-color: transparent;
    user-select: none;
    pointer-events: none;
    margin-top: 10px;
    margin-left: 10px;
}

.flying-cursor-mouse-cc > .name {
    background: linear-gradient(143.65deg, #99beff 15.44%, rgba(153, 190, 255, 0) 126.07%);
    border-color: transparent;
    border-radius: 12px;
    line-height: 24px;
    padding: 0 12px;
    width: fit-content;
    white-space: nowrap;
    left: 0;
    top: 0;
    position: absolute;
    font-size: 13px;
    font-weight: 700;
    color: #222230;
}
.flying-cursor-mouse-cc.color-0 > .name {
    background: linear-gradient(140deg, #F7A1A1 14.9%, rgba(247, 161, 161, 0) 127.63%);
}
.flying-cursor-mouse-cc.color-1 > .name {
    background: linear-gradient(140.42deg, #B8E0B8 14.49%, rgba(184, 224, 184, 0) 160.79%);
}
.flying-cursor-mouse-cc.color-2 > .name {
    background: linear-gradient(141.16deg, #FFEB99 14.46%, rgba(255, 235, 153, 0) 217.63%);
}
.flying-cursor-mouse-cc.color-3 > .name {
    background: linear-gradient(143.65deg, #99BEFF 15.44%, rgba(153, 190, 255, 0) 126.07%);
}
.flying-cursor-mouse-cc.color-4 > .name {
    background: linear-gradient(142.03deg, #CFB2FF 15.09%, rgba(207, 178, 255, 0) 154.04%);
}
.flying-cursor-mouse-cc::before {
    content: '';
    display: inline-block;
    border-radius: 2px;
    border-bottom: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #8ab5ff;
    border-left: 6px solid #8ab5ff;
    position: absolute;
    left: -10px;
    top: -10px;
}

.flying-cursor-mouse-cc.color-0::before {
    border-top: 6px solid #FF9090;
    border-left: 6px solid #FF9090;
}
.flying-cursor-mouse-cc.color-1::before {
    border-top: 6px solid #8CD08C;
    border-left: 6px solid #8CD08C;
}
.flying-cursor-mouse-cc.color-2::before {
    border-top: 6px solid #FFD322;
    border-left: 6px solid #FFD322;
}
.flying-cursor-mouse-cc.color-3::before {
    border-top: 6px solid #8AB5FF;
    border-left: 6px solid #8AB5FF;
}
.flying-cursor-mouse-cc.color-4::before {
    border-top: 6px solid #BD96FF;
    border-left: 6px solid #BD96FF;
}

.zcb-join-session-dialog-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s ease;
}

.zcb-join-session-dialog-mobile-overlay.zcb-visible {
  background: rgba(0, 0, 0, 0.4);
}

.zcb-join-session-dialog-mobile-container {
  width: 100%;
  max-width: 374px;
  margin: 0 66px;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.zcb-join-session-dialog-mobile-overlay.zcb-visible .zcb-join-session-dialog-mobile-container {
  transform: scale(1);
  opacity: 1;
}

.zcb-join-session-dialog-mobile-main-block {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.zcb-join-session-dialog-mobile-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zcb-join-session-dialog-mobile-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.zcb-join-session-dialog-mobile-text {
  font-family: system-ui, sans-serif;
  line-height: 18px;
  letter-spacing: -.15px;
  color: #555b62;
  text-align: center;
  padding: 0;
}

.zcb-join-session-dialog-mobile-cancel-block {
  border-top: 1px solid #e5e5e5;
  padding: 0;
}

.zcb-join-session-dialog-mobile-cancel-btn {
  width: 100%;
  height: 54px;
  background: transparent;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6bde;
  user-select: none;
}

.zcb-join-session-dialog-mobile-cancel-btn:active {
  opacity: 0.7;
}
.zcb-flying-cursor-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 2147483647;
    width: 100%;
    height: 100%;
}
.zcb-flying-cursor-wrapper.mobile {
    will-change: transform;
}

.flying-cursor-mouse-common {
    position: relative;
    width: fit-content;
    transition: left 0.05s linear, top 0.05s linear;
    border-color: transparent;
    user-select: none;
    pointer-events: none;
    margin-top: 6px;
    margin-left: 17px;
}

.flying-cursor-mouse-common > .name {
    border-color: transparent;
    border-radius: 10px;
    line-height: 20px;
    padding: 0 4px;
    width: fit-content;
    white-space: nowrap;
    left: 0;
    top: 0;
    position: absolute;
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: rgba(255, 255, 255, 1);
    background: rgba(38, 133, 67, 1);
}
.flying-cursor-mouse-common::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: -17px;
    top: -6px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxMyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xIDE0LjAxOTRMNC4wMTU1NSA5Ljg3MzA3QzQuMjc5NDIgOS41MTAyNCA0LjcyMjI0IDkuMzIyOTkgNS4xNjYzNyA5LjM4NjQ0TDEwLjM5MDMgMTAuMTMyN0wxIDEuNTk2MDVWMTQuMDE5NFpNMCAxNS40NzFWMC41MjkwMTRDMCAwLjA3MDY1NjggMC41NDM5NzIgLTAuMTY5OTggMC44ODMxMjkgMC4xMzgzNDRMMTIuMjAwMyAxMC40MjY3QzEyLjU4NTMgMTAuNzc2NiAxMi4yODU1IDExLjQxMzYgMTEuNzcwNSAxMS4zNEw1LjAyNDk1IDEwLjM3NjRDNC45NDc1MSAxMC4zNjUzIDQuODcwMjkgMTAuMzk4IDQuODI0MjggMTAuNDYxMkwwLjk1NDk2OCAxNS43ODE2QzAuNjU0MjE2IDE2LjE5NTEgMCAxNS45ODIzIDAgMTUuNDcxWiIgZmlsbD0iIzI2ODU0MyIvPgo8L3N2Zz4K");
    width: 13px;
    height: 16px;
}

