/**
 * @license
 * Copyright Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use './core' as *;
@use '../avatar';
@use '../toolbar';
@use '../core/styles/theme';

//
// Host
//

:host {
  @include host;
}

:host([hidden]) {
  display: none;
}

//
// Base
//

.forge-profile-card {
  @include tokens;
}

.forge-profile-card {
  @include base;

  .info-container {
    @include info-container;
  }

  .avatar {
    @include avatar;

    @include avatar.provide-theme((
      size: #{token(avatar-size)}
    ));
  }

  .text {
    @include text;
  }

  .full-name {
    @include full-name;
  }

  .email {
    @include email;
  }
}

#action-toolbar {
  @include toolbar.provide-theme((
    padding: 8px
  ));

  forge-button:not(:last-of-type) {
    margin-inline-end: 8px;
  }
}
