.life-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    // gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.life-box {
    display: grid;
    grid-template-rows: 1fr 1fr;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.life-input {
    width: 20%;
    font-size: 1.5rem;
    margin: auto;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
    border-radius: 10px;
    border: none;
    box-shadow: var(--shadow);

    &::-webkit-inner-spin-button,
    &::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
}

hit-dice {
    margin-top: 1.5rem;
}

.button-container {
    height: 9rem;
    width: 27rem;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;

    .confirm {
        width: 20rem;
        margin: 0 auto;
        background-color: var(--accept);

        &:hover {
            background-color: var(--accept-hover);
        }
    }

    .cancel {
        width: 20rem;
        margin: 0 auto;
        background-color: var(--delete);

        &:hover {
            background-color: var(--delete-hover);
        }
    }
}
