.te-deum-roll-dialog {
  .window-header {
    border-radius: 10px 10px 0% 0%;
  }

  .window-content {
    border-radius: 0% 0% 10px 10px;
  }
}

.skill-roll-dialog {
  background: linear-gradient(
    135deg,
    rgba(240, 235, 225, 0.98) 0%,
    rgba(250, 245, 235, 0.95) 100%
  );
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(139, 115, 85, 0.3);
  overflow: hidden;

  .flexcol {
    padding: 0.6rem 0.8rem;
    gap: 0.4rem;
  }

  .flexrow {
    margin: 0.3rem 0;
    padding: 0.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    border-left: 3px solid rgba(139, 115, 85, 0.3);
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;

    &:hover {
      background: rgba(255, 255, 255, 0.6);
      border-left-color: rgba(139, 115, 85, 0.6);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
  }

  .roll-dialog-label {
    font-family: GreatPrimer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d3a2e;
    min-width: 140px;

    &:first-child {
      color: rgba(70, 67, 49, 0.9);
      font-weight: 700;
    }
  }

  input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
  }

  div {
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .sheet-footer {
    padding: 0.5rem 0.8rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(139, 115, 85, 0.3);
    margin-top: 0.5rem;

    button {
      flex: 1;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      font-family: "GreatPrimer";
      font-size: 0.9rem;
      cursor: pointer;
      border: 1px solid rgba(139, 115, 85, 0.5);
      background: linear-gradient(135deg, rgba(196, 186, 166, 0.8) 0%, rgba(226, 226, 222, 0.9) 100%);
      color: rgba(50, 35, 15, 0.95);
      transition: all 0.2s ease;

      &:hover {
        background: linear-gradient(135deg, rgba(196, 186, 166, 1) 0%, rgba(210, 205, 195, 1) 100%);
        border-color: rgba(139, 115, 85, 0.8);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
      }
    }
  }
}

.confront-dice {
  border-width: 0px;
}

.bonus-spec {
  max-width: 48px;
}

.confront-bonus-container {
  position: relative;
  flex-grow: 1;
  text-align: center;
  color: black;
}

.pool-list {
  align-items: center;
  justify-content: center;
}

.corps-combat-block {
  position: relative;
  width: 600px;
  height: 600px;
}

.silhouette-combat-picture {
  width: 250px;
  max-width: 250px;
  border: 0;
}

.silhouette-combat-block {
  position: absolute;
  background: white;
  border-color: darkgray;
  border-style: ridge;
  border: 1;
  width: 180px;
  min-height: 84px;
  height: auto;
  margin: 0 auto;
  font-size: 0.8rem;
  align-self: center;
  overflow: visible;
}

.silhouette-combat-space {
  width: 60px;
  min-width: 60px;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-message .message {
  font-family: "GreatPrimer";
  font-size: 0.9rem;
}

.fvtt-te-deum-character-creator {
  /*background: rgba(226, 226, 222, 0.95);*/
  font-family: "GreatPrimer";
  font-size: 0.9rem;

  .field-title {
    font-weight: bold;
  }

  .form-group label {
    color: rgba(30, 25, 15, 0.9);
  }

  .status-section {
    display: block;
    max-width: 34rem;
  }

  .creator-finished-section {
    display: block;
    max-width: 34rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .stage-main-details {
    text-align: center;
    margin-top: 1rem;
  }
}

.grace-texte {
  margin-top: 1rem;
}

.chat-welcome {
  text-align: center;
}

.item-name-label {
  min-width: 12rem;
}

.compendium-sidebar .directory-item.compendium.locked .compendium-name {
  background: rgba(0, 0, 0, 0.1);
}

.compendium-sidebar .directory-item.compendium .compendium-name {
  background: rgba(0, 0, 0, 0.1);
}

.compendium-sidebar .directory-item.compendium:hover .compendium-name {
  text-shadow: 0 0 8px var(--color-shadow-primary);
  background: rgba(0, 0, 0, 0.9);
}

.compendium-sidebar .directory-item.compendium .compendium-footer .source {
  display: inline-block;
  font-size: var(--font-size-12);
  padding: 1px 0.5rem 0 0.25rem;
  border-radius: 0 3px 0 0;
  background: rgba(0, 0, 0, 0.1);
}

.tedeum-create-character {
  align-self: anchor-center;
}

.message-chat-center {
  text-align: center;
}

.welcome-message-h3 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: darkred;
}
