// ============================================================
// Actor sheet AppV2 styles (.fvtt-ecryme.sheet.actor)
// ============================================================

.fvtt-ecryme.sheet.actor {
  // Header: compact with profile image
  .sheet-header {
    flex: 0 0 auto;
    min-height: 90px;
    padding: 4px 6px;
    align-items: flex-start;
    gap: 8px;

    .profile-img {
      flex: 0 0 80px;
      width: 80px;
      height: 80px;
      object-fit: cover;
      object-position: 50% 0;
      border: 1px solid #7a7971;
      cursor: pointer;
      margin: 0;
    }

    .header-fields {
      flex: 1;

      h1.charname {
        height: auto;
        margin: 0 0 4px;
        border-bottom: 0;

        input {
          font-family: @font-primary;
          font-size: 2rem;
          width: 100%;
          height: auto;
          margin: 0;
        }
      }
    }

    .actor-header-traits {
      margin-top: 2px;
      font-size: 0.8rem;
    }
  }

  // Tab bar
  nav.sheet-tabs {
    font-family: @font-primary;
    font-size: 1.4rem;

    a.active {
      text-decoration: underline;
    }
  }

  // Sheet body
  .sheet-body {
    overflow-y: auto;

    &.active {
      display: block;
    }

    &:not(.active) {
      display: none;
    }
  }
}
