@import "../variables";
@import "../utilities";

.system-vermine2047 .vermine2047.actor.group {
  .char-header {
    .background-image(url("@{ui-path}/barre_haut.webp"), no-repeat, 100% 100%, right top);
    max-height: 110px;
  }

  .char-details {
    h1.char-name input,
    .char-vermine2047 a.chooseTotem {
      font-family: "DistressBlack", sans-serif;
      text-transform: uppercase;
    }
  }

  h4 {
    font-family: "DistressBlack", sans-serif;
    text-transform: uppercase;
    font-size: @font-size-14;
    background: 50% 0% / cover no-repeat url("@{ui-path}/scotch.webp");
  }

  .reserve-control,
  .morale-control {
    .card-style();

    label {
      font-weight: bold;
      margin-right: 8px;
      min-width: 80px;
    }

    input, select {
      margin-right: 8px;
      min-width: 50px;
      text-align: center;
    }
  }

  .actor-list {
    list-style: none;
    padding: 0;
    margin: 0;

    li.actor {
      padding: 5px;
      border-bottom: 1px solid @color-border-dark-3;

      &:last-child { border-bottom: none; }

      &:hover {
        box-shadow: 0 0 10px @theme-color-highlight inset;
      }
    }

    .actor-name, .item-name {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .objective-item {
    padding: 5px;
    border-bottom: 1px solid @color-border-dark-4;

    input {
      flex: 1;
      width: 100%;
    }
  }

  .totem-display {
    .card-style();

    span { font-weight: bold; }
  }

  .identity-field {
    margin-bottom: 8px;

    label {
      font-weight: bold;
      display: block;
      margin-bottom: 3px;
    }

    input { width: 100%; }
  }

  .level input,
  .reputation input {
    width: 60px;
    text-align: center;
  }
}
