@import '../helpers/helpers';

.page_fdl-management {
  .fdl {
    padding-top: 30px;

    &__panel {

      &-top,
      &-bottom {
        margin: 15px 0;
      }

      &-search {
        @include make-col(9);
        display: flex;

        &__dropdown,
        &__searchfield {
          @include make-container;
          padding-left: 0;
        }

        &__dropdown {
          width: 40%;
        }
      }

      &-buttons {
        @include make-col(3);
        display: flex;
        border: 1px solid $blue;
        border-radius: 3px;

        .btn {
          border: 0;
          border-radius: 0;

          &-primary {
            border-right: 1px solid $blue;
          }

          &:first-child {
            border-top-left-radius: 2px;
            border-bottom-left-radius: 2px;
          }

          &:last-child {
            border-top-right-radius: 2px;
            border-bottom-right-radius: 2px;
          }
        }
      }

      &-filter {
        @include make-col(3);
        @include make-col-offset(9);
        display: flex;
        flex-direction: column;

        label {
          &:first-child {
            padding-bottom: 15px;
          }
        }
      }
    }

    &__search {
      @include search-field;
    }

    &__header {
      &-wrap {
        position: relative;
      }

      &-add {
        position: absolute;
        right: 0;
        top: 3px;

        &-field {
          display: inline-block;
          margin-right: 15px;

          input {
            height: auto;
            font-size: inherit;
          }
        }

        button {
          width: 120px;
        }
      }
    }

    .tbx {
      width: 140px;
    }

    .btn-refresh {
      position: absolute;
      left: 0;
      top: 3px;
      width: 100px;
    }

    hr {
      margin: 30px 0;
    }

    &__table {
      border: 1px solid $gray;
    }

    &-heading,
    &-row {
      display: flex;
      border-bottom: 1px solid $gray;

      &:last-child {
        border-bottom: 0;
      }
    }

    &-row {
      .fdl-col {
        &:last-child {
          word-break: break-all;
        }
      }
    }

    &-heading {
      .fdl-col {
        font-weight: 600;
      }
    }

    &-col {
      width: 18%;
      padding: 15px;

      &_more {
        padding-left: 15px;
      }

      &:last-child {
        width: 28%;
      }
    }

    &-top-line {
      height: 50px;
      background-color: $blue-dark;
    }
  }

  .notification_success {
    margin-top: 30px;
  }
}
