/* Font styles */
body, h1, h2, h3, h4, h5, h6 {
    font-family: Ariel, serif;
}

h1 {
    font-family: Ariel, serif;
}

/* Background colors based on access level */
body.guest {
    background-color: white;
    color: black; /* Ensure text is visible on white background */
}

body.player {
    background-color: #ADD8E6; /* Light Blue */
    color: black;
}

body.dm {
    background-color: #90EE90; /* Light Green */
    color: black;
}

body.admin {
    background-color: #228B22; /* Forest Green*/
    color: white;
}

/* Button styles based on access level */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
}

body.guest .button {
    background-color: #808080;
}

body.player .button {
    background-color: #0056b3; /* Dark Blue */
}

body.dm .button {
    background-color: #228B22; /* Forest Green */
}

body.admin .button {
    background-color: #90EE90;
}

.button:hover {
    opacity: 0.8;
}

/* Custom button styles for commencing_battle.php */
.commencing-button {
    background-color: #4CAF50; /* Green background */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.commencing-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

.hp-button {
    font-size: 12px;
    margin-left: 5px;
    padding: 2px 5px;
    cursor: pointer;
}

.class-details {
    display: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin: 0 0 15px;
    overflow: hidden;
}

.class-details iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.class-name {
    flex: 1;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
