@import url('/utils/css/dark-bg-popup-desktop.css');
@import url('/css/desktop/desktop-signup.css');
@import url('/utils/css/loading-popup.css');
@import url('/utils/css/typography-desktop.css');
@import url('/utils/css/copied-tooltip.css');
@import url('/utils/css/token-expired-popup.css');
@import url('/utils/css/select-mode-popup.css');
@import url('/utils/css/tooltip-desktop.css');
@import url('/utils/css/game-summary-popup.css');

.rooms-list-wrapper {
    height: 100%;
    background-color: #2E3063;
    padding: 16px 16px 0;
    overflow-y: scroll;
    height: 100vh;
    padding-bottom: 200px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rooms-list-wrapper::-webkit-scrollbar {
    display: none;
}

.list-title {
    margin-bottom: 8px;
}

.no-rooms-block {
    display: none;
}

.no-rooms-block.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: calc(100% - 32px);
    text-align: center;
}

.no-rooms-icon {
    width: 328px;
    height: 328px;
}

.no-rooms {
    text-align: center;
    font-size: 18px;
}

.list-item {
    margin-bottom: 24px;
}

.tabs {
    display: flex;
    gap: 2px;
    overflow: hidden;
    background: transparent;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    text-decoration: none;
    color: var(--white);
    border-radius: 10px 10px 0 0;
    background: #2E3063;
    font-weight: 600;
}

.tab:hover {
    background: #44447a;
}

.tab.active {
    background: #22244E;
}

.list-item {
    margin-bottom: 24px;
    display: none;
}

.list-item.active {
    display: block;
}

.list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/***** cards *****/

.room-card {
    display: flex;
    gap: 7px;
    padding: 8px;
    width: calc(50% - 6px);
    aspect-ratio: 3.57;
    background: #292A5F;
    border-radius: 11px;
    border: 1px solid #303165;
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 0px rgba(0, 0, 0, 0.16);
}

.card-image {
    width: 32.5%;
    aspect-ratio: 1.325;
    border-radius: 12px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 6px 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.card-owner-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-lock {
    width: 24px;
    height: 22px;
    display: none;
}

.card-lock.active {
    display: block;
}

.card-author {
    font-size: 14px;
    opacity: 0.7;
    margin: 4px 0;
}

.card-footer {
    display: flex;
    gap: 16px;
}

.players,
.bet {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    opacity: 0.9;
}

.players img,
.bet img {
    width: 16px;
    height: 16px;
}

.room-pass-popup label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.room-pass-popup h4 {
    font-size: 24px;
    margin-bottom: 32px;
}

.room-pass-popup .popup-input {
    margin-bottom: 24px;
}

/* .room-pass-popup .popup-big-button-wrapper {
    width: 100%;
} */