.room-container {
    width: 100%;
    padding: 20px;
    border-radius: 15px;   
    gap: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-inline: 20px;
    box-sizing: border-box;
    margin-bottom: 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

h1 {
    font-size: 1.75rem;
    margin-block: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin-block: 0;
}

ul {
    padding-inline-start: 0;
    list-style-type: none;
}

.h-amount {
    font-size: 20px;
    font-weight: 700;
}

.h-current-msg {
    font-size: 20px;
    vertical-align: bottom;
    font-weight: 400;
    line-height: 20px;
}

.h-min-buy {
    font-size: 0.875rem;
    font-weight: 400;
}

.h-room-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.h-least-money-account {
    font-size: 0.9rem;
    font-weight: 700;
}

.room-card img {
    object-fit: contain;
    width: 100%;
    height: 100px;
}

.room-card {
    cursor: pointer;
    font-weight: bold;
    color: #020729;
    display: flex;
    flex-direction: column;
    background-color: var(--color-fifth);
    color: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

}


.room-list {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-block: 0;
}

.current-user-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-icon {
    display: flex;
    flex-direction: row;
}

.header-icon i {
    cursor: pointer;
}

.header-icon h4 {
    width: 100%;
    text-align: center;
}

.amount-content {
    flex-direction: row;
    display: flex;
    border-radius: 15px;
    background: #52595D;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 15px;
    color: white;
    justify-content: space-between;
}

.s-username {
    font-size: 20px;
    font-weight: 700;
}

.s-current-user-count {
    font-size: 0.75rem;
    font-weight: 400;
}

.user-info-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.user-info-item .p-id {
    font-size: 12px;
    font-weight: 400;
    color: white;

}

.room-horizontal-divider {
    width: 3px;
    padding-block: 12px;
    background-color: #52595D;
}

.room-title {
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding-left: 10px;
}

.room-title span {
    color: #E5E4E2;
    font-size: 20px;
    font-weight: 700;
}
.disabled{
    opacity: 0.5;
    cursor: not-allowed;
}
@media only screen and (max-width: 768px) {
    .room-card {
        gap: 2px;
        padding: 10px;
        font-size: 0.8rem;

    }

    .room-container {
        width: 100%;
        padding-inline: 20px;
        box-sizing: border-box;
        background: unset;
    }

    .room-play {
        padding: 10px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-height: 668px) {
    .room-card {
        font-size: 0.725rem;
        gap: 2px;
    }
    .h-room-title,.s-username,.round-information{
        font-size: 0.8rem;
    }
    .room-card h4{
        font-size: 0.8rem;
    }
    .room-card img {
        height: 80px;

    }
    .room-play li{
        font-size: 0.8rem !important;
    }
   
    
}