.item-form {
  font-family: $font-primary;
}

.sheet-header {
  flex: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 10px;

  .profile-img {
    flex: 0 0 100px;
    height: 100px;
    margin-right: 10px;
  }

  .header-fields {
    flex: 1;
  }

  h1.charname {
    height: 50px;
    padding: 0px;
    margin: 5px 0;
    border-bottom: 0;
    input {
      width: 100%;
      height: 100%;
      margin: 0;
    }
  }
}

.sheet-tabs {
  flex: 0;
}

.sheet-body,
.sheet-body .tab,
.sheet-body .tab .editor {
  height: 100%;
}

.tox {
  .tox-editor-container {
    background: $c-white;
  }

  .tox-edit-area {
    padding: 0 8px;
  }
}

// Styles pour la liste des prérequis
.prerequisites-list {
  list-style: none;
  padding: 0;
  margin: 0;
  
  .prerequisite {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    
    input {
      flex: 1;
      margin-right: 5px;
    }
    
    .delete-prerequisite {
      flex: 0 0 20px;
      text-align: center;
      color: $c-red;
      
      &:hover {
        color: darken($c-red, 10%);
      }
    }
  }
}

.add-prerequisite {
  margin-left: 10px;
  color: $c-green;
  
  &:hover {
    color: darken($c-green, 10%);
  }
}