.igd-select-files-modal {

  .components-modal__header {
    border-bottom: 1px solid #ddd;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  }

  .components-modal__header-heading {
    width: 100%;
  }

  .shortcode-module {
    &-header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin: 30px auto;

      .module-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        font-weight: 600;
      }
    }

    .shortcode-types {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;

      .shortcode-type {
        width: calc(20% - 20px);
        margin: 10px;
        padding: 2rem 1.5rem;
        border: 1px solid #ddd;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        max-width: 250px;
        transition: background 0.3s ease;

        i {
          height: auto;
          width: auto;
          border-radius: 50%;
          padding: 15px;
          border: 1px solid #ddd;
        }

        span {
          font-size: 1rem;
          margin-top: 15px;
        }

        &.active {
          background: var(--color-primary-light);
          border: 1px solid var(--color-primary);
          color: #fff;

          i {
            border: 1px solid #fff;
          }
        }

        &:hover {
          background: var(--color-primary-light);
          border: 1px solid var(--color-primary);
          color: #fff;

          i {
            border: 1px solid #fff;
          }
        }

      }
    }

    .settings-field {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 10px;
      align-items: center;
      border: 1px dashed #ddd;
      border-radius: 5px;
      padding: 12px 18px;

      &-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
        font-weight: 600;
      }

      &-label {
        width: 200px;
        font-weight: 600;
        font-size: 1rem;
        display: flex;
        justify-content: space-between;

        &:after {
          content: ":";
          margin-left: auto;
        }
      }

      &-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
        flex: 1;

        .components-button {
          i {
            margin-right: 5px;
          }
        }

        .description {
          font-size: 0.8rem;
          margin-top: 10px;
          text-align: left;
        }
      }

      &.filter-field {
        .filter-field-input {
          display: flex;
          flex-direction: column;
        }

        .filter-field-all {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          margin-top: 15px;
          flex-wrap: wrap;

          & > div {
            display: flex;
            align-items: center;

            &:first-child {
              margin-right: 20px;
            }
          }

          &-label {
            margin-right: 10px;
            font-weight: 500;
          }

          .description {
            width: 100%;
            text-align: left;
          }
        }

      }

      &.sort-field {
        .sort-field-section {
          display: flex;
          flex-direction: column;

          &:first-child {
            margin-right: 35px;
            padding-right: 15px;
            border-right: 1px solid #ddd;
          }

          &-wrap {
            display: flex;
            margin: 15px 30px;
          }

          &-label {
            margin-bottom: 15px;
            font-weight: 500;
            text-align: left;
          }

          .sort-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            cursor: pointer;
            position: relative;

            i {
              display: none;
              position: absolute;
              left: -25px;
            }

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

              i {
                display: block;
              }
            }
          }
        }
      }

      &.filter-users-field {
        .filter-users-group {
          display: flex;
          flex-direction: column;
        }

        .filter-users {
          margin-top: 15px;
          display: flex;
          flex-direction: column;
          border: 1px dashed #ddd;
          padding: 15px;
          border-radius: 7px;

          &-title {
            font-weight: 500;
            font-size: 1rem;
            margin-bottom: 10px;
            text-align: left;
          }


          &-section {
            display: flex;
            align-items: center;

            &:first-child {
              margin-right: 20px;
            }

            &-label {
              margin-right: 10px;
              font-weight: 500;
            }
          }

          &-section-wrap {
            display: flex;
            flex-wrap: wrap;

            .description {
              width: 100%;
            }

            margin-bottom: 15px;
          }
        }

      }

      input, select {
        height: 40px;
        border-radius: 5px;
        border: 1px solid #ddd;
        font-size: 0.8rem;
        width: 350px;
        max-width: 100%;

        &:disabled {
          background: #f5f5f5;
          color: #aaa;
          cursor: not-allowed;
        }
      }

      .igd-select {
        width: 400px;
      }

    }


  }

  &-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .header-title {
      font-size: 1.2rem;
      color: var(--color-primary);
      display: flex;
      align-items: center;

      i {
        margin-right: 10px;
      }
    }

    button {
      padding: 7px 8px;
    }

  }

}