body {
    background-color: #000000; /* Fond noir */
    background-image: url('bg_menu.jpg'); /* Image de fond */
    background-repeat: no-repeat;
    background-position: 0px 0px;
    font-family: Tahoma, Verdana, Helvetica;
    font-size: 10pt;
    margin: 0;
    padding: 0;
    color: #eae1bb; /* Couleur du texte */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, footer {
    text-align: center;
}

.main-content-wrapper {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 200px;
    flex-shrink: 0;
    margin-right: 20px;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sidebar .box {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}

.sidebar .box h3 {
    margin-top: 0;
    color: #eae1bb;
}

.sidebar .box ul li a {
    color: #fff; /* Liens en blanc */
}

.centered-title {
    font-weight: bold;
    font-size: 2em; /* Augmenter la taille du texte */
    color: #fff;
    margin-top: 0;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
}

.logo a {
    text-decoration: none;
    color: #eae1bb; /* Couleur pour le mot "Whispers" */
    font-size: 24px;
    font-weight: bold;
}

.logo a span {
    color: #fff; /* Couleur pour le mot "grove" */
}

.welcome-message span {
    color: #eae1bb; /* Couleur pour le mot "Whispers" dans la phrase */
}

.presentation {
    margin: 20px auto;
    width: 80%;
    text-align: justify;
    color: #eae1bb;
    font-size: 1.3em; /* Augmenter la taille du texte */
}

.presentation p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.presentation strong {
    color: #fff; /* Couleur pour le texte en gras */
}

.centered-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4cm; /* Ajoute une marge en haut de l'image */
    margin-bottom: 1cm; /* Ajoute une marge en bas de l'image */
    width: 30%; /* Redimensionne l'image à 30% de sa taille originale */
}

.pending-registrations {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.pending-registrations h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2em; /* Taille réduite pour le titre */
}

.pending-registrations table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    color: #eae1bb;
    font-size: 0.8em; /* Taille réduite pour le tableau */
}

.pending-registrations th, .pending-registrations td {
    border: 1px solid #ddd;
    padding: 6px; /* Réduction de la taille des cellules */
}

.pending-registrations th {
    background-color: #333;
    color: #fff;
}

.pending-registrations tr:nth-child(even) {
    background-color: #444;
}

.pending-registrations tr:hover {
    background-color: #555;
}

/* Styles pour les champs de formulaire */
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    background-color: #ffffff; /* Fond blanc */
    color: #000000; /* Texte noir */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    width: 100%; /* Assurer que les champs prennent toute la largeur disponible */
    box-sizing: border-box; /* Inclure le padding et la bordure dans la largeur */
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #999999; /* Couleur du texte du placeholder */
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
    padding-bottom: 1em; /* Ajouter un espace sous le fieldset */
}

legend {
    font-size: 1.2em;
    color: #fff; /* Couleur du texte du legend */
    margin-bottom: 10px;
}

/* Styles pour le formulaire de déplacement */
.move-form {
    background-color: #fff; /* Fond blanc */
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    text-align: left;
}

/* Styles pour les personnages présents */
.characters-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Espacement horizontal et vertical entre les noms */
    margin-top: 20px; /* Ajouter de l'espace au-dessus de la liste */
}

.characters-list div {
    font-size: 2em; /* Augmenter la taille du texte */
    color: #eae1bb; /* Couleur du texte */
    list-style: none; /* Supprimer les puces */
}

.character-info {
    width: 80%;
    margin: 0 auto;
}
.readonly-textarea {
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
    padding: 10px;
    overflow: auto;
    background-color: #f8f8f8;
    margin-bottom: 20px;
}
.stats-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.characteristics, .competencies {
    width: 48%;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #444;
}

/* Styles pour les actions non lues */
.unread-actions a {
    color: #E6E6FA !important; /* Violet pâle */
    font-weight: bold;
}

.unread-pnj-actions a, .admin-unread-actions a {
    color: #EE82EE !important; /* Violet pâle */
    font-weight: bold !important;
}

.modal-content img {
    max-width: 100%;
    height: auto;
}