.ad-report-section {
  max-width: 1200px;
  margin-inline: auto;
  padding-top: 5rem;
  padding-bottom: 5rem;

  .hidden {
    display: none;
  }

  h1, h2, h3, h4, h5, h6, strong {
    color: black !important;
  }

  a {
    color: blue !important;
  }


  .accordion-controls {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 1rem;
    align-items: center;
  }

  & .ad-non-active-toggle {
    display: block;
    cursor: pointer;
    input {
      accent-color: #2B333B !important;
    }
    .ad-non-active-label {
      font-weight: 700;
      color: rgba(255, 0, 0, 1) !important;
    }
  }

  & .accordion-section {
    display: flex;
    flex-direction: column;
    gap: 12px;

    & .wrapper {
      max-width: 800px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      align-items: start;
    }

    & .accordion-section-header {
      text-align: center;
      margin-bottom: 40px;
      grid-column: 1 / -1;

      & p {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 1em;
        color: #474F57;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
      }
    }

    & .accordion-item {
      grid-column: 1 / -1;
      border: 1px solid #dddddd;
      border-radius: 8px;
      background-color: #ffffff;
      height: auto;

      &.active {
        & svg:not(.ad-group-link-icon) {
          transform: rotateX(180deg);
        }

        & .accordion-header {
          background-color: #FFFDF5;
          border-radius: 8px 8px 0 0;
        }

        & .accordion-content {
          background-color: #FFFDF5;
          border-radius: 0 0 8px 8px;
        }
      }

      & .accordion-header {
        cursor: pointer;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: 1rem;

        & h3 {
          display: inline-block;
          margin: 0;
          margin-right: 12px !important;
          font-size: 16px;
          color: #2B333B;

          &:hover {
            text-decoration: underline;
            text-underline-offset: 6px;
          }
        }

        & svg {
          transition: all 0.5s ease;
          & path {
            fill: #000000;
          }
        }

        & .ad-group-geo-badge {
          display: inline-block;
          margin-right: 12px;
          padding: 2px 8px;
          border-radius: 999px;
          font-size: 12px;
          font-weight: 700;
          line-height: 1.5;
          color: #1d4ed8;
          background-color: #dbeafe;
          vertical-align: middle;
        }
      }

      & .accordion-content {
        padding: 0 20px 20px;
        .ad-started {
          color: rgb(106, 168, 79);
        }
        .ad-expiry {
          color: rgb(106, 168, 79);
        }
        .already-expired {
          color: rgba(255,0,0,1) !important;
        }
        .ad-geo-line {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          gap: 6px 14px;
          margin: 4px 0 10px;
          font-size: 13px;
          line-height: 1.5;
          color: #555555;
        }
        .ad-geo-pill {
          display: inline-block;
          padding: 1px 8px;
          border-radius: 999px;
          font-size: 12px;
          font-weight: 700;
          color: #1d4ed8;
          background-color: #dbeafe;
        }
        .ad-geo-pill-area {
          color: #92400e;
          background-color: #fef3c7;
        }
        .ad-geo-pill-hidden {
          color: #b91c1c;
          background-color: #fee2e2;
        }
        .ad-geo-pill-ignored {
          color: #4b5563;
          background-color: #e5e7eb;
        }
        .ad-geo-list-label {
          font-weight: 600;
          color: #333333;
        }
        .ad-geo-list[title] {
          cursor: help;
          text-decoration: underline dotted;
          text-underline-offset: 3px;
        }
      }
    }
  }
}
