/* =========================================
   CR-CALC — MONSTER GRID
   ========================================= */

/* Grid container */
#crcalc-page #monsterGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
    margin-top: 0.5rem;
}

/* Wrapper for each CR cell */
#crcalc-page .monster-cell-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Individual monster cell */
#crcalc-page .monster-cell {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8rem;
}

/* Label styling */
#crcalc-page .monster-cell label {
    font-size: 0.8rem;
}

/* Number input styling */
#crcalc-page .monster-cell input[type="number"] {
    width: 100%;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    border: 1px solid #3a3d45;
    color: #3a2f1c;
}
