body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.container {
    display: flex;
    height: 100vh;
}
.left-sidebar {
    width: 15%;
    height: 100%; /* or any specific height you prefer */
    overflow-y: auto;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    padding: 10px;
    background-color: #bba67f;
}

.active-filter,
.active-filter button,
.search-container input[type="text"],
.sort-container select,
.sort-container button,
#filter-wizard-section select,
#filter-wizard-section button {
    background-color: #cdbda0;
    box-sizing: border-box;
    border: 1px solid #cfc0a5;
    border-radius: 4px;
    margin: 0 0 5px; /* 5px top margin */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: add an inset shadow for depth */
}

.search-container input[type="text"] {
    height: 40px;
    width: 100%;
    padding: 10px;
}

.sort-container select,
#filter-wizard-section select {
    height: 30px;
    padding: 5px;
    width: calc(80% - 5px);
    margin-right: 5px;
}

.sort-container button,
#filter-wizard-section button {
    height: 30px;
    padding: 5px;
    width: 20%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.left-sidebar button:hover,
#filter-wizard-section button:hover {
    background-color: #d7cab3;
}

.active-filter {
    height: 30px;
    width: 100%;
    padding: 5px;
    display: flex; /* Use flexbox */
    align-items: center; /* Center items vertically */
    gap: 5px; /* Add gap between items */
}

#active-filter-section label {
}

#active-filter-section input[type="text"] {
    box-sizing: border-box;
    height: 20px;
    width: 100%;
    padding: 0 5px;
    margin: 0;
    border: 1px solid #ab9b7d;
}

#active-filter-section select {
    box-sizing: border-box;
    border: 1px solid #ab9b7d;
    justify-content: right; /* Center horizontally */
    width: 40px;
    height: 20px;
    margin: 0;
}

#active-filter-section button {
    box-sizing: border-box;
    min-width: 20px; /* Set fixed width */
    height: 20px;
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin: 0;
    border: 1px solid #ab9b7d;
}

.active-filter button:hover {
    background-color: #d7cab3;
}





.monster-button {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background-color: #cdbda0;
    border: 1px solid #cfc0a5;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: add an inset shadow for depth */
}
.monster-button:hover {
    background-color: #d7cab3;
}
.monster-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.stats-column-container {
    background-color: #c4b18f;
    width: 40%;
    height: 100%; /* or any specific height you prefer */
    padding: 10px;
    box-sizing: border-box;
}
.stats-column {
    width: 100%; /* Adjust height as needed */
    height: 100%; /* Adjust height as needed */
    padding: 20px;
    box-sizing: border-box;
    background-color: #f5deb3; /* A light brown color resembling old paper */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: add an inset shadow for depth */
    overflow-y: auto;
    border: 2px solid #bbb;
    border-radius: 4px;
}

.lore-column-container {
    background-color: #c4b18f;
    width: 45%; /* Ensure the container takes full width */
    height: 100%; /* or any specific height you prefer */
    padding: 10px;
    box-sizing: border-box;
}
.lore-column {
    width: 100%; /* Ensure the container takes full width */
    height: 100%; /* Adjust height as needed */
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* Enable vertical scrolling */
    background-color: #f5deb3; /* A light brown color resembling old paper */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: add an inset shadow for depth */
    border: 2px solid #bbb;
    border-radius: 4px;
}
/* Custom scrollbar styles */
.left-sidebar::-webkit-scrollbar,
.stats-column::-webkit-scrollbar,
.lore-column::-webkit-scrollbar {
    width: 12px;
}
.left-sidebar::-webkit-scrollbar-track,
.stats-column::-webkit-scrollbar-track,
.lore-column::-webkit-scrollbar-track {
    background: #ab9b7d;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: add an inset shadow for depth */
    border-radius: 4px;
}
.left-sidebar::-webkit-scrollbar-thumb,
.stats-column::-webkit-scrollbar-thumb,
.lore-column::-webkit-scrollbar-thumb {
    background: #f5deb3;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5); /* Optional: add an inset shadow for depth */
    border-radius: 4px;
}
.left-sidebar::-webkit-scrollbar-thumb:hover,
.stats-column::-webkit-scrollbar-thumb:hover,
.lore-column::-webkit-scrollbar-thumb:hover {
    background-color: #d7cab3;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5); /* Optional: add an inset shadow for depth */
    border-radius: 4px;
}

.lore-columns {
    column-count: 2; /* Create two columns */
    column-gap: 20px; /* Adjust the gap between columns */
}

.lore-image-container {
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 100%;
    aspect-ratio: 1;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #bbb;
    border-radius: 4px;
    overflow: hidden; /* Prevent overflow if the image is too large */
    background-color: white; /* A light brown color resembling old paper */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: add an inset shadow for depth */
}

.lore-image {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto; /* Center the image horizontally */
    object-fit: contain; /* Ensure the image fits within the container */
}


.no-break {
    break-inside: avoid; /* Prevent breaking inside this container */
    width: 100%; /* Ensure it takes full width */
}





.header {
    font-size: 20px;
    font-weight: bold;
    color: darkred;
}
.subtitle {
    font-size: 14px;
    font-style: italic;
    color: black;
    margin-bottom: 10px;
}
.line {
    height: 2px;
    background-color: red;
    margin: 10px 0;
}
.stat-label {
    font-weight: bold;
    color: darkred;
}
.stat-value {
    color: darkred;
    margin-left: 6px; /* Added margin for better spacing */
}
.section-title {
    font-size: 16px;
    font-weight: bold;
    color: darkred;
    margin-top: 20px;
}
.item-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.item-name {
    font-weight: bold;
    color: black;
    margin-right: 5px; /* Add some space between name and description */
}
.item-description {
    color: black;
}
.stats-container {
    display: flex;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    width: calc(100% / 6); /* 1/6th of the width */
    box-sizing: border-box;
    padding: 5px;
    font-size: 12px;
}
.stat-row {
    display: flex;
    align-items: center;
}