body, html {
    overflow: hidden;
}


#collaborative-canvas {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

@keyframes blink { 50% { border-color:rgba(var(--user-color-rgb), 1) ; }  }

#collaborative-canvas input {
    border: 1px dashed rgba(var(--user-color-rgb), 0);
    caret-color: var(--user-color-hex);
    color: var(--user-color-hex);
    outline: 0;
    padding: 0.5em;
    background: transparent;
    animation: blink 0.8s;
    animation-iteration-count: infinite;
}


#collaborative-canvas div[id^=text]
{
    padding: 0.5em;
    cursor: default;
}

#collaborative-canvas div[id^=text].my-text
{
    color: var(--user-color-hex);
    border: 1px dashed rgba(var(--user-color-rgb), 1);
    outline: 0;
}

#collaborative-canvas div[id^=text].my-text:hover
{
    border: 1px dashed rgba(var(--user-color-rgb), 0);
    animation: blink 0.3s;
    animation-iteration-count: infinite;
}


.custom-cursor {
    position: absolute;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }

  .delete-btn {
    border: 1px dashed rgba(var(--user-color-rgb), 1);
    padding: 0;
    outline: none;
    width: 20px;
    color: var(--user-color-hex);
    height: 20px;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: none;
    top: 0;
    right: -20px !important;
    position: absolute;
    cursor: pointer;
  }
  

  .theme {
    position: fixed;
    top: calc(1rem + 1em * 1.25);
    left: 50%;
    width: 100%;
    font-size: 16px;
    translate: -50% 0;
    pointer-events: none;
    text-align: center;
}