/* index.html */

.pcLevels {
    padding: 0 5px 0 0;
}

.monsterLink {
    color: red;
    text-decoration: underline;
    cursor: pointer;
}

.monster-image {
    max-width: 200px;
    height: auto;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back-to-list-paragraph {
    text-align: right;
    margin-top: 15px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    background-color: #f2ce9e;
    border-radius: 50%;
    font-size: 1em;
    margin-left: 2px;
    color: #8b4513; /* Optional: icon color */
}

.monster-add-count, .monster-remove-count {
    float: none;
    margin-right: 5px;
}

ol li:nth-child(even) {
    background-color: rgba(0,0,0,0.025);
}

/* min/max monster input fields */
#minMonsters, #maxMonsters {
  width: 60px;
  margin-right: 8px;
}

/* CR min/max dropdowns */
#crMin, #crMax {
  width: 80px;
}

/* spacing between filter controls */
label, select, input[type='number'], input[type='checkbox'] {
  margin-bottom: 6px;
  margin-right: 4px;
}

/* monster_catalog.html */
/* body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
    display: flex;
    flex-direction: column;
} */
/* #stat-block-container {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    min-height: 100px;
    order: 1; 
} */
/* #monster-list ul {
    list-style-type: none;
    padding: 0;
    max-height: 400px; 
    overflow-y: auto;
    border: 1px solid #ddd;
}
/* #monster-list li {
    cursor: pointer;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
} */
#monster-index-container {
    order: 2; /* Displayed below stat block */
}
#monster-list li:last-child {
    border-bottom: none;
}
#monster-list li:hover {
    background-color: #f2ce9e;
    cursor: pointer;
}
.stat-block h2 {
    margin-top: 0;
    color: #333;
}
.stat-block p {
    margin: 0.5em 0;
}
.stat-block .property-label {
    font-weight: bold;
}
.stat-block hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 1em 0;
}
.stat-block .section-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #555;
}
.stat-block .html-content p:first-child {
    margin-top: 0;
}
.stat-block .html-content p:last-child {
    margin-bottom: 0;
}
.stats-table {
    width: 100%;
    text-align: center;
    margin: 0.5em 0;
}
.stats-table th, .stats-table td {
    padding: 4px;
}
.associate-present {
    color: #8b4513; /* SaddleBrown */
    cursor: pointer;
}
.associate-present:hover {
    text-decoration: underline;
}
.associate-not-present {
    color: rgba(0,0,0,0.9); /* Light gray for not found */
    cursor: not-allowed;
}

/* Responsive tweaks for encounter builder */
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  #minMonsters, #maxMonsters, #crMin, #crMax {
    width: 48px;
  }
}