@import '../variables';

.container {
  padding: 25px 10px;
  position: relative;
  max-width: 800px;
  min-width: 640px;
  margin: 0 auto;
}

.mainHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .username {
    font-size: 0.6em;
  }
}

.divider {
  max-width: 300px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.toolRow {
  display: flex;
  align-items: center;
  margin-bottom: 15px;

  button:first-child {
    margin-right: 10px;
  }
}

.messageBlock {
  margin-bottom: 15px;
  display: block;

  .messageRow {
    margin-bottom: 5px;
    position: relative;

    &:hover {
      .toolBox {
        display: flex;
      }
    }
  }

  .toolBox {
    display: none;
    position: absolute;
    align-items: flex-start;
    justify-content: flex-end;
    right: 0;
    left: 0;
    top: -30px;

    > div {
      display: flex;
      justify-content: flex-end;
      transform: translateY(-4px);

      :global(button.ui.basic.button) {
        background-color: #fff !important;
      }
    }
  }
}

.phoneBlock {
  margin-bottom: 15px;

  .label {
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 12px;
  }
}
