:host {
  flex: 1 0 auto;
  min-width: 20rem;

  el-card {
    margin: 0;
  }
  el-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
  }
  .title {
    flex: 1 0 auto;
    margin-right: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .buttons {
    width: 9.5rem;
    display: flex;
    justify-content: space-evenly;

    [elButton] {
      flex: 0 0 3rem;
    }
  }
}

:host(.full-screen) {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

:host(.maximized) el-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

:host(.minimized) el-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  height: auto;

  el-card-header {
    border-bottom: none;
  }
}
