.entries-list {
  width: 18rem;
  height: 100%;
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-image: url("../../../assets/images/texture-10.jpg");
  border-right: var(--gold-3);
  box-shadow: var(--shadow);
  padding-top: 2rem;

  .entry {
    width: 15rem;
    margin-left: 1rem;
    padding: 1rem;
    border: var(--gold-2);
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    background-image: url("../../../assets/images/texture-0.jpg");
    &:hover {
      background-image: url("../../../assets/images/texture-5.jpg");
    }

    &.active {
      background-image: url("../../../assets/images/texture-30.jpg") !important;
    }
    .entry-title {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-weight: 500;
    }

    .entry-date {
    }

    .unsaved {
      margin-top: 0.375rem;
      text-align: center;
      color: rgb(52, 33, 33);
      font-size: 0.75rem;
      font-weight: 600;
    }
  }

  .control-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .entry-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    .control-button-wrapper {
      display: none;
    }

    &.active:not(.edit-mode) {
      .entry {
        width: 13rem;
        background-image: url("../../../assets/images/texture-30.jpg") !important;
      }
      .control-button-wrapper {
        display: flex;
      }
    }
    &.active {
      .entry {
        background-image: url("../../../assets/images/texture-30.jpg") !important;
      }
    }
  }

  .add-button {
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.entry-container {
  width: 800px;
  margin-left: calc(50vw - 400px + 9rem);
  margin-top: 3rem;

  // WRITE VIEW
  .title-write {
    border: var(--gold-2);
    border-radius: 6px;
    box-shadow: var(--shadow);
    ::ng-deep .mat-mdc-text-field-wrapper {
      width: 26rem !important;
      background-image: url("../../../assets/images/texture-0.jpg") !important;
    }
  }
  .date-write {
    border: var(--gold-2);
    margin-left: 13.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow);
    ::ng-deep .mat-mdc-text-field-wrapper {
      width: 10rem !important;
      background-image: url("../../../assets/images/texture-0.jpg") !important;
    }
  }

  ::ng-deep .mat-calendar-body-selected {
    background-color: var(--primary) !important;
  }

  .NgxEditor__Wrapper {
    margin-top: 1.5rem;
    border: var(--gold-3) !important;
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  ::ng-deep .NgxEditor__MenuBar {
    background-image: url("../../../assets/images/texture-10.jpg");
  }
  ::ng-deep .ProseMirror {
    height: calc(100vh - 17rem);
    background-image: url("../../../assets/images/texture-0.jpg");
    border-radius: 0 0 4px 4px;
  }

  // READ VIEW

  .read-container {
    margin-top: 1.5rem;
    height: calc(100vh - 6rem);
    padding: 1rem 2rem 2rem;
    overflow: auto;
    border-radius: 6px;
    border: var(--gold-3);
    background-image: url("/assets/images/texture-0.jpg");
    box-shadow: var(--shadow);
  }

  .title-row {
    display: flex;
    justify-content: space-between;
  }

  .title-read {
    display: inline-block;
    width: 26rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 500;
  }

  .date-read {
    display: inline-block;
    text-align: center;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    height: 3.75rem;
  }

  .content-read {
    margin-top: 1rem;
  }

  .button-row {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
  }
}
