.itemsTableContainer {
    width: 100%;
    overflow-x: scroll; /* Enables horizontal scrolling on smaller screens */
    overflow-y: scroll;
    margin: 20px 0;
    max-height: 700px;
    font-family: Arial, sans-serif; /* Ensures text is readable */
}

.itemsTableContainer .table {
    width: 100%;
    min-width: 600px; /* Adjust this value based on your content needs */
    border-collapse: collapse; /* Ensures borders between cells are merged */
}

.itemsTableContainer .table, 
.itemsTableContainer .table th, 
.itemsTableContainer .table td {
    border: 1px solid #CCCCCC; /* Light grey border */
}

.itemsTableContainer .table th,
.itemsTableContainer .table td {
    text-align: left;
    padding: 8px;
    color: #FFFFFF; /* Ensures text color is white for better contrast */
}

@media screen and (max-width: 600px) {
    .itemsTableContainer .table th, 
    .itemsTableContainer .table td {
        padding: 8px 4px; /* Reduces padding on smaller screens */
    }
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.align-center {
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
}

.justify-center {
    justify-content: center; /* Horizontally center content */
}

.align-items-center {
    align-items: center; /* Vertically center items */
}

.space-between {
    justify-content: space-between; /* Distribute space between items */
}

.space-around {
    justify-content: space-around; /* Distribute space around items */
}

.flex-grow {
    flex-grow: 1; /* Allow the item to grow */
}

.flex-shrink {
    flex-shrink: 1; /* Allow the item to shrink */
}

.align-self-center {
    align-self: center; /* Center an item in the cross-axis independently */
}
.item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: inherit; /* or any desired width */
    margin: 10px;
    height: inherit;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    color: #000;
}

.card-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    background-color: transparent;
    border: none;
}

.flat-button {
    background-color: #2D9CDB; /* Vibrant blue color */
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.flat-button:hover {
    background-color: #2F80ED; /* Slightly darker shade on hover */
}

.flat-button:active {
    background-color: #56CCF2; /* Lighter shade when clicked */
}

.hp-bar {
    height: 20px;
    background-color: green;
    margin-top: 5px;
    transition: width 0.75s ease;
}
.sp-bar {
    height: 20px;
    background-color: blue;
    margin-top: 5px;
    transition: width 0.75s ease;
}