/* ==================== (A) Fonts ==================== */
@font-face {
  font-family: "Pfeffer";
  src: url("../assets/fonts/pfeffer-simpelgotisch.regular2.otf") format("opentype");
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Medium.woff") format("woff");
  font-weight: normal;
}
:root {
  /* =================== 1. ACTOR SHEET FONT STYLES =========== */
  --window-header-font-family: Montserrat;
  --window-header-title-font-size: 0.95rem;
  --window-header-title-font-weight: normal;
  --window-header-title-color: #f5f5f5;
  --major-button-font-family: Montserrat;
  --major-button-font-size: 0.95rem;
  --major-button-font-weight: normal;
  --major-button-color: #dadada;
  --tab-header-font-family: Montserrat;
  --tab-header-font-size: 1rem;
  --tab-header-font-weight: 700;
  --tab-header-color: #403f3e;
  --tab-header-color-active: #4a0404;
  --actor-input-font-size: 0.9rem;
  --actor-input-font-weight: 500;
  --actor-input-color: black;
  --actor-label-font-size: 0.9rem;
  --actor-label-font-weight: 700;
  --actor-label-color: #464331c4;
  /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
  --debug-background-color-red: #ff000054;
  --debug-background-color-blue: #1d00ff54;
  --debug-background-color-green: #54ff0054;
  --debug-box-shadow-red: inset 0 0 2px red;
  --debug-box-shadow-blue: inset 0 0 2px blue;
  --debug-box-shadow-green: inset 0 0 2px green;
}
* {
  scrollbar-color: initial;
}
::-webkit-scrollbar-thumb {
  border-color: #ff6400;
}
@-moz-document url-prefix() {
  * {
    scrollbar-color: #782e22 transparent;
    scrollbar-width: thin;
  }
}
.window-app button,
.window-app select,
.window-app input {
  font-family: "Montserrat";
  text-align: center;
}
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
/* Global styles & Font */
.window-app {
  font-family: Montserrat;
  text-align: justify;
  font-size: 12px;
  letter-spacing: 1px;
  background-image: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
}
/* Fonts */
.window-app .window-header,
#actors .directory-list,
#navigation #scene-list .scene.nav-item {
  font-family: "Montserrat";
  font-size: 0.8rem;
}
/* For title, sidebar character and scene */
.sheet header.sheet-header h1 input {
  font-family: "Pfeffer";
  font-size: 0.8rem;
  color: lightgray;
}
.journal-sidebar .headings .heading.h3,
.journal-sidebar .headings .heading.h4,
.journal-sidebar .headings .heading.h2 {
  color: #e6dede;
}
.sheet nav.sheet-tabs {
  font-family: "Pfeffer";
  font-size: 0.8rem;
  color: #151c1f;
}
/* For nav and title */
.window-app input,
.fvtt-hawkmoon-cyd .item-form,
.sheet header.sheet-header .flex-group-center.flex-compteurs,
.sheet header.sheet-header .flex-group-center.flex-fatigue,
select,
button,
.item-checkbox,
#sidebar,
#players,
#navigation #nav-toggle {
  font-size: 0.8rem;
}
.fvtt-hawkmoon-cyd .sheet-header select option {
  background-color: #ffffff;
  color: #000000;
  padding: 2px 4px;
}
.fvtt-hawkmoon-cyd .sheet-header input[type="text"],
.fvtt-hawkmoon-cyd .sheet-header input[type="number"] {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat";
  font-size: 0.85rem;
  padding: 3px 6px;
  border: 1px solid #999999;
}
.fvtt-hawkmoon-cyd .sheet-header select {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat";
  font-size: 0.85rem;
  padding: 3px 6px;
  border: 1px solid #999999;
}
.window-header {
  background: rgba(0, 0, 0, 0.75);
}
.window-app.sheet .window-content {
  margin: 0;
  padding: 0;
  background-image: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
}
.strong-text {
  font-weight: bold;
}
.tabs .item.active,
.blessures-list li ul li:first-child:hover,
a:hover {
  text-shadow: 1px 0px 0px #ff6600;
}
.rollable:hover,
.rollable:focus {
  color: #000;
  text-shadow: 0 0 10px red;
  cursor: pointer;
}
input:disabled {
  color: #1c2058;
}
select:disabled {
  color: #1c2058;
}
/* AppV2 Item Sheets - Disabled inputs readability */
.fvtt-hawkmoon-cyd.item input:disabled,
.fvtt-hawkmoon-cyd.item select:disabled {
  color: #000000;
  opacity: 0.8;
  background-color: rgba(255, 255, 255, 0.5);
}
.fvtt-hawkmoon-cyd.item .automation-edit-field:disabled {
  color: #000000;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #999999;
}
table {
  border: 1px solid #7a7971;
}
.grid,
.grid-2col {
  display: grid;
  grid-column: span 2 / span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
  padding: 0;
}
.grid-3col {
  grid-column: span 3 / span 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4col {
  grid-column: span 4 / span 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-5col {
  grid-column: span 5 / span 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-6col {
  grid-column: span 5 / span 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-7col {
  grid-column: span 7 / span 7;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.grid-8col {
  grid-column: span 8 / span 8;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.grid-9col {
  grid-column: span 9 / span 9;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}
.grid-10col {
  grid-column: span 10 / span 10;
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.grid-11col {
  grid-column: span 11 / span 11;
  grid-template-columns: repeat(11, minmax(0, 1fr));
}
.grid-12col {
  grid-column: span 12 / span 12;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.flex-group-center,
.flex-group-left,
.flex-group-right {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  padding: 5px;
}
.flex-group-left {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  text-align: left;
}
.flex-group-right {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  text-align: right;
}
.flex-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}
.table-create-actor {
  font-size: 0.8rem;
}
.flex-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.flex-shrink {
  flex: "flex-shrink";
}
/* Styles limited to foundryvtt-vadentis sheets */
.fvtt-hawkmoon-cyd .sheet-header {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 210px;
  flex: 0 0 210px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-bottom: 10px;
  background-image: url("../assets/ui/hawkmoon_background_01.png");
}
.fvtt-hawkmoon-cyd .sheet-header .item-name-label.competence-name,
.fvtt-hawkmoon-cyd .sheet-header h4.item-name-label.competence-name,
.fvtt-hawkmoon-cyd .sheet-header label.item-name-label.competence-name {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.7) !important;
  font-weight: bold !important;
  font-size: 0.65rem !important;
  background: none !important;
}
.fvtt-hawkmoon-cyd .sheet-header input[type="text"],
.fvtt-hawkmoon-cyd .sheet-header input[type="number"],
.fvtt-hawkmoon-cyd .sheet-header select {
  padding: 2px 4px !important;
  height: auto !important;
  line-height: 1.2 !important;
}
.sheet.journal-entry .journal-sidebar {
  color: #000;
}
.background-sheet-header {
  background-image: url("../assets/ui/hawkmoon_background_01.png");
  background-blend-mode: soft-light;
  color: lightgray;
  width: 100%;
}
.fvtt-hawkmoon-cyd .sheet-header .profile-img {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 128px;
  flex: 0 0 128px;
  height: 128px;
  width: 128px;
  margin-right: 10px;
  object-fit: cover;
  object-position: 50% 0;
}
.fvtt-hawkmoon-cyd .sheet-mode-toggle {
  background: transparent;
  border: none;
  color: #fff;
  padding: 2px 6px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  margin-left: 8px;
  height: auto;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.fvtt-hawkmoon-cyd .sheet-mode-toggle:hover {
  color: #ffd700;
  text-shadow: 1px 1px 3px #000000;
  transform: scale(1.15);
}
.fvtt-hawkmoon-cyd .sheet-mode-toggle i {
  pointer-events: none;
}
.button-img {
  vertical-align: baseline;
  width: 8%;
  height: 8%;
  max-height: 48px;
  border-width: 0;
  border: 1px solid rgba(0, 0, 0, 0);
}
.button-img:hover {
  color: rgba(255, 255, 128, 0.7);
  border: 1px solid rgba(255, 128, 0, 0.8);
  cursor: pointer;
}
.button-effect-img {
  vertical-align: baseline;
  width: 16px;
  max-height: 16px;
  height: 16;
  border-width: 0;
}
.small-button-container {
  height: 16px;
  width: 16px;
  border: 0;
  vertical-align: bottom;
}
.fvtt-hawkmoon-cyd .sheet-header .header-fields {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.fvtt-hawkmoon-cyd .sheet-header h1.charname {
  height: 50px;
  padding: 0px;
  margin: 5px 0;
  border-bottom: 0;
  font-weight: bold;
  font-size: 2rem;
  font-family: "Pfeffer";
  color: lightgray;
  text-align: left;
}
.fvtt-hawkmoon-cyd .sheet-header h1.charname input {
  width: 100%;
  height: 100%;
  margin: 0;
  font-weight: bold;
  font-family: "Pfeffer";
  font-size: 2rem;
  color: lightgray;
  text-align: left;
  background-color: transparent;
  border: none;
}
.fvtt-hawkmoon-cyd .sheet-tabs {
  -webkit-box-flex: 0;
  -ms-flex: 0;
  flex: 0;
}
.fvtt-hawkmoon-cyd .sheet-body,
.fvtt-hawkmoon-cyd .sheet-body .tab,
.fvtt-hawkmoon-cyd .sheet-body .tab .editor {
  height: 100%;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.9);
}
.fvtt-hawkmoon-cyd .sheet-body input,
.fvtt-hawkmoon-cyd .sheet-body select {
  color: rgba(0, 0, 0, 0.9);
}
.application.sheet .editor,
.window-app.sheet .editor {
  border: 2;
  height: 300px;
  margin-top: 8px;
  padding: 0 3px;
}
.application.sheet .medium-editor,
.window-app.sheet .medium-editor {
  border: 2;
  height: 240px;
  padding: 0 3px;
}
.application.sheet .small-editor,
.window-app.sheet .small-editor {
  border: 2;
  height: 120px;
  padding: 0 3px;
}
.fvtt-hawkmoon-cyd .tox .tox-editor-container {
  background: #fff;
}
.fvtt-hawkmoon-cyd .tox .tox-edit-area {
  padding: 0 8px;
}
.fvtt-hawkmoon-cyd .resource-label {
  font-weight: bold;
  text-transform: uppercase;
}
.fvtt-hawkmoon-cyd .tabs {
  height: 40px;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  color: #000000;
}
.fvtt-hawkmoon-cyd .tabs .item {
  /*line-height: 40px;*/
  font-weight: bold;
}
.fvtt-hawkmoon-cyd .tabs .item.active {
  text-decoration: underline;
  text-shadow: none;
}
.fvtt-hawkmoon-cyd .items-list {
  list-style: none;
  margin: 1px 0;
  padding: 0;
  overflow-y: auto;
}
.fvtt-hawkmoon-cyd .items-list .item-header {
  font-weight: bold;
}
.fvtt-hawkmoon-cyd .items-list .item {
  height: 30px;
  line-height: 24px;
  padding: 1px 0;
  border-bottom: 1px solid #bbb;
}
.fvtt-hawkmoon-cyd .items-list .item .item-image {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 24px;
  flex: 0 0 24px;
  margin-right: 5px;
}
.fvtt-hawkmoon-cyd .items-list .item img {
  display: block;
}
.fvtt-hawkmoon-cyd .items-list .item-name {
  margin: 0;
}
.fvtt-hawkmoon-cyd .items-list .item-controls {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 86px;
  flex: 0 0 86px;
  text-align: right;
}
/* ======================================== */
/* Sheet  */
.window-app.sheet .window-content .sheet-header {
  /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
}
.window-app.sheet .window-content .sheet-header input[type="text"],
.window-app.sheet .window-content .sheet-header input[type="number"],
.window-app.sheet .window-content .sheet-header input[type="password"],
.window-app.sheet .window-content .sheet-header input[type="date"],
.window-app.sheet .window-content .sheet-header input[type="time"] {
  /*color: rgba(36, 37, 37, 0.75);*/
  /*background: rgba(255, 255, 255, 0.05);*/
  /*border: 2px saddlebrown;*/
  /*color: lightgray;*/
  border-width: 1px;
  margin-bottom: 0.25rem;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat";
  font-size: 0.85rem;
  padding: 3px 6px;
  border: 1px solid #999999;
}
.window-app .window-content,
.window-app.sheet .window-content .sheet-body {
  font-size: 0.8rem;
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat-y;
  color: black;
}
/*section.sheet-body{
  padding: 0.25rem   0.5rem;}*/
.sheet header.sheet-header .profile-img {
  object-fit: cover;
  object-position: 50% 0;
  margin: 0.5rem 0 0.5rem 0.5rem;
  padding: 0;
  border: 0px;
}
.sheet nav.sheet-tabs {
  font-size: 0.7rem;
  font-weight: bold;
  height: 2.5rem;
  flex: 0 0 3rem;
  margin: 0;
  padding: 0 0 0 0.25rem;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.5rem;
  border-top: 0 none;
  border-bottom: 0 none;
  /*background-color:#2e5561;*/
  color: #151c1f;
  /*background-image: url("../assets/ui/hawkmoon_background_02.png");*/
}
/*  background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/
nav.sheet-tabs .item {
  position: relative;
  padding: 0 0.25rem;
}
nav.sheet-tabs .item:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 2rem;
  width: 1px;
  /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/
}
.sheet .tab[data-tab] {
  padding: 0;
}
section.sheet-body:after {
  content: "";
  display: block;
  clear: both;
}
.sheet header.sheet-header .flex-compteurs {
  text-align: right;
}
.sheet header.sheet-header .resource-content {
  width: 2rem;
}
.select-diff {
  display: inline-block;
  text-align: left;
  width: 50px;
}
.window-app.sheet .window-content .tooltip:hover .tooltiptext {
  top: 2rem;
  left: 2rem;
  margin: 0;
  padding: 0.25rem;
}
.window-app.sheet .window-content .carac-value,
.window-app.sheet .window-content .competence-xp {
  margin: 0.05rem;
  flex-basis: 3rem;
  text-align: center;
}
/* ======================================== */
/* Global UI elements  */
/* ======================================== */
h1,
h2,
h3,
h4 {
  font-weight: bold;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style-type: none;
}
.sheet li {
  margin: 0.01rem;
  padding: 0.25rem;
}
.header-fields li {
  margin: 0;
  padding: 0;
}
.alterne-list > .list-item:hover {
  background: rgba(100, 100, 50, 0.25);
}
.alterne-list > .list-item:nth-child(even) {
  background: rgba(80, 60, 0, 0.1);
}
.alterne-list > .list-item:nth-child(odd) {
  background: #a08264;
}
.specialisation-label {
  font-size: 0.8rem;
}
.carac-label,
.attr-label {
  font-weight: bold;
}
.list-item {
  margin: 0.125rem;
  box-shadow: inset 0px 0px 1px #00000096;
  border-radius: 0.25rem;
  padding: 0.125rem;
  flex: 1 1 5rem;
}
.item-display-show {
  display: block;
}
.item-display-hide {
  display: none;
}
.conteneur-type {
  background: #c80a64;
}
.item-quantite {
  margin-left: 0.5rem;
}
.list-item-margin1 {
  margin-left: 1rem;
}
.list-item-margin2 {
  margin-left: 2rem;
}
.list-item-margin3 {
  margin-left: 3rem;
}
.list-item-margin4 {
  margin-left: 4rem;
}
.sheet-competence-img {
  width: 24px;
  height: 24px;
  flex-grow: 0;
  margin-right: 0.25rem;
}
.competence-column {
  flex-direction: column;
  align-content: flex-start;
  justify-content: flex-start;
  flex-grow: 0;
  flex-basis: 1;
}
.competence-header {
  align-content: flex-start;
  justify-content: flex-start;
  font-weight: bold;
  flex-grow: 0;
}
.secondaire-label,
.arme-label,
.generic-label,
.competence-label,
.devotion-label,
.sort-label,
.technique-label,
.stat-label,
.arme-label,
.armure-label,
.equipement-label,
.description-label {
  flex-grow: 2;
  margin-left: 4px;
}
.roll-dialog-label {
  margin: 4px 0;
  padding-top: 7px;
}
.short-label {
  flex-grow: 1;
}
.keyword-label {
  font-size: 0.85rem;
}
.item-sheet-label {
  flex-grow: 1;
}
.item-text-long-line {
  flex-grow: 3;
}
.score-label {
  flex-grow: 2;
  align-content: center;
}
.attribut-value,
.carac-value {
  flex-grow: 0;
  flex-basis: 64px;
  margin-right: 4px;
  margin-left: 4px;
}
.sante-value,
.competence-value {
  flex-grow: 0;
  flex-basis: 2rem;
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}
.description-value {
  flex-grow: 0;
  flex-basis: 4rem;
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}
.competence-xp {
  flex-grow: 0;
  flex-basis: 2rem;
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}
.blessures-title {
  font-weight: bold;
}
.alchimie-title {
  font-weight: bold;
}
.blessure-data {
  flex-direction: row;
  align-content: flex-start;
  justify-content: flex-start;
}
.blessures-soins {
  flex-grow: 0;
  flex-basis: 32px;
  margin-right: 4px;
  margin-left: 4px;
}
.blessures-loc {
  flex-grow: 0;
  flex-basis: 96px;
  margin-right: 4px;
  margin-left: 4px;
}
.pointsreve-value {
  flex-grow: 0;
  flex-basis: 64px;
  margin-right: 4px;
  margin-left: 4px;
}
.input-sante-header,
.stress-style {
  flex-grow: 0;
  flex-basis: 64px;
  margin-right: 4px;
  margin-left: 4px;
}
.small-label {
  margin-top: 5px;
}
.padd-right {
  margin-right: 8px;
}
.padd-left {
  margin-left: 8px;
}
.stack-left {
  align-items: center;
  flex-shrink: 1;
  flex-grow: 0;
}
.npc-stat-label {
  flex-grow: 2;
}
.packed-left {
  white-space: nowrap;
  flex-grow: 0;
}
.numeric-input {
  text-align: right;
  direction: rtl;
  padding: 5px;
}
.input-numeric-short {
  width: 40px;
  max-width: 40px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 40px;
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}
.stats-table {
  align-content: flex-start;
}
/* ======================================== */
.tokenhudext {
  display: flex;
  flex: 0 !important;
  font-weight: 600;
}
.tokenhudext.left {
  justify-content: flex-start;
  flex-direction: column;
  position: absolute;
  top: 2.75rem;
  right: 4rem;
}
.tokenhudext.right {
  justify-content: flex-start;
  flex-direction: column;
  position: absolute;
  top: 2.75rem;
  left: 4rem;
}
.control-icon.tokenhudicon {
  width: fit-content;
  height: fit-content;
  min-width: 6rem;
  min-height: 1.2rem;
  flex-basis: auto;
  padding: 0;
  line-height: 1rem;
  margin: 0.25rem;
}
.control-icon.tokenhudicon.right {
  margin-left: 8px;
}
#token-hud .status-effects.active {
  z-index: 2;
}
/* ======================================== */
.item-checkbox {
  height: 25px;
  border: 1px solid #736953a6;
  border-left: none;
  font-weight: 500;
  font-size: 1rem;
  color: black;
  padding-top: 5px;
  margin-right: 0px;
  width: 45px;
  position: relative;
  left: 0px;
  text-align: center;
}
.flex-actions-bar {
  flex-grow: 2;
}
/* ======================================== */
/* Sidebar CSS */
#sidebar {
  font-size: 1rem;
  background-position: 100%;
}
/*  background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/
#sidebar.collapsed {
  height: 470px !important;
}
#sidebar-tabs > .collapsed,
#chat-controls .chat-control-icon {
  color: rgba(220, 220, 220, 0.75);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);
}
.sidebar-tab .directory-list .entity {
  border-top: 1px dashed rgba(0, 0, 0, 0.25);
  border-bottom: 0 none;
  padding: 0.25rem 0;
}
.sidebar-tab .directory-list .entity:hover {
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
.chat-message-header {
  background: rgba(220, 220, 210, 0.5);
  font-size: 1.1rem;
  height: 48px;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
}
.chat-message .message-header .flavor-text,
.chat-message .message-header .whisper-to {
  font-size: 0.9rem;
}
.chat-message .message-content {
  font-size: 0.9rem;
  font-family: CentaurMT;
  color: #2c2c2c;
}
.chat-actor-name {
  padding: 4px;
}
.chat-img {
  width: 64px;
  height: 64px;
}
.roll-dialog-header {
  height: 52px;
}
.adversite-text {
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
}
.icon-adversite-container {
  position: relative;
  text-align: center;
  color: white;
  width: 64px;
  min-height: 48px;
}
.icon-adversite {
  width: 100%;
  height: 100%;
  border: 0px;
  object-fit: contain;
}
.hud-adversite-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  cursor: pointer;
}
.hud-adversite-container:hover {
  opacity: 0.8;
}
.hud-adversite-text {
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, -2px 0 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000;
  pointer-events: none;
  line-height: 1;
}
.actor-icon {
  float: left;
  width: 48px;
  height: 48px;
  padding: 2px 6px 2px 2px;
}
.padding-dice {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}
.dice-image {
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  max-width: 100%;
}
.dice-image-reroll {
  background-color: rgba(115, 224, 115, 0.25);
  border-color: #011d33;
  box-sizing: border-box;
  border: 1px;
  border-radius: 0%;
  max-width: 100%;
}
.chat-dice {
  width: 15%;
  height: 15%;
  font-size: 15px;
  padding: 10px;
  /*padding-bottom: 20px;*/
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}
.div-center {
  align-self: center;
}
.chat-message {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
  font-size: 0.9rem;
  font-family: CentaurMT, serif;
  color: #2c2c2c;
  border: 1px solid #d4af37;
}
.chat-message.whisper {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
  border: 2px solid #545469;
}
.chat-message .chat-icon {
  border: 0;
  padding: 2px 6px 2px 2px;
  float: left;
  width: 64px;
  height: 64px;
}
#sidebar-tabs {
  flex: 0 0 32px;
  box-sizing: border-box;
  margin: 0 0 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5);
}
#sidebar-tabs > .item.active {
  border: 1px solid #726248;
  background: rgba(30, 25, 20, 0.75);
  box-shadow: 0 0 6px inset #726248;
}
#sidebar #sidebar-tabs i {
  display: inline-block;
  background-position: center;
  background-size: cover;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);
}
/*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.fa-cogs:before {content: "";}
#sidebar #sidebar-tabs i.fa-comments {background: url("img/ui/icon_sidebar_chat.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-fist-raised {background: url("img/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-users {background: url("img/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-map {background: url("img/ui/icon_sidebar_scene.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-suitcase {background: url("img/ui/icon_sidebar_item.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-book-open {background: url("img/ui/icon_sidebar_journal.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-th-list {background: url("img/ui/icon_sidebar_rolltable.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-music {background: url("img/ui/icon_sidebar_music.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-atlas {background: url("img/ui/icon_sidebar_compendium.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-cogs {background: url("img/ui/icon_sidebar_settings.svg") no-repeat;}

#combat #combat-controls {
  box-shadow: inset 0 0 2rem rgba(0,0,0,0.5);
}
*/
/*--------------------------------------------------------------------------*/
/* Control, Tool, hotbar & navigation */
#controls .scene-control,
#controls .control-tool {
  box-shadow: 0 0 3px #000;
  margin: 0 0 8px;
  border-radius: 0;
  background: #1e1914;
  background-origin: padding-box;
  border-image: url(img/ui/footer-button.png) 10 repeat;
  border-image-width: 4px;
  border-image-outset: 0px;
}
#controls .scene-control.active,
#controls .control-tool.active,
#controls .scene-control:hover,
#controls .control-tool:hover {
  background: #482e1c;
  background-origin: padding-box;
  border-image: url(img/ui/footer-button.png) 10 repeat;
  border-image-width: 4px;
  border-image-outset: 0px;
  box-shadow: 0 0 3px #ff6400;
}
#hotbar #action-bar #macro-list {
  border: 1px solid #482e1c;
  box-shadow: 2px 2px 5px #000000;
}
#hotbar #action-bar .macro {
  border-image: url(img/ui/bg_control.jpg) 21 repeat;
  border-image-slice: 6 6 6 6 fill;
  border-image-width: 6px 6px 6px 6px;
  border-image-outset: 0px 0px 0px 0px;
  border-radius: 0px;
}
#hotbar .bar-controls {
  background: #1e1914;
  border: 1px solid #482e1c;
}
#players {
  border-image: url(img/ui/footer-button.png) 10 repeat;
  border-image-width: 4px;
  border-image-outset: 0px;
  background: #1e1914;
}
#navigation #scene-list .scene.nav-item.active {
  background: #482e1c;
}
#navigation #scene-list .scene.nav-item {
  background: #1e1914;
  background-origin: padding-box;
  border-image: url(img/ui/footer-button.png) 10 repeat;
  border-image-width: 4px;
  border-image-outset: 0px;
}
#navigation #scene-list .scene.view,
#navigation #scene-list .scene.context {
  background: #482e1c;
  background-origin: padding-box;
  border-image: url(img/ui/footer-button.png) 10 repeat;
  border-image-width: 4px;
  border-image-outset: 0px;
  box-shadow: 0 0 3px #ff6400;
}
#navigation #nav-toggle {
  background: #1e1914;
  background-origin: padding-box;
  border-image: url(img/ui/footer-button.png) 10 repeat;
  border-image-width: 4px;
  border-image-outset: 0px;
}
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
  text-align: left;
  background: rgba(231, 229, 226, 0.9);
  width: 150px;
  padding: 3px 0;
  font-size: 0.9rem;
  /* Position the tooltip text */
  top: 1px;
  position: absolute;
  z-index: 1;
  /* Fade in tooltip */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip .ttt-fatigue {
  width: 360px;
  background: rgba(30, 25, 20, 0.9);
  border-image: url(img/ui/bg_control.jpg) 21 repeat;
  border-image-slice: 6 6 6 6 fill;
  border-image-width: 6px 6px 6px 6px;
  border-image-outset: 0px 0px 0px 0px;
  border-radius: 0px;
  font-size: 0.8rem;
  padding: 3px 0;
}
.tooltip .ttt-ajustements {
  width: 150px;
  background: rgba(220, 220, 210, 0.95);
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 3px 0;
}
.tooltip-nobottom {
  border-bottom: unset;
  /* If you want dots under the hoverable text */
}
.tooltip .ttt-xp {
  width: 250px;
  background: rgba(220, 220, 210, 0.95);
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 3px 0;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.chat-card-button {
  box-shadow: inset 0px 1px 0px 0px #a6827e;
  background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%);
  background-color: #7d5d3b00;
  border-radius: 3px;
  border: 2px ridge #846109;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 4px 4px 0px 4px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #4d3534;
  position: relative;
  /*margin:2px;*/
}
.chat-card-button:hover {
  background: linear-gradient(to bottom, #800000 5%, #3e0101 100%);
  background-color: #382121;
}
.chat-card-button:active {
  position: relative;
  top: 1px;
}
.chat-card-button.roll-initiative {
  min-width: 224px;
  white-space: nowrap;
}
.button-sheet-roll {
  box-shadow: inset 0px 1px 0px 0px #a6827e;
  background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%);
  background-color: #7d5d3b00;
  border-radius: 4px;
  border: 1px ridge #846109;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 1px 1px 0px 1px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #4d3534;
  position: relative;
  max-height: 1.7rem;
  flex-grow: 1;
  max-width: 3.5rem;
  min-width: 3.5rem;
}
.button-competence {
  margin-left: 4px;
}
.button-sheet-roll:hover {
  background: linear-gradient(to bottom, #800000 5%, #3e0101 100%);
  background-color: #382121;
}
.button-sheet-roll:active {
  position: relative;
  top: 1px;
}
.defense-sheet {
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  font-size: 0.8rem;
  padding: 1px 1px 0px 1px;
  text-decoration: none;
  position: relative;
  max-height: 1.7rem;
  margin-left: 4px;
  flex-grow: 1;
  max-width: 3.5rem;
  min-width: 3.5rem;
}
.plus-minus-button {
  box-shadow: inset 0px 1px 0px 0px #a6827e;
  background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%);
  background-color: #7d5d3b00;
  border-radius: 4px;
  border: 2px ridge #846109;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  padding: 3px 6px 2px 6px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #4d3534;
  position: relative;
  margin: 3px;
  max-width: 24px;
  max-height: 24px;
}
.river-button:hover,
.plus-minus-button:hover,
.chat-card-button:hover {
  background: linear-gradient(to bottom, #800000 5%, #3e0101 100%);
  background-color: red;
}
.plus-minus-button:active,
.chat-card-button:active {
  position: relative;
  top: 1px;
}
.plus-minus {
  font-size: 0.9rem;
  font-weight: bold;
}
.ul-level1 {
  padding-left: 2rem;
}
.drop-spec2 {
  background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%);
  background-color: #7d5d3b00;
  border-radius: 3px;
  border: 2px ridge #846109;
}
.label-name {
  padding-top: 7px;
  padding-left: 4px;
  margin-left: 4px;
  min-width: 5rem;
  max-width: 5rem;
}
/*************************************************************/
.competence-name {
  padding-top: 7px;
  padding-left: 4px;
  margin-left: 4px;
  flex-grow: 2;
}
/*************************************************************/
.competence-niveau {
  flex-grow: 1;
  min-width: 64px;
  max-width: 64px;
  margin-right: 8px;
}
/*************************************************************/
.arme-defensif {
  padding-top: 7px;
  text-align: center;
  flex-grow: 2;
}
/*************************************************************/
.item-name-img {
  flex-grow: 1;
  max-width: 2rem;
  min-width: 2rem;
  max-height: 2rem;
}
/*************************************************************/
#pause {
  font-size: 2rem;
}
#pause > h3 {
  color: #ccc;
}
#pause > img {
  content: url(../assets/logos/hawkmoon_logo.webp);
  height: 256px;
  width: 256px;
  top: -80px;
  left: calc(50% - 132px);
}
#logo {
  content: url(../assets/logos/hawkmoon_logo.webp);
  width: 120px;
  height: 40px;
}
.dice-cell {
  padding-left: 12px;
  padding-right: 12px;
  width: 60px;
  text-align: center;
}
.dice-formula,
.dice-total {
  height: 54px;
  position: relative;
}
.item-name-label-header {
  flex-grow: 2;
  max-width: 12rem;
  min-width: 12rem;
}
.item-name-label {
  flex-grow: 2;
  max-width: 10rem;
  min-width: 10rem;
}
.item-name-label-level2 {
  flex-grow: 2;
  max-width: 9rem;
  min-width: 9rem;
}
.item-field-label-short {
  padding-top: 6px;
  flex-grow: 1;
  max-width: 4rem;
  min-width: 4rem;
}
.item-field-label-medium {
  padding-top: 6px;
  flex-grow: 1;
  max-width: 7rem;
  min-width: 7rem;
}
.item-field-label-long {
  padding-top: 6px;
  flex-grow: 1;
  max-width: 8rem;
  min-width: 8rem;
}
.item-field-label-long1 {
  padding-top: 6px;
  flex-grow: 1;
  max-width: 12rem;
  min-width: 12rem;
}
.item-field-label-long2 {
  padding-top: 6px;
  flex-grow: 1;
  max-width: 20rem;
  min-width: 20rem;
}
.item-control-end {
  align-self: flex-end;
}
.alternate-list {
  margin-top: 2px;
  flex-wrap: nowrap;
}
.item-filler {
  flex-grow: 6;
  flex-shrink: 7;
}
.item-controls-fixed {
  min-width: 3.2rem;
  max-width: 3.2rem;
}
.item-field {
  justify-content: flex-start;
  flex-grow: 1;
}
.chat-success {
  font-size: 1.2rem;
  font-weight: bold;
  color: darkgreen;
}
.chat-failure {
  font-size: 1.2rem;
  font-weight: bold;
  color: darkred;
}
.adversite-modify {
  margin-top: 12px;
}
.argent-total-text {
  margin-left: 4px;
  font-family: "Montserrat";
  font-size: 0.75rem;
  font-weight: normal;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
}
.compendium h4.entry-name.document-name {
  color: black;
}
.page-title {
  color: #e9e2e2;
}
textarea {
  font-family: "Montserrat";
  font-size: 0.8rem;
}
.fxmaster {
  background: #443e37e0;
  background-color: #443e37e0;
}
.predilection-text {
  padding-left: 8px;
  font-style: italic;
  font-size: 0.6rem;
}
/* AppV2 Item Sheets - Background */
.fvtt-hawkmoon-cyd.item {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
.fvtt-hawkmoon-cyd.item .window-content {
  padding: 0;
  margin: 0;
}
.fvtt-hawkmoon-cyd.item section {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat-y;
  color: black;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.fvtt-hawkmoon-cyd.item .window-content,
.fvtt-hawkmoon-cyd.item section {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat-y;
  color: black;
}
.fvtt-hawkmoon-cyd.item header.sheet-header {
  background-image: url("../assets/ui/hawkmoon_background_01.png");
  background-repeat: repeat;
  flex: 0 0 auto;
}
/* AppV2 Item Sheets - Tab Management */
.fvtt-hawkmoon-cyd.item nav.sheet-tabs,
.fvtt-hawkmoon-cyd.item nav.tabs {
  font-size: 0.7rem;
  font-weight: bold;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  margin: 0;
  padding: 0 0 0 0.25rem;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.5rem;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  background-color: #2e5561;
  color: #151c1f;
}
.fvtt-hawkmoon-cyd.item nav.tabs .item,
.item-sheet nav.tabs .item {
  position: relative;
  padding: 0 0.25rem;
  font-weight: bold;
  opacity: 0.6;
  color: #dadada;
}
.fvtt-hawkmoon-cyd.item nav.tabs .item:after,
.item-sheet nav.tabs .item:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 2rem;
  width: 1px;
}
.fvtt-hawkmoon-cyd.item nav.tabs .item.active,
.item-sheet nav.tabs .item.active {
  opacity: 1;
  font-weight: bold;
  text-decoration: underline;
  text-shadow: none;
  color: #ffffff;
}
.fvtt-hawkmoon-cyd.item .tab[data-tab],
.item-sheet .tab[data-tab] {
  display: none;
  padding: 4px 8px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.fvtt-hawkmoon-cyd.item .tab[data-tab].active,
.item-sheet .tab[data-tab].active {
  display: block;
}
/* Item list optimization */
.fvtt-hawkmoon-cyd.item ul.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fvtt-hawkmoon-cyd.item ul.item-list li.item {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  padding: 2px 4px;
  min-height: 24px;
}
.fvtt-hawkmoon-cyd.item ul.item-list li.flexrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
/* Label alignment and sizing */
.fvtt-hawkmoon-cyd.item .generic-label {
  display: inline-block;
  white-space: nowrap;
  margin: 0;
  padding: 0 4px 0 0;
}
.fvtt-hawkmoon-cyd.item .item-field-label-short {
  flex: 0 0 60px;
  min-width: 60px;
}
.fvtt-hawkmoon-cyd.item .item-field-label-medium {
  flex: 0 0 100px;
  min-width: 100px;
}
.fvtt-hawkmoon-cyd.item .item-field-label-long {
  flex: 1 1 auto;
  min-width: 150px;
}
.fvtt-hawkmoon-cyd.item .item-field-label-long1 {
  flex: 1 1 auto;
  min-width: 200px;
}
/* Input and select alignment */
.fvtt-hawkmoon-cyd.item input[type="text"],
.fvtt-hawkmoon-cyd.item input[type="number"],
.fvtt-hawkmoon-cyd.item select,
.fvtt-hawkmoon-cyd.item textarea {
  margin: 0;
  padding: 2px 4px;
}
.fvtt-hawkmoon-cyd.item input[type="checkbox"] {
  margin: 0 4px;
  align-self: center;
}
/* Headers in item sheets */
.fvtt-hawkmoon-cyd.item h3 {
  font-size: 0.9rem;
  font-weight: bold;
  margin: 4px 0 2px 0;
  padding: 2px 4px;
  text-transform: uppercase;
  color: #333333;
  background-color: rgba(200, 200, 200, 0.3);
  border-left: 3px solid #2e5561;
}
/* AppV2 Item Sheets - Specific fixes */
.fvtt-hawkmoon-cyd.item header.sheet-header img.item-sheet-img,
.item-sheet header.sheet-header img.item-sheet-img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
}
/* AppV2 Item Sheets - Header Layout */
.fvtt-hawkmoon-cyd.item header.sheet-header,
.item-sheet header.sheet-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px;
}
.fvtt-hawkmoon-cyd.item header.sheet-header .header-actions,
.item-sheet header.sheet-header .header-actions {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
}
.fvtt-hawkmoon-cyd.item header.sheet-header .header-actions button,
.item-sheet header.sheet-header .header-actions button {
  padding: 4px 8px;
  font-size: 0.8rem;
  white-space: nowrap;
}
/* AppV2 Actor Sheets - Same styling as items */
.fvtt-hawkmoon-cyd.actor .window-content {
  padding: 0;
  margin: 0;
}
.fvtt-hawkmoon-cyd.actor section {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat-y;
  color: black;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.fvtt-hawkmoon-cyd.actor .window-content,
.fvtt-hawkmoon-cyd.actor section {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat-y;
  color: black;
}
.fvtt-hawkmoon-cyd.actor header.sheet-header {
  background-image: url("../assets/ui/hawkmoon_background_01.png");
  background-repeat: repeat;
  flex: 0 0 auto;
}
.fvtt-hawkmoon-cyd.actor header.sheet-header h4 {
  font-family: "Montserrat";
  font-size: 0.8rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
.fvtt-hawkmoon-cyd.actor header.sheet-header label {
  font-family: "Montserrat";
  font-size: 0.8rem;
  font-weight: normal;
}
.fvtt-hawkmoon-cyd.actor nav.sheet-tabs,
.fvtt-hawkmoon-cyd.actor nav.tabs {
  font-size: 0.7rem;
  font-weight: bold;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  margin: 0;
  padding: 0 0 0 0.25rem;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.5rem;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  background-color: #2e5561;
  color: #151c1f;
}
.fvtt-hawkmoon-cyd.actor nav.sheet-tabs a.item,
.fvtt-hawkmoon-cyd.actor nav.tabs a.item {
  padding: 0.5rem 0.75rem;
  margin: 0;
  color: white;
  text-decoration: none;
}
.fvtt-hawkmoon-cyd.actor nav.sheet-tabs a.item:hover,
.fvtt-hawkmoon-cyd.actor nav.tabs a.item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.fvtt-hawkmoon-cyd.actor nav.sheet-tabs a.item.active,
.fvtt-hawkmoon-cyd.actor nav.tabs a.item.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
}
.fvtt-hawkmoon-cyd.actor .tab {
  display: none;
  padding: 4px 8px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.fvtt-hawkmoon-cyd.actor .tab.active {
  display: block;
  overflow-y: auto;
}
/* Actor sheet - Headers styling (like items) */
.fvtt-hawkmoon-cyd.actor h3,
.fvtt-hawkmoon-cyd.actor h4.item-name-label {
  font-family: "Montserrat";
  font-size: 0.9rem;
  font-weight: bold;
  margin: 4px 0 2px 0;
  padding: 2px 4px;
  text-transform: uppercase;
  color: #333333;
  background-color: rgba(200, 200, 200, 0.3);
  border-left: 3px solid #2e5561;
  width: 100%;
  display: block;
}
/* Actor sheet - Full width boxes for totals */
.fvtt-hawkmoon-cyd.actor .sheet-box {
  width: 100%;
  display: block;
}
/* Actor sheet - Input and select styling (like items) */
.fvtt-hawkmoon-cyd.actor input[type="text"],
.fvtt-hawkmoon-cyd.actor input[type="number"],
.fvtt-hawkmoon-cyd.actor textarea {
  margin: 0;
  padding: 3px 6px;
  font-family: "Montserrat";
  font-size: 0.85rem;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #999999;
}
.fvtt-hawkmoon-cyd.actor select {
  margin: 0;
  padding: 3px 6px;
  font-family: "Montserrat";
  font-size: 0.85rem;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #999999;
}
.fvtt-hawkmoon-cyd.actor select option {
  background-color: #ffffff;
  color: #000000;
  padding: 2px 4px;
}
.fvtt-hawkmoon-cyd.actor input[type="checkbox"] {
  margin: 0 4px;
  align-self: center;
}
.fvtt-hawkmoon-cyd.actor input:disabled,
.fvtt-hawkmoon-cyd.actor select:disabled {
  color: #000000;
  opacity: 0.8;
  background-color: rgba(255, 255, 255, 0.5);
}
/* ==================== Roll Dialog Styles ==================== */
.application.hawkmoon-roll-dialog .window-content {
  padding: 0 0.2rem 0.2rem 0.2rem;
}
.window-app.hawkmoon-roll-dialog .window-content {
  margin: 0;
  padding: 0 0.2rem 0.2rem 0.2rem;
}
.hawkmoon-roll-dialog {
  background-image: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
  /* Dialog footer buttons */
}
.hawkmoon-roll-dialog * {
  color: #2a2a2a;
}
.hawkmoon-roll-dialog .dialog-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background-image: url("../assets/ui/hawkmoon_background_01.png");
  background-blend-mode: soft-light;
  border-bottom: 2px solid #d4af37;
  margin-bottom: 0;
}
.hawkmoon-roll-dialog .dialog-header .actor-icon {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  border: 1px solid #d4af37;
  object-fit: cover;
}
.hawkmoon-roll-dialog .dialog-header .dialog-title {
  flex: 1;
}
.hawkmoon-roll-dialog .dialog-header .dialog-title h3 {
  margin: 0;
  font-size: 1rem;
  color: #f5f5f5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}
.hawkmoon-roll-dialog .dialog-header .dialog-title .competence-name {
  font-size: 0.8rem;
  color: #d4af37;
  margin-top: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.hawkmoon-roll-dialog .dialog-header .dialog-title .competence-name .attribut-info {
  color: #a8d8ea;
  font-weight: bold;
  font-size: 0.85em;
}
.hawkmoon-roll-dialog .dialog-content {
  padding: 4px 0 0;
  max-height: 600px;
  overflow-y: auto;
}
.hawkmoon-roll-dialog .form-group {
  margin-bottom: 6px;
  padding: 0 8px;
}
.hawkmoon-roll-dialog .form-group label {
  display: block;
  font-weight: bold;
  color: #1a1a1a;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
  font-size: 0.85rem;
}
.hawkmoon-roll-dialog .form-group label i {
  margin-right: 4px;
  color: #d4af37;
}
.hawkmoon-roll-dialog .form-group input,
.hawkmoon-roll-dialog .form-group select {
  width: 100%;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(100, 100, 100, 0.6);
  border-radius: 3px;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 500;
}
.hawkmoon-roll-dialog .form-group input:focus,
.hawkmoon-roll-dialog .form-group select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.7);
  background: #ffffff;
}
.hawkmoon-roll-dialog .form-group input:disabled,
.hawkmoon-roll-dialog .form-group select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: rgba(200, 200, 200, 0.9);
  color: #555;
}
.hawkmoon-roll-dialog .form-group select option {
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 4px 6px;
}
.hawkmoon-roll-dialog .form-group .help-text {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.hawkmoon-roll-dialog .modifiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.hawkmoon-roll-dialog .attributes-section {
  background: rgba(212, 175, 55, 0.1);
  padding: 6px;
  border-radius: 3px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.hawkmoon-roll-dialog .competence-section {
  background: rgba(100, 149, 237, 0.1);
  padding: 4px;
  border-radius: 3px;
  border: 1px solid rgba(100, 149, 237, 0.3);
  margin-bottom: 6px;
}
.hawkmoon-roll-dialog .competence-section .competence-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 5px;
  background: rgba(100, 149, 237, 0.15);
  border-radius: 3px;
  margin-bottom: 4px;
}
.hawkmoon-roll-dialog .competence-section .competence-info .competence-label {
  font-weight: bold;
  font-size: 0.85rem;
  color: #1a1a1a;
}
.hawkmoon-roll-dialog .competence-section .competence-info .competence-niveau {
  font-size: 0.8rem;
  color: #2a2a2a;
  font-weight: 500;
}
.hawkmoon-roll-dialog .talents-group select[multiple] {
  min-height: 70px;
}
.hawkmoon-roll-dialog .talents-group select[multiple] option {
  padding: 3px;
  cursor: pointer;
}
.hawkmoon-roll-dialog .talents-group select[multiple] option:hover {
  background: rgba(212, 175, 55, 0.3);
}
.hawkmoon-roll-dialog .combat-modifiers {
  background: rgba(220, 20, 60, 0.1);
  padding: 6px;
  border-radius: 3px;
  border: 1px solid rgba(220, 20, 60, 0.3);
  margin-bottom: 8px;
}
.hawkmoon-roll-dialog .combat-modifiers h4,
.hawkmoon-roll-dialog .combat-modifiers h5 {
  margin: 0 0 6px 0;
  color: #2a2a2a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.hawkmoon-roll-dialog .combat-modifiers h4 i,
.hawkmoon-roll-dialog .combat-modifiers h5 i {
  margin-right: 6px;
  color: #dc143c;
}
.hawkmoon-roll-dialog .combat-modifiers h5 {
  font-size: 0.85rem;
  margin-top: 12px;
}
.hawkmoon-roll-dialog .combat-modifiers .modifiers-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 8px;
}
.hawkmoon-roll-dialog .combat-modifiers .checkbox-label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.hawkmoon-roll-dialog .combat-modifiers .checkbox-label:hover {
  background: rgba(255, 255, 255, 0.05);
}
.hawkmoon-roll-dialog .combat-modifiers .checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}
.hawkmoon-roll-dialog .combat-modifiers .checkbox-label span {
  color: #1a1a1a;
  font-size: 0.8rem;
  user-select: none;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
.hawkmoon-roll-dialog .combat-modifiers .tir-modifiers {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hawkmoon-roll-dialog .combat-modifiers .tir-modifiers h5 {
  margin: 0 0 4px 0;
}
.hawkmoon-roll-dialog .combat-modifiers .tir-modifiers .modifiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 6px;
}
.hawkmoon-roll-dialog .combat-modifiers .tir-modifiers .form-group {
  margin-bottom: 3px;
}
.hawkmoon-roll-dialog .combat-modifiers .tir-modifiers .form-group label {
  font-size: 0.75rem;
  margin-bottom: 1px;
}
.hawkmoon-roll-dialog .combat-modifiers .tir-modifiers .form-group select {
  padding: 2px 4px;
  font-size: 0.8rem;
}
.hawkmoon-roll-dialog .context-group {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 3px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.hawkmoon-roll-dialog .dialog-buttons {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hawkmoon-roll-dialog .dialog-buttons button {
  flex: 1;
  padding: 6px 12px;
  border: none;
  border-radius: 3px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}
.hawkmoon-roll-dialog .dialog-buttons button[data-action="rolld10"],
.hawkmoon-roll-dialog .dialog-buttons button[data-action="rolld20"] {
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  color: #1a1a1a;
}
.hawkmoon-roll-dialog .dialog-buttons button[data-action="rolld10"]:hover,
.hawkmoon-roll-dialog .dialog-buttons button[data-action="rolld20"]:hover {
  background: linear-gradient(135deg, #e6c14a 0%, #d4af37 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}
.hawkmoon-roll-dialog .dialog-buttons button[data-action="cancel"] {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.hawkmoon-roll-dialog .dialog-buttons button[data-action="cancel"]:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hawkmoon-roll-dialog .dialog-buttons button i {
  margin-right: 4px;
}
/* ==================== Chat Result Message Styles ==================== */
.hawkmoon-chat-result {
  background: url("../assets/ui/pc_sheet_bg.webp");
  background-repeat: repeat;
  border: 2px solid #d4af37;
  border-radius: 4px;
  overflow: hidden;
  font-family: CentaurMT, serif;
}
.hawkmoon-chat-result .chat-result-header {
  background-image: url("../assets/ui/hawkmoon_background_01.png");
  background-blend-mode: soft-light;
  border-bottom: 2px solid #d4af37;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hawkmoon-chat-result .chat-result-header .actor-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #d4af37;
  object-fit: cover;
  flex-shrink: 0;
}
.hawkmoon-chat-result .chat-result-header .header-info {
  flex: 1;
}
.hawkmoon-chat-result .chat-result-header .header-info .actor-name {
  margin: 0;
  color: #f5f5f5;
  font-size: 1.1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}
.hawkmoon-chat-result .chat-result-header .header-info .action-title {
  color: #d4af37;
  font-size: 0.9rem;
  margin-top: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.hawkmoon-chat-result .chat-result-header .header-info .action-title i {
  margin-right: 4px;
}
.hawkmoon-chat-result .result-main {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.hawkmoon-chat-result .result-main .result-display {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.hawkmoon-chat-result .result-main .result-display .dice-result,
.hawkmoon-chat-result .result-main .result-display .total-result,
.hawkmoon-chat-result .result-main .result-display .difficulty {
  text-align: center;
  flex: 1;
}
.hawkmoon-chat-result .result-main .result-display .dice-result i,
.hawkmoon-chat-result .result-main .result-display .total-result i,
.hawkmoon-chat-result .result-main .result-display .difficulty i {
  color: #d4af37;
  font-size: 1rem;
  display: block;
  margin-bottom: 3px;
}
.hawkmoon-chat-result .result-main .result-display .dice-result span,
.hawkmoon-chat-result .result-main .result-display .total-result span,
.hawkmoon-chat-result .result-main .result-display .difficulty span {
  display: block;
  font-weight: bold;
}
.hawkmoon-chat-result .result-main .result-display .dice-result .dice-value,
.hawkmoon-chat-result .result-main .result-display .total-result .dice-value,
.hawkmoon-chat-result .result-main .result-display .difficulty .dice-value,
.hawkmoon-chat-result .result-main .result-display .dice-result .total-value,
.hawkmoon-chat-result .result-main .result-display .total-result .total-value,
.hawkmoon-chat-result .result-main .result-display .difficulty .total-value,
.hawkmoon-chat-result .result-main .result-display .dice-result .difficulty-value,
.hawkmoon-chat-result .result-main .result-display .total-result .difficulty-value,
.hawkmoon-chat-result .result-main .result-display .difficulty .difficulty-value {
  font-size: 1.3rem;
  color: #1a1a1a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}
.hawkmoon-chat-result .result-main .result-display .dice-result .total-label,
.hawkmoon-chat-result .result-main .result-display .total-result .total-label,
.hawkmoon-chat-result .result-main .result-display .difficulty .total-label,
.hawkmoon-chat-result .result-main .result-display .dice-result .difficulty-label,
.hawkmoon-chat-result .result-main .result-display .total-result .difficulty-label,
.hawkmoon-chat-result .result-main .result-display .difficulty .difficulty-label {
  font-size: 0.75rem;
  color: #2a2a2a;
  text-transform: uppercase;
}
.hawkmoon-chat-result .result-main .result-badge-container {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}
.hawkmoon-chat-result .result-main .result-badge-container .result-badge {
  padding: 4px 12px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hawkmoon-chat-result .result-main .result-badge-container .result-badge i {
  margin-right: 6px;
}
.hawkmoon-chat-result .result-main .result-badge-container .result-badge.heroique {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #1a1a1a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}
.hawkmoon-chat-result .result-main .result-badge-container .result-badge.success {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hawkmoon-chat-result .result-main .result-badge-container .result-badge.failure {
  background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hawkmoon-chat-result .result-main .result-badge-container .result-badge.dramatique {
  background: linear-gradient(135deg, #9c27b0 0%, #4a148c 100%);
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hawkmoon-chat-result .result-details {
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.05);
}
.hawkmoon-chat-result .result-details .details-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hawkmoon-chat-result .result-details .details-section .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  font-size: 0.85rem;
}
.hawkmoon-chat-result .result-details .details-section .detail-row.bonus {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.hawkmoon-chat-result .result-details .details-section .detail-row .detail-label {
  color: #2a2a2a;
  font-weight: bold;
}
.hawkmoon-chat-result .result-details .details-section .detail-row .detail-value {
  color: #1a1a1a;
  font-weight: 500;
}
.hawkmoon-chat-result .result-effects {
  padding: 6px 8px;
  background: rgba(100, 149, 237, 0.1);
  border-top: 1px solid rgba(100, 149, 237, 0.3);
}
.hawkmoon-chat-result .result-effects .effect-item {
  padding: 4px 6px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-left: 3px solid #6495ed;
  border-radius: 3px;
  color: #1a1a1a;
  font-size: 0.85rem;
}
.hawkmoon-chat-result .result-effects .effect-item.victory {
  background: rgba(255, 215, 0, 0.2);
  border-left-color: #ffd700;
}
.hawkmoon-chat-result .result-effects .effect-item i {
  margin-right: 6px;
  color: #6495ed;
}
.hawkmoon-chat-result .result-effects .effect-item:last-child {
  margin-bottom: 0;
}
.hawkmoon-chat-result .result-effects .damage-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.hawkmoon-chat-result .result-effects .damage-buttons button {
  width: 100%;
}
.hawkmoon-chat-result .result-warning {
  padding: 5px 8px;
  background: rgba(255, 152, 0, 0.2);
  border-left: 3px solid #ff9800;
  margin: 5px 8px;
  border-radius: 3px;
  color: #1a1a1a;
  font-size: 0.85rem;
}
.hawkmoon-chat-result .result-warning i {
  margin-right: 6px;
  color: #ff9800;
}
.hawkmoon-chat-result .result-info {
  padding: 5px 8px;
  background: rgba(33, 150, 243, 0.2);
  border-left: 3px solid #2196f3;
  margin: 5px 8px;
  border-radius: 3px;
  color: #1a1a1a;
  font-size: 0.85rem;
}
.hawkmoon-chat-result .result-info i {
  margin-right: 6px;
  color: #2196f3;
}
.hawkmoon-chat-result .d20-impair {
  text-align: center;
  flex: 1;
  padding: 2px 6px;
  background: rgba(255, 152, 0, 0.15);
  border: 1px dashed #ff9800;
  border-radius: 4px;
  font-size: 0.8rem !important;
  color: #b36200 !important;
}
.hawkmoon-chat-result .d20-impair i {
  color: #ff9800 !important;
  font-size: 0.85rem !important;
  display: inline !important;
  margin-right: 4px;
}
.hawkmoon-chat-result .d20-impair span.dice-value {
  font-size: 0.8rem !important;
  display: inline !important;
  font-weight: normal !important;
  color: #b36200 !important;
  text-shadow: none !important;
}
.hawkmoon-chat-result .predilection-section {
  padding: 8px 10px;
  background: rgba(156, 39, 176, 0.1);
  border-top: 1px solid rgba(156, 39, 176, 0.3);
}
.hawkmoon-chat-result .predilection-section button {
  width: 100%;
}
.hawkmoon-chat-result .chat-card-button {
  padding: 8px 12px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  border: none;
  border-radius: 4px;
  color: #1a1a1a;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hawkmoon-chat-result .chat-card-button:hover {
  background: linear-gradient(135deg, #e6c14a 0%, #d4af37 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.4);
}
.hawkmoon-chat-result .chat-card-button i {
  margin-right: 6px;
}
/*# sourceMappingURL=hawkmoon.css.map */
/*# sourceMappingURL=hawkmoon.css.map */
