: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);
}

.scrollbar {
  /* For Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--dyte-scrollbar-color, rgb(var(--dyte-colors-background-600, 60 60 60)))
    var(--dyte-scrollbar-background, transparent);
}

/* For WebKit */
.scrollbar::-webkit-scrollbar {
  height: var(--dyte-space-1\.5, 6px);
  width: var(--dyte-space-1\.5, 6px);
  border-radius: 9999px;
  background-color: var(--dyte-scrollbar-background, transparent);
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background-color: var(--dyte-scrollbar-color, rgb(var(--dyte-colors-background-600, 60 60 60)));
}


:host {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  width: 100%;
  color: rgb(var(--dyte-colors-text-1000, 255 255 255));
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-600, 60 60 60) / var(--tw-bg-opacity));
}

.tab-body::-webkit-scrollbar {
  width: var(--dyte-space-1\.5, 6px);
  border-radius: var(--dyte-border-radius-md, 8px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));
}

.tab-body::-webkit-scrollbar-thumb {
  border-radius: var(--dyte-border-radius-md, 8px);
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-background-700, 44 44 44) / var(--tw-bg-opacity));
}

h3 {
  margin: var(--dyte-space-0, 0px);
  padding: var(--dyte-space-0, 0px);
  font-size: 16px;
  font-weight: 600;
}

#header {
  margin-top: var(--dyte-space-2, 8px);
  margin-bottom: var(--dyte-space-5, 20px);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.tab-body {
  margin: var(--dyte-space-4, 16px);
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.status-container {
  border: var(--dyte-border-width-sm, 1px) solid rgb(var(--dyte-colors-background-600, 60 60 60));
  border-radius: 8px;
  padding: 16px;
}

.status-section {
  margin-bottom: 12px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  /* cursor: pointer; */
  padding: 8px 0;
}

.section-body.missing-stats{
  display: flex;
  text-align: center;
  justify-content: center;
}

.section-header .status {
  color: rgba(var(--dyte-colors-success));
  font-weight: bold;
}

.section-header .arrow {
  font-size: 14px;
}

.battery-table {
  border: var(--dyte-border-width-sm, 1px) solid rgb(var(--dyte-colors-background-600, 60 60 60));
  border-radius: 8px;
  margin-top: 8px;
  overflow: hidden;
}

.battery-row {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: var(--dyte-border-width-sm, 1px) solid rgb(var(--dyte-colors-background-600, 60 60 60));
}

.battery-row:last-child {
  border-bottom: none;
}

.battery-cell {
  display: flex;
  flex-direction: column;
}

.battery-cell.label strong {
  font-size: 14px;
}

.battery-cell.label .description {
  font-size: 12px;
  color: rgb(var(--dyte-colors-text-700, 255 255 255 / 0.64));
  margin-top: 4px;
}

.battery-cell.value {
  text-align: right;
}

.status.good {
  color: rgba(var(--dyte-colors-success));
}

.status.average {
  color: rgba(var(--dyte-colors-warning));
}

.status.poor {
  color: rgba(var(--dyte-colors-danger));
}

.value {
  font-size: 14px;
  color: rgb(var(--dyte-colors-text-700, 255 255 255 / 0.64));
  margin-top: 4px;
}

dyte-settings-video {
  display: flex;
  flex-direction: column;
}
