#dashboard_widget_burst {
  .inside{
    padding: 0;
    margin: 0;
  }
}

#dashboard-widgets .burst-today {
  .burst-grid-item-header {
    display:none;
  }

  &-select {
    background: #ecf4ed;
    padding-inline: var(--rsp-spacing-l);
    padding-block: var(--rsp-spacing-m);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rsp-spacing-s);

    &-item {
      border-radius: var(--rsp-border-radius-xs);
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      padding-block: var(--rsp-spacing-m);
      justify-items: center;
      flex-wrap: wrap;
      background: var(--rsp-white);


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


      &.active {
        box-shadow: inset 0 0 3px 2px var(--rsp-green-faded);
        border: 2px solid var(--rsp-green);
      }

      h2 {
        margin-top: var(--rsp-spacing-xxs);
        font-weight: 800;
      }

      span {
        display: flex;
        gap: 3px;
        justify-content: center;
        font-size: var(--rsp-fs-100);

        .burst-icon-live {
          animation-name: pulse;
          animation-duration: 1.5s;
          animation-timing-function: ease-in;
          animation-direction: alternate;
          animation-iteration-count: infinite;
          animation-play-state: running;

          @keyframes pulse {
            0% {
              transform: scale(0.9);
              opacity: 0.2;
            }

            100% {
              transform: scale(1.0);
              opacity: 1;
            }
          }
        }
      }
    }
  }

  &-list {
    width: 100%;

    &-item {
      display: grid;
      justify-items: flex-start;
      grid-template-columns: auto 1fr auto;
      gap: var(--rsp-spacing-s);
      padding-block: var(--rsp-spacing-xs);
      padding-inline: var(--rsp-spacing-l);

      &:nth-of-type(even) {
        background: var(--rsp-grey-200);
      }

      &-text {
        width: 100%;
        margin: 0;
        margin-right: auto;

      }

      &-number {
        margin: 0;
        font-weight: 600;
      }
    }
  }

  &-controls-flex {
    display: flex;
    //justify-content: space-between;
    align-items: center;
    gap: var(--rsp-spacing-xs);

    .burst-divider {
      width: 1px;
      height: 80%;
      background: var(--rsp-grey-500);
    }
  }
  .burst-grid-item-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--rsp-grid-margin);
    width: 100%;
    min-height: calc(30px + var(--rsp-spacing-s) * 2);
    box-sizing: border-box;
    padding-inline: var(--rsp-spacing-l);
    align-self: flex-end;
  }

  a.burst-button--secondary {
    background: var(--rsp-grey-100);
    color: var(--rsp-text-color-light);
    border: 1px solid var(--rsp-grey-400);
  }
}

/* Global Variables */
:root {
  --button-font-size: var(--rsp-fs-300);
  --button-font-weight: 400;
  --button-line-height: 2;
  --button-letter-spacing: 0.5px;
  --button-transition: all 0.3s ease;
  --button-min-height: 30px;
  --button-padding: 0 10px;
  --button-border-radius: 4px;
  --button-accent-color: #2271b1;
  --button-contrast-color: #000;
  --button-secondary-bg: #fff;
}

/* Button Base Styles */
a.burst-button, button.burst-button, input.burst-button {
  display: flex;
  align-items: center;
  gap: var(--rsp-spacing-xxs);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  line-height: var(--button-line-height);
  letter-spacing: var(--button-letter-spacing);
  transition: var(--button-transition);
  min-height: var(--button-min-height);
  margin: 0;
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  text-align: center;
  cursor: pointer;
  text-decoration: none;

  &--primary {
    background: var(--button-accent-color);
    color: var(--button-secondary-bg);
    border: 1px solid var(--button-accent-color);

    &:hover {
      background: var(--button-accent-color);
      color: var(--button-secondary-bg);
      border-color: var(--button-accent-color);
      box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.3);
    }
  }

  &--secondary {
    background: var(--rsp-grey-100);
    color: var(--rsp-text-color-light);
    border: 1px solid var(--rsp-grey-400);

    &:hover {
      background: var(--rsp-grey-200);
      color: var(--rsp-text-color);
      border-color: var(--rsp-grey-400);
      box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    }
  }

  &--tertiary {
    // red button
    background: var(--rsp-red);
    color: var(--rsp-text-color-white);
    border: 1px solid var(--rsp-red);

    &:hover {
      background: var(--rsp-red-faded);
      color: var(--rsp-red);
      border-color: var(--rsp-red);
      box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3);
    }
  }
}

.burst-button-icon {
  background: transparent;
  background: var(--rsp-grey-300);
  color: #2271b1;
  border: 1px solid transparent;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  padding: 10px;
  margin: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;

  &:hover {
    padding: 15px;
    margin: 0;
  }

  &--delete {
    &:hover {
      background: var(--rsp-red-faded);

      svg path {
        fill: var(--rsp-red);
      }
    }
  }
}

.burst .burst-button.burst-button--date-range {
  display: flex;
  align-items: center;
  padding: var(---rsp-filter-padding);
  box-shadow: var(--rsp-box-shadow);
  cursor: pointer;
  gap: var(--rsp-spacing-xs);
  color: var(--rsp-text-color-light);
  background-color: var(--rsp-input-background-color);
  background: var(--rsp-grey-200);
  border: 1px solid var(--rsp-input-border-color);
  border-radius: var(--rsp-border-radius-xs);

  .burst-icon {
    height: max-content;
  }
}