$secondary-color: #da9803;
$selected-floor-background: #eee;

$primary-color: #5b6875;
$input-border-color: #9FA9B4;

.base-button {
  cursor: pointer;
  color: #fff;
  background: $secondary-color;
  border: 1px solid $secondary-color;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 4px 10px;
  line-height: 30px;
  width: 100%;

  &:hover {
    background: $secondary-color;
    color: #fff;
  }
}


.floor-catalog-wrap {
  .floor-catalog-selected-floor {
    background: $selected-floor-background;
    display: flex;
    box-sizing: border-box;
    padding: 15px;
    margin: 5px 0 15px;

    .selected-floor-thumbnail {
      min-width: 105px;
      max-width: 160px;
      margin-right: 10px;
      justify-content: center;
      align-items: center;
      vertical-align: middle;
      display: flex;
      height: auto;
      img {
        display: block;
        max-width: 100%;
        height: max-content;
      }
    }
  }
  .selected-floor-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    p {
      margin: 0;
      font-size: 14px;
    }
  }

  .floor-catalog-standard-floor {
    background: $selected-floor-background;
    box-sizing: border-box;
    padding: 15px;
    margin: 5px 0 15px;

    .selected-floor-info {
      p {
        margin: 0;
        font-size: 14px;
      }
    }
  }
}

.selected-floor-properties {
  p {
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 14px;
  }

  .selected-floor-scale, .floor-installation {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;

    .up-down-input-wrapper {
      position: relative;
      label {
        position: absolute;
        font-size: 12px;
        padding: 5px;
      }
    }

    .selected-floor-input {
      border: 1px solid $input-border-color;
      box-sizing: border-box;
      padding: 15px 10px 0;
      border-radius: 3px;
      line-height: 30px;
      width: 100%;
    }

    .placement-input {
      min-width: 300px;
    }

    .scale-input {
      min-width: 100px;
    }

    .range-slider {
      color: $secondary-color;
      min-width: 180px;
    }
  }
  .up-down-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  button {
    margin: 0;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    padding: 0;
    height: 22px;
    width: 22px;
    background: transparent;
    border-radius: 100%;
    ::ng-deep co-icon  {
      display: block;
      width: 22px;
      height: 22px;
    }
    &:hover {
      ::ng-deep co-icon {
        svg {
          fill: #da9803;
        }
      }
    }
  }
}


:host {
  ::ng-deep mat-icon {
    width: 18px;
    height: 18px;

    svg {
      path {
        fill: $primary-color;
      }
    }
  }
}

.placeholderimage {
  height: 90px;
  width: 150px;
  background-color: #5b6875;
}

.floor-detail-item {
  display: flex;
  justify-content: space-between;
  p {
    font-weight: 300;
    font-size: 14px;
  }
}

.floor-detail-download {
  display: flex;
  justify-content: flex-end;
  button {
    max-width: 150px;
  }
}

