.gdprconsentmanager__icon {
  background-image: url(../Icons/gdpr-logo-icon.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.dsgvo_client {
  &__container {
    display: flex;
    flex-direction: column;
  }
}

.dsgvo__info {
  transition: all 0.4s ease;

  .resourcesHead {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.4s ease;

    &::before {
      content: "";
      display: inline-block;
      width: 1px;
      height: 0;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-top: 10px solid #000;
      border-radius: 2px;
      margin-right: 15px;
      margin-bottom: 1px;
    }

    &.active::before {
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-left: 10px solid #000;
      border-right: 0;
    }

    div {
      display: inline-block;
      margin-left: 7px;
    }
  }

  .resourcesData {
    border: 1px solid #e7e6e6;
    border-radius: 8px;
    overflow: auto;
    transition: max-height 0.4s ease-out;

    &.hidden {
      max-height: 0px;
      border: 0;
    }
  }
}

.wp-block-gdpr-extensions-gdprconsentmanager {
  max-width: 1200px !important;
  margin: 0 auto;

  .gdprconsentmanager {
    table {
      font-size: 16px;
      font-weight: 400;
      border-collapse: collapse;
      border-spacing: 0;
      width: 100%;

      .row-head {
        background: #e7e6e6;
        text-align: left;

        th {
          color: #343434;
          font-size: 16px;
          font-weight: 700;
          line-height: 24px;
          min-width: 150px;
          padding: 16px;
        }
      }

      .row-data {
        border-radius: 10px;
        overflow-x: auto;
        border-bottom: 1px solid #e7e6e6;

        &:last-of-type {
          border-bottom: none;
        }

        td {
          vertical-align: top;
          color: #343434;
          font-size: 16px;
          line-height: 24px;
          padding: 16px;

          &.dsgvo__info-key {
            padding: 0;

            a {
              color: #487dd6;
              text-decoration: none;

              &:last-of-type {
                p {
                  border-bottom: none;
                }
              }

              p {
                margin: 0;
                padding: 16px;
                border-bottom: 1px solid #e7e6e6;
              }
            }
          }
        }
      }
    }
  }
}

.gdprconsentmanager {
  &.inEdit {
    margin: 0 15px;
  }

  .d-none {
    display: none;
  }

  #reportTabs {
    width: 100%;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #e7e6e6;

    .report-tabs {
      background-color: #e7e6e6;
      border-radius: 6px 6px 0 0;
      color: #343434;
      font-size: 16px;
      line-height: 30px;
      padding: 4px 16px;
      cursor: pointer;

      &.active {
        background-color: #2271b1;
        color: #fff;
      }
    }
  }

  .emptyState {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;

    p {
      margin: 0;
    }
  }

  .dsgvo__cookie-category {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.4s ease;

    .categoryHead {
      padding: 20px 0;
      cursor: pointer;
      transition: all 0.4s ease;

      &::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 10px solid #000;
        border-radius: 2px;
        margin-right: 15px;
        margin-bottom: 1px;
      }

      &.active::before {
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 10px solid #000;
        border-right: 0;
      }

      div {
        display: inline-block;
        margin-left: 7px;
      }
    }

    .table-main {
      border: 1px solid #e7e6e6;
      border-radius: 8px;
      overflow: auto;
      transition: max-height 0.4s ease-out;

      &.hidden {
        max-height: 0px;
        border: 0;
      }

      .dsgvo__cookie__item {
        font-size: 16px;
        font-weight: 400;
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;

        .row-head {
          th {
            &:first-of-type {
              border-top-left-radius: 6px;
            }

            &:last-of-type {
              min-width: 215px;
              border-top-right-radius: 6px;
            }
          }
        }

        .row-data {
          td {
            &.dsgvo__cookie-name {
              word-break: break-word;
            }

            &.dsgvo__cookie-found {
              .subPagesLink {
                max-height: 96px;
                overflow-y: auto;

                a {
                  color: #487dd6;
                  text-decoration: none;

                  p {
                    margin: 0 0 12px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

.editHeading {
  text-align: center;
  font-size: 48px;
}

@media (max-width: 1240px) {
  .wp-block-gdpr-extensions-gdprconsentmanager {
    .gdprconsentmanager {
      margin: 0 20px;
    }
  }
}

.gdprconsentmanager .dsgvo__cookie-category .table-main::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome, Safari, and Opera */
}
