:host {
  line-height: initial;
  font-family: var(--dyte-font-family, sans-serif);

  font-feature-settings: normal;
  font-variation-settings: normal;
}

p {
  margin: var(--dyte-space-0, 0px);
  padding: var(--dyte-space-0, 0px);
}


:host {
  font-size: 12px;
}

#sync-button {
  flex-direction: row;
  border-radius: var(--dyte-border-radius-sm, 4px);
  padding-left: var(--dyte-space-1, 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--dyte-space-1, 4px);
  font-size: 12px;
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-700, 44 44 44) / var(--tw-bg-opacity));
}
:host([size='sm']) dyte-tooltip, 
:host([size='md']) dyte-tooltip {
  width: 100%;
}

:host([size='sm']) > #sync-button {
  height: var(--dyte-space-8, 32px);
  width: var(--dyte-space-16, 64px);
  padding-left: var(--dyte-space-0, 0px);
}

:host([size='md']) > #sync-button {
  height: var(--dyte-space-8, 32px);
  width: var(--dyte-space-16, 64px);
}

:host([size='lg']) > #sync-button {
  flex-direction: row;
  height: var(--dyte-space-8, 32px);
  width: var(--dyte-space-16, 64px);
}

@media (orientation: portrait) {
  :host([size='lg']) #sync-button {
    flex-direction: column-reverse;
    height: var(--dyte-space-16, 64px);
    width: var(--dyte-space-16, 64px);
  }

  :host([size='md']) #sync-button {
    height: var(--dyte-space-16, 64px);
    width: var(--dyte-space-16, 64px);
  }

  :host([size='sm']) #sync-button {
    height: var(--dyte-space-10, 40px);
    width: var(--dyte-space-16, 64px);
    flex-direction: row;
  }
}

#sync-button > dyte-icon {
  max-height: 14px;
}

#sync-button dyte-icon {
  --tw-text-opacity: 1;
  color: rgba(var(--dyte-colors-danger, 255 45 45) / var(--tw-text-opacity));
}

:host([size='sm']) #sync-button > dyte-icon {
  width: auto;
}

#sync-button.active dyte-icon {
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
}

div {
  align-content: center;
  line-height: 2rem;
}

dyte-icon {
  height: var(--dyte-space-6, 24px);
  width: var(--dyte-space-8, 32px);
}

#sync-button.active {
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-success, 98 165 4) / var(--tw-bg-opacity));
}
