:host {
  &.popup-showing {
    .lightplan-wrapper {
      opacity: 0.1 !important; // because animation is on same prop
    }
  }
  &.show {
    display: flex;
  }
  .lightplan-wrapper {
    opacity: 1;
    position: fixed;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 1px 3px 2px rgba(1,1,1,0.3);
    z-index: 904;
    .scene-lights {
      max-height: 300px;
      overflow-y: auto;
    }
  }
  .title-bar {
    display: flex;
    justify-content: flex-end;
    background: #3760a1;
    mat-icon {
      color: white;
    }
    .title-bar-move {
      display: flex;
      flex-basis: 100%;
    }
  }
  .content-wrapper {
    font-size: 14px;
    padding: 15px;
    background: white;
    min-height: 400px;
    min-width: 500px;
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: auto;
  }
  .section:not(last-child) {
    margin-bottom: 20px;
  }
  .button-wrapper {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: flex-end;
  }
  .edit-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .edit-button-wrapper {
    display: flex;
  }
  h4 {
    margin: 10px 0;
  }
  .edit-lightplan-wrapper {
    display: flex;
  }
  .light-preset-selection {
    display: flex;
  }
  .button-row {
    display: flex;
  }
  .add-light {
    font-size: 11px;
    border: 1px solid #3760a1;
    border-radius: 25px;
  }
  .add-light:not(last-child) {
    margin-right: 5px;
  }
  .dropdown-container {
    align-self: center;
  }
  .section-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}
::ng-deep .cdk-overlay-container {
  .mat-mdc-select-panel {
    /* TODO(mdc-migration): The following rule targets internal classes of option that may no longer apply for the MDC version.*/
    .mat-option-text {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
}
