@import '../variables';
@import '../theme-colors';

.email-template-wrapper {
  height: calc(100% - #{$default-padding-margin});

  .email-sidebar {
    border-radius: $default-radius;
    padding: $default-padding-margin;
    box-shadow: var(--default-box-shadow);
    background-color: var(--default-card-bg);
    height: calc(100% - #{$default-padding-margin});

    .btn-compose {
      width: 100%;
      color: $white;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1.2rem;
      background-color: $brand-color;

      &:hover {
        background-color: darken($brand-color, 3%);
      }
    }

    .inbox-navigation {
      margin: 0;
      padding: 0;
      list-style-type: none;

      li {
        a {
          display: flex;
          align-items: center;
          padding: 0.5rem 0;
          color: $secondary-color;

          &:hover {
            color: $brand-color;
          }
        }
      }
    }
  }

  .email-body {
    border-radius: $default-radius;
    box-shadow: var(--default-box-shadow);
    background-color: var(--default-card-bg);
    height: calc(100% - #{$default-padding-margin});

    .all-mails {
      border-radius: $default-radius;
      padding: $default-padding-margin;
      background-color: rgba($brand-color, 0.05);

      .nav-link {
        &.active {
          box-shadow: var(--default-box-shadow);
          background-color: var(--white-base-color);
        }
      }
    }

    .mail-details {
      padding: $default-padding-margin;
    }

    .email-compose-wrapper {
      padding: $default-padding-margin;

      .note-editor {
        .note-editing-area {
          min-height: 300px;
        }
      }
    }
  }
}