﻿
.lfg-title {
    grid-row: 1;
    grid-column: 1/8;
    color: #fff;
}

.lfg-waiting {
    place-content: center;
    place-items: center;
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    grid-row: 3;
    grid-column: 3/6;
}

.lfg-card {
    display: flex;
    flex-direction: column;
    place-items: center;
    border: 0.5px solid rgba(15, 23, 41, 0.5);
    border-radius: 8px;
    box-shadow: 0px 0px 9px 6px #000000;
    width: 175px;
    height: 169px;
    padding: 10px;
    justify-content: space-between;
}

    .lfg-card:hover {
        box-shadow: 0px 0px 20px 0px var(--primary-red);
        transform: scale(1.08);
    }

.lfg-card-cs2v2 {
    background-image: url(/images/cs2-card.jpg);
    transition: transform 0.4s ease;
}

.lfg-card-cs5v5 {
    background-image: url(/images/cs2_5v5.png);
    background-size: cover;
    transition: transform 0.4s ease;

}

.lfg-card-arc {
    background-image: url(/images/arc-card.jpg);
    transition: transform 0.4s ease;
}

.lfg-form-left {
    display: flex;
    flex-direction: column;
    text-align: center;
    grid-row: 5;
    grid-column: 2;
}

.lfg-form-middle {
    display: flex;
    flex-direction: column;
    text-align: center;
    grid-row: 5;
    grid-column: 4;
}

.lfg-form-right {
    display: flex;
    flex-direction: column;
    text-align: center;
    grid-row: 5;
    grid-column: 6;
}

.lfg-btns {
    display: flex;
    gap: 1rem;
}

.lfg-match-found {
    place-items: center;
    display: flex;
    flex-direction: column;
    grid-row: 5;
    grid-column: 3;
}

/*====================
    Players online 
====================*/
.players-online {
    display: grid;
    height: 700px;
    width: 200px;
    grid-row: 3;
    grid-column: 6;
    background: rgba(15, 23, 41, 0.8) 48%;
    box-shadow: 2px 2px 8px 1px rgb(0, 0, 0);
    padding: 20px;
    border-radius: 16px;
    color: #fff;
}

.players-icon {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    border: 2px solid #03ff00;
}

.players-icon-overlay {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 2px solid #03ff00;
    place-self: center;

}
.player-img-overaly {
    width: 100%;
    height: 100%;
    margin-top: 0.5rem;
    display: grid;
    position: relative;
}
.player-flag{
    width: 20px;
    position: absolute;
    right: 30%
}
.players {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.players-list {
    display: flex;
    gap: .4rem;
    align-items: center;
    cursor: pointer;
    position: relative;
    width: 100%;
}

.player-overlay {
    position: absolute;
    top: -45%;
    right: -70%;
    background: #222;
    color: white;
    border-radius: 6px;
    z-index: 10;
    min-width: 150px;
    min-height: 200px;
    background: rgba(15, 23, 41, 0.8) 48%;
    box-shadow: 2px 2px 8px 1px rgb(0, 0, 0);
    padding: 5px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.total-achv{
    position: relative;
}

.total-achv-text {
    font-size: 8px;
    position: absolute;
    z-index: 10;
    left: 15%;
    bottom: 11%;
}

.achv {
    display: flex;
}

.achv-icon {
    border-radius: 10px;
    opacity: 0.8;
    max-width: 50px;
    max-height: 50px;
}

/*====================
    Modal Overlay Match Found
====================*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background: #1e1e1e;
    padding: 0px;
    border-radius: 10px;
    min-width: 350px;
    min-height: 280px;
    text-align: center;
    color: white;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

    .modal-buttons .cancel {
        background: #b33;
    }

.ready-check {
    width: 50px;
    height: 50px;
    border: 2px solid #00c800;
    border-radius: 50%;
    box-shadow: 0px 0px 9px 3px rgba(0,255,0,0.5);
    scale: 1.2;
}

.ready-waiting {
    width: 50px;
    height: 50px;
    opacity: 0.5;
    border-radius: 50%;
    box-shadow: 0px 0px 9px 5px rgba(0,0,0,0.5);
}

.ready-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 400px;
    height: 70px;
    padding-top: 1.5rem;
}

.ready-players-box {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ready-player-title {
    font-size: 12px;
}

.modal-box {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    gap: 10px;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 20px;
    padding: 5px
}

    .modal-close-btn:hover {
        color: var(--primary-red);
        transform: scale(1.15);
        border-radius: 20px;
    }


