.happy-helpdesk-working-hour {
  --happy-wh-accent: #38bdf8;
  --happy-wh-text: #334155;
  --happy-wh-muted: #64748b;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  background: transparent;
  color: var(--happy-wh-text);
  font-size: 15px;
  line-height: 1.5;

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  &__inner {
    position: relative;
    padding: 0.85rem 0 0.85rem 1rem;
    border-left: 3px solid var(--happy-wh-accent);
  }

  &__status {
    margin: 0 0 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    color: var(--happy-wh-text);
  }

  &__badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--happy-wh-accent);
    border-radius: 3px;
    background: transparent;
    color: var(--happy-wh-accent);
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    line-height: 1.35;
  }

  &.is-offline {
    --happy-wh-accent: #94a3b8;

    .happy-helpdesk-working-hour__badge {
      border-color: #94a3b8;
      color: #64748b;
      background: transparent;
    }

    .happy-helpdesk-working-hour__inner {
      border-left-color: #94a3b8;
    }
  }

  &__hours {
    margin: 0 0 0.65rem;
    color: var(--happy-wh-muted);
  }

  &__divider {
    margin: 0 0 0.65rem;
    border: 0;
    border-top: 1px solid #e2e8f0;
  }

  &__clocks {
    margin: 0;
    color: var(--happy-wh-text);

    strong {
      font-weight: 700;
    }
  }

  &__clocks-sep {
    margin: 0 0.35rem;
    color: var(--happy-wh-muted);
  }
}

.happy-helpdesk-working-hour-offline,
.happy-helpdesk-working-hour-online {
  display: none;
}
