<script setup lang="ts">
const props = defineProps<{
  straight?: boolean
}>()
</script>

<template>
  <div
    class="widget"
    :class="[props.straight && 'is-straight']"
  >
    <slot name="header" />
    <slot name="body" />
  </div>
</template>

<style lang="scss">
@import '/@src/scss/abstracts/all';

.widget {
  @include vuero-l-card;

  margin-bottom: 20px;

  &.is-straight {
    @include vuero-s-card;
  }
}

// Picker widget
// Picker widget
.widget-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;

  .left {
    display: flex;
    align-items: center;
  }

  .center {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .right {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    .tag {
      font-family: var(--font);
    }

    .right-icon {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 32px;
      width: 32px;
      min-width: 32px;
      border-radius: var(--radius-rounded);
      color: color-mix(in oklab, var(--light-text), white 12%);
      transition: all 0.3s; // transition-all test

      &.has-indicator {
        &::after {
          content: '';
          position: absolute;
          top: 3px;
          inset-inline-end: 4px;
          height: 10px;
          width: 10px;
          border-radius: var(--radius-rounded);
          background: var(--primary);
          border: 1.8px solid var(--white);
        }
      }

      .iconify {
        height: 18px;
        width: 18px;
        font-size: 18px;
        transition: stroke 0.3s;
      }
    }
  }

  h3 {
    font-family: var(--font-alt);
    font-size: 0.9rem;
    color: var(--dark-text);
    font-weight: 600;

    &.is-bigger {
      font-size: 1rem;
    }
  }

  .action-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
    min-width: 32px;
    border-radius: var(--radius-rounded);
    color: color-mix(in oklab, var(--light-text), white 12%);
    transition: all 0.3s; // transition-all test

    .iconify {
      height: 18px;
      width: 18px;
      font-size: 18px;
      transition: stroke 0.3s;
    }
  }
}

.picker-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .calendar {
    color: var(--dark-text);
    font-size: 12px;
    font-family: var(--font);
    width: 100%;
    margin-bottom: 5px;

    thead,
    tbody {
      width: 100%;
    }
  }

  .calendar thead,
  .calendar th {
    color: var(--primary);
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
  }

  .calendar td {
    padding: 0.5em 0;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
  }

  .calendar tbody td:hover {
    background: color-mix(in oklab, var(--fade-grey), white 3%);
    color: var(--primary);
  }

  .current-day {
    color: var(--primary);
    font-weight: 600;
  }

  .prev-month,
  .next-month {
    color: #cacaca;
  }
}

// Search Widget
.search-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .field {
    .control {
      position: relative;

      .input {
        height: 42px;
        border-radius: 8px;
        background: var(--widget-grey);
        border-color: var(--widget-grey);

        &:focus {
          border-color: color-mix(in oklab, var(--fade-grey), black 3%);
          background: var(--white);
        }
      }

      .searcv-button {
        position: absolute;
        top: 0;
        inset-inline-end: 0;
        height: 42px;
        width: 42px;
        border-radius: 8px;
        background: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        color: var(--white);
        cursor: pointer;

        .iconify {
          height: 18px;
          width: 18px;
          font-size: 18px;
        }
      }
    }

    .topics {
      display: flex;
      justify-content: space-between;
      text-align: center;
      padding-top: 12px;

      a {
        font-family: var(--font);
        color: var(--light-text);
        font-size: 0.95rem;

        &:hover,
        &:focus {
          color: var(--primary);
        }
      }
    }
  }
}

// Gauge widget
.gauge-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  text-align: center;

  .gauge-wrap {
    padding: 30px 0;
  }
}

// Icon Toolbar widget
.icon-toolbar-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  padding: 16px;

  .icon-toolbar {
    display: flex;

    .toolbar-icon {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1 1 0;

      .inner-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 32px;
        width: 32px;
        font-size: 18px;
        min-width: 32px;
        border-radius: var(--radius-rounded);
        color: color-mix(in oklab, var(--light-text), white 12%);
        transition: all 0.3s; // transition-all test

        &:hover:not(.is-active) {
          background: color-mix(in oklab, var(--fade-grey), white 3%);
          color: var(--light-text);
        }

        &.is-active {
          color: var(--primary);
        }

        .iconify {
          height: 18px;
          width: 18px;
          transition: stroke 0.3s;
        }
      }
    }
  }
}

// Text widget
.text-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .widget-content {
    p {
      font-size: 0.9rem;

      span {
        color: var(--dark-text);
        font-weight: 500;
      }
    }

    .hashtags {
      padding-top: 8px;
      font-family: var(--font);

      a {
        color: var(--primary);
        margin: 0 2px;
      }
    }
  }
}

// Tags widget
.tags-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }
}

// Calendar Widget
.calendar-widget {
  .calendar-widget-inner {
    display: flex;
    flex-wrap: wrap;
    margin-top: -6px;
    margin-inline-start: -6px;
    margin-inline-end: -6px;

    .calendar-square {
      @include vuero-l-card;

      flex: 1;
      margin: 6px;
      width: calc(50% - 6px);

      .date {
        text-align: center;

        span {
          display: block;
          font-family: var(--font);

          &:first-child {
            font-weight: 700;
            color: var(--dark-text);
            font-size: 1.6rem;
          }

          &:nth-child(2) {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: var(--light-text);
          }
        }
      }
    }
  }
}

// Calendar widget
.image-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  position: relative;
  padding: 10px;
  height: 310px;

  > img {
    display: block;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
  }

  .progress-wrap {
    position: absolute;
    bottom: 30px;
    inset-inline-start: 0;
    inset-inline-end: 0;
    padding: 0 30px;

    .progress {
      background-color: #000;
      background-image: linear-gradient(to right, var(--primary) 30%, #000 30%);
      height: 0.15rem !important;
    }
  }
}

// Stats widget
.stats-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  padding: 20px 0 0;

  .widget-toolbar {
    padding: 0 20px;
  }

  .stat-number {
    span {
      display: block;
      font-family: var(--font);

      &:first-child {
        font-size: 2rem;
        font-weight: 700;
        color: var(--dark-text);

        .iconify {
          color: var(--success);
          font-size: 1.5rem;
          margin-inline-start: 0.2em;
        }
      }

      &:nth-child(2) {
        font-size: 0.75rem;
        font-family: var(--font-alt);
        text-transform: uppercase;
        color: var(--light-text);
      }
    }
  }

  .stat-chart {
    position: relative;
    bottom: -30px;
  }
}

// Icon list widget
.icon-list-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .icon-list {
    .icon-list-item {
      display: flex;
      align-items: center;
      cursor: pointer;

      &:not(:last-child) {
        margin-bottom: 20px;
      }

      &:hover {
        .icon-wrap {
          background: var(--primary);
          color: var(--white);
          box-shadow: var(--primary-box-shadow);
        }

        .item-meta {
          span {
            color: var(--dark-text);
          }
        }
      }

      .icon-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 42px;
        width: 42px;
        border: none;
        border-radius: 10px;
        background: color-mix(in oklab, var(--widget-grey), black 2%);
        color: color-mix(in oklab, var(--light-text), black 6%);
        transition: all 0.3s; // transition-all test

        .iconify {
          transition: stroke 0.3s;
        }

        img,
        .iconify {
          font-size: 18px;
          height: 18px;
          width: 18px;
        }

        &.is-placeholder {
          background: color-mix(in oklab, var(--fade-grey), white 2%);
          border: 1px solid color-mix(in oklab, var(--fade-grey), black 3%);
          color: var(--light-text);

          .iconify {
            font-size: 1.4rem;
          }
        }
      }

      .item-meta {
        margin-inline-start: 12px;

        span {
          font-family: var(--font);
          color: var(--light-text);
        }
      }
    }
  }
}

// Video widget
.video-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  padding: 10px;

  .widget-content {
    display: flex;

    > img {
      height: 100px;
      width: 100px;
      border-radius: 10px;
      object-fit: cover;
    }

    .widget-meta {
      margin-inline-start: 10px;
      display: flex;
      flex-direction: column;
      font-family: var(--font);

      > .iconify {
        height: 20px;
        width: 20px;
        font-size: 20px;
        stroke-width: 1.6px;
        color: var(--primary);
        margin-bottom: 6px;
      }

      h4 {
        font-weight: 600;
        font-family: var(--font-alt);
        font-size: 0.9rem;
        line-height: 1.3;
        color: var(--dark-text);
      }

      .views {
        display: flex;
        align-items: center;
        margin-top: auto;
        color: var(--light-text);

        .iconify {
          height: 14px;
          width: 14px;
          stroke-width: 1.4px;
          margin-inline-end: 6px;
        }

        span {
          font-size: 0.85rem;
        }
      }
    }
  }
}

// Inbox widget
.inbox-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .sender-block {
    h4 {
      font-family: var(--font);
      font-weight: 500;
      color-interpolation-filters: var(--dark-text);
      font-size: 0.95rem;
    }

    .sender-block-inner {
      display: flex;
      align-items: center;
      padding: 16px 0;

      .meta {
        margin-inline-start: 10px;
        line-height: 1.2;

        span {
          font-family: var(--font-alt);
          font-weight: 600;
          font-size: 0.8rem;
        }
      }
    }

    .exerpt {
      padding: 10px;
      border-radius: 10px;
      border: 1px solid color-mix(in oklab, var(--fade-grey), black 3%);
      font-family: var(--font);

      h5 {
        display: flex;
        align-items: center;
        font-size: 0.8rem;
        font-family: var(--font-alt);
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 6px;

        .iconify, .fas {
          font-size: 6px;
          margin-inline-end: 6px;
        }
      }

      p {
        font-size: 0.9rem;
        color: var(--dark-text);
        margin-bottom: 6px;
      }

      small {
        color: var(--light-text);
      }
    }
  }
}

// Illustration widgets
.illustration-widget {
  &.illustration-widget-v1 {
    @include vuero-l-card;

    &.is-straight {
      @include vuero-s-card;
    }

    padding: 40px 30px;
    text-align: center;
    font-family: var(--font);

    .img-container {
      position: relative;
      margin: 0 auto 12px;
      max-width: 180px;

      .main {
        display: block;
      }

      .badge {
        position: absolute;

        &.badge-1 {
          height: 70px;
          width: 70px;
          top: 0;
          inset-inline-end: 0;
        }

        &.badge-2 {
          height: 50px;
          width: 50px;
          top: 0;
          inset-inline-start: 0;
        }
      }
    }

    h3 {
      font-weight: 600;
      font-size: 0.95rem;
      font-family: var(--font-alt);
      color: var(--dark-text);
      margin-bottom: 4px;
    }

    p {
      font-size: 0.9rem;
    }
  }

  &.illustration-widget-v2 {
    @include vuero-l-card;

    &.is-straight {
      @include vuero-s-card;
    }

    padding: 16px;

    img {
      border-radius: 14px;
      margin-bottom: 4px;
    }

    h3 {
      font-weight: 600;
      font-size: 0.95rem;
      font-family: var(--font-alt);
      color: var(--dark-text);
    }

    p {
      font-size: 0.9rem;
    }
  }

  &.illustration-widget-v3 {
    @include vuero-l-card;

    &.is-straight {
      @include vuero-s-card;
    }

    padding: 24px;

    img {
      border-radius: 18px;
      margin-bottom: 4px;
    }

    h3 {
      font-weight: 600;
      font-size: 0.95rem;
      font-family: var(--font-alt);
      color: var(--dark-text);
    }

    p {
      font-size: 0.9rem;
    }
  }
}

// Creative list widget
.creative-list-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .creative-list {
    .creative-list-item {
      display: flex;
      align-items: center;
      padding: 10px;
      border-radius: 10px;
      background: color-mix(in oklab, var(--fade-grey), white 3%);
      margin-bottom: 8px;

      &.is-orange {
        background: color-mix(in oklab, var(--orange), white 20%);
      }

      &.is-purple {
        background: color-mix(in oklab, var(--purple), white 38%);
      }

      &.is-green {
        background: color-mix(in oklab, var(--success), white 48%);
      }

      .meta {
        font-family: var(--font);
        font-size: 0.95rem;
        color: var(--dark-text);
        font-weight: 500;
        margin-inline-start: 10px;
      }
    }
  }
}

// Social buttons widget
.social-buttons-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  padding: 16px;

  .social-buttons {
    display: flex;

    .social-button {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1 1 0;

      .inner-button {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 32px;
        width: 32px;
        min-width: 32px;
        border-radius: 8px;
        color: color-mix(in oklab, var(--light-text), white 12%);
        transition: all 0.3s; // transition-all test

        &:hover:not(.is-active) {
          background: color-mix(in oklab, var(--fade-grey), white 3%);
          color: var(--light-text);
        }

        &.is-rounded {
          border-radius: var(--radius-rounded);
        }

        &.is-active {
          &.is-facebook {
            background: var(--facebook);
            color: var(--smoke-white);
            box-shadow: var(--facebook-box-shadow);
          }

          &.is-linkedin {
            background: var(--linkedin);
            color: var(--smoke-white);
            box-shadow: var(--facebook-box-shadow);
          }

          &.is-twitter {
            background: var(--twitter);
            color: var(--smoke-white);
            box-shadow: var(--twitter-box-shadow);
          }

          &.is-instagram {
            background: var(--instagram);
            color: var(--smoke-white);
            box-shadow: var(--angular-box-shadow);
          }

          &.is-github {
            background: var(--github);
            color: var(--smoke-white);
            box-shadow: var(--github-box-shadow);
          }

          &.is-invision {
            background: var(--invision);
            color: var(--smoke-white);
            box-shadow: var(--invision-box-shadow);
          }

          &.is-atlassian {
            background: var(--linkedin);
            color: var(--smoke-white);
            box-shadow: var(--linkedin-box-shadow);
          }

          &.is-bootstrap {
            background: var(--purple);
            color: var(--smoke-white);
            box-shadow: var(--purple-box-shadow);
          }
        }

        .iconify {
          height: 18px;
          width: 18px;
          transition: stroke 0.3s;
        }
      }
    }
  }
}

// Call widget
.call-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  padding: 40px 30px;
  text-align: center;
  font-family: var(--font);

  .img-container {
    position: relative;
    margin: 0 auto 12px;
    max-width: 180px;
    max-height: 180px;

    .main {
      display: block;
    }

    .badge {
      position: absolute;
      height: 60px;
      width: 60px;
      bottom: 0;
      inset-inline-end: 2px;
      border-radius: var(--radius-rounded);
      border: 6px solid var(--white);
    }
  }

  h3 {
    font-weight: 600;
    font-family: var(--font-alt);
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 4px;
  }

  p {
    font-size: 0.9rem;
  }

  .actions {
    display: flex;
    justify-content: center;
    padding-top: 12px;

    .action {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 36px;
      width: 36px;
      min-width: 36px;
      border-radius: var(--radius-rounded);
      color: color-mix(in oklab, var(--light-text), white 12%);
      margin: 0 6px;
      border: 1px solid color-mix(in oklab, var(--fade-grey), black 3%);
      box-shadow: var(--light-box-shadow);
      transition: all 0.3s; // transition-all test

      &:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--smoke-white);
        box-shadow: var(--primary-box-shadow);
      }

      .iconify {
        height: 16px;
        width: 16px;
        transition: stroke 0.3s;
      }
    }
  }
}

// Avatar list widget
.avatar-list-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  padding: 14px;

  .field {
    .control {
      position: relative;

      .input {
        height: 42px;
        border-radius: 8px;
        background: var(--widget-grey);
        border-color: var(--widget-grey);

        &:focus {
          border-color: color-mix(in oklab, var(--fade-grey), black 3%);
          background: var(--white);
        }
      }

      .searcv-button {
        position: absolute;
        top: 0;
        inset-inline-end: 0;
        height: 42px;
        width: 42px;
        border-radius: 8px;
        background: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        color: var(--white);
        cursor: pointer;

        .iconify {
          height: 18px;
          width: 18px;
        }
      }
    }
  }

  .avatar-list {
    .avatar-list-item {
      display: flex;
      align-items: center;
      padding: 10px;
      border-radius: 10px;
      margin-bottom: 8px;
      transition: all 0.3s; // transition-all test

      &:hover {
        background: color-mix(in oklab, var(--fade-grey), white 3%);
      }

      .meta {
        font-family: var(--font-alt);
        font-size: 0.95rem;
        color: var(--dark-text);
        font-weight: 600;
        margin-inline-start: 10px;
      }
    }
  }
}

// Followers widget
.followers-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .channels {
    display: flex;
    margin-inline-start: -8px;
    margin-inline-end: -8px;
    width: 100%;

    .channel {
      width: calc(33.3% - 16px);
      text-align: center;
      margin: 0 8px;

      .channel-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 36px;
        width: 36px;
        border-radius: 10px;
        background: var(--widget-grey);
        margin: 0 auto 4px;

        .iconify {
          font-size: 14px;
          color: var(--light-text);
        }
      }

      .channel-stats {
        span {
          font-family: var(--font);
          display: block;

          &:first-child {
            font-weight: 500;
            color: var(--light-text);
          }
        }
      }
    }
  }
}

// Cart widget

.cart-widget {
  @include vuero-l-card;

  &.is-straight {
    @include vuero-s-card;
  }

  .cart-items {
    .cart-item {
      display: flex;
      margin: 8px 0;

      .meta {
        margin-inline-start: 12px;
        display: flex;
        flex-direction: column;

        span {
          display: block;
          font-family: var(--font);

          &:first-child {
            font-size: 0.9rem;
            color: var(--light-text);
          }

          &:nth-child(2) {
            color: var(--dark-text);
            margin-top: auto;
            font-weight: 600;
            font-size: 1.2rem;
          }
        }
      }
    }
  }

  .cart-button {
    padding-top: 16px;

    .button {
      min-height: 50px;
      border-radius: 10px;
    }
  }
}

.is-dark {
  .widget {
    @include vuero-card--dark;
  }

  .illustration-widget {
    &.illustration-widget-v1,
    &.illustration-widget-v2,
    &.illustration-widget-v3 {
      h3 {
        color: var(--dark-dark-text);
      }
    }
  }

  .creative-list-widget {
    .creative-list {
      .creative-list-item {
        background: color-mix(in oklab, var(--dark-sidebar), white 2%);
        border: 1px solid color-mix(in oklab, var(--dark-sidebar), white 12%);

        .meta {
          color: var(--smoke-white);
        }
      }
    }
  }

  .avatar-list-widget {
    .field {
      .control {
        .input {
          background: color-mix(in oklab, var(--dark-sidebar), white 3%);
          border-color: color-mix(in oklab, var(--dark-sidebar), white 12%);
        }

        .searcv-button {
          background: var(--primary);
        }
      }

      .topics {
        a:hover {
          color: var(--primary);
        }
      }
    }

    .avatar-list {
      .avatar-list-item {
        &:hover {
          background: color-mix(in oklab, var(--dark-sidebar), white 8%);
        }

        .meta {
          color: var(--dark-dark-text);
        }
      }
    }
  }

  .video-widget {
    .widget-meta {
      > .iconify {
        color: var(--primary);
      }

      h4 {
        color: var(--dark-dark-text);
      }
    }
  }

  .inbox-widget {
    .sender-block {
      .sender-block-inner {
        .meta {
          span {
            color: var(--dark-dark-text);
          }
        }
      }
    }

    .exerpt {
      background: color-mix(in oklab, var(--dark-sidebar), white 4%);
      border-color: color-mix(in oklab, var(--dark-sidebar), white 12%);

      h5 {
        color: var(--primary);
      }

      p {
        color: var(--dark-dark-text);
      }
    }
  }

  .icon-list-widget {
    .icon-list {
      .icon-list-item {
        &:hover {
          .icon-wrap {
            background: var(--primary) !important;
            box-shadow: var(--primary-box-shadow);
            color: var(--smoke-white);
          }

          .item-meta {
            span {
              color: var(--primary) !important;
            }
          }
        }

        .icon-wrap {
          background: color-mix(in oklab, var(--dark-sidebar), white 3%);
          color: color-mix(in oklab, var(--light-text), white 2%);
        }
      }
    }
  }

  .stats-widget {
    .stat-number {
      span {
        &:first-child {
          color: var(--dark-dark-text);
        }
      }
    }
  }

  .icon-toolbar-widget {
    .icon-toolbar {
      .toolbar-icon {
        .inner-icon {
          color: color-mix(in oklab, var(--light-text), black 12%);

          &:hover,
          &:focus:not(.is-active) {
            background: color-mix(in oklab, var(--dark-sidebar), white 3%);
          }

          &.is-active {
            color: var(--primary);
          }
        }
      }
    }
  }

  .image-widget {
    .progress-wrap {
      .progress {
        background-image: linear-gradient(
          to right,
          var(--primary) 30%,
          #000 30%
        ) !important;
      }
    }
  }

  .search-widget {
    .field {
      .control {
        .input {
          background: color-mix(in oklab, var(--dark-sidebar), white 3%);
          border-color: color-mix(in oklab, var(--dark-sidebar), white 12%);
        }

        .searcv-button {
          background: var(--primary);
        }
      }

      .topics {
        a:hover {
          color: var(--primary);
        }
      }
    }
  }

  .widget-toolbar {
    h3 {
      color: var(--dark-dark-text);
    }

    .right {
      .right-icon {
        &.has-indicator {
          &::after {
            border-color: color-mix(in oklab, var(--dark-sidebar), white 6%);
          }
        }
      }
    }
  }

  .call-widget {
    h3 {
      color: var(--dark-dark-text);
    }

    .img-container {
      .badge {
        border-color: color-mix(in oklab, var(--dark-sidebar), white 6%);
      }
    }

    .actions {
      .action {
        background: color-mix(in oklab, var(--dark-sidebar), white 2%);
        border: 1px solid color-mix(in oklab, var(--dark-sidebar), white 12%);
        color: var(--dark-dark-text);

        &:hover,
        &:focus {
          border-color: var(--primary);
          color: var(--primary);
        }
      }
    }
  }

  .social-buttons-widget {
    .social-buttons {
      .social-button {
        .inner-button {
          &:hover:not(.is-active) {
            background: color-mix(in oklab, var(--dark-sidebar), white 2%);
            color: var(--light-text);
          }
        }
      }
    }
  }

  .picker-widget {
    .calendar {
      color: var(--dark-dark-text);

      thead,
      th {
        color: var(--primary);
      }

      td:hover {
        background: color-mix(in oklab, var(--dark-sidebar), white 3%);
        color: var(--primary);
      }
    }

    .current-day {
      color: var(--primary);
    }
  }

  .followers-widget {
    .channels {
      .channel {
        .channel-icon {
          background: color-mix(in oklab, var(--dark-sidebar), white 2%);
          border: 1px solid color-mix(in oklab, var(--dark-sidebar), white 12%);
        }
      }
    }
  }

  .cart-widget {
    .cart-items {
      .cart-item {
        .meta {
          span {
            &:nth-child(2) {
              color: var(--primary);
            }
          }
        }
      }
    }
  }

  .text-widget {
    .widget-content {
      p {
        span {
          color: var(--dark-dark-text);
        }
      }
    }

    .hashtags {
      a {
        color: var(--primary);
      }
    }
  }

  .calendar-widget {
    .calendar-widget-inner {
      .calendar-square {
        @include vuero-card--dark;

        .date {
          span {
            &:first-child {
              color: var(--dark-dark-text);
            }
          }
        }
      }
    }
  }
}
</style>
