body {
    background-image: url(1095888.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.main {
    position: relative;
    background: rgb(6,12,19);
    background: radial-gradient(circle, rgba(6,12,19,0.6587009803921569) 0%, rgba(6,11,18,0.8379726890756303) 100%);
    width: 75vw;
    height: 40vw;
    border-radius: .4vw;
    border: solid 1px rgba(255, 255, 255, 0.212);
    left: 10vw;
    top: 3vw;
    padding-top: 10px;
    
}

.search-container {
    position: absolute;
    top: 0.9vw; 
    left: 8vw; 
    width: 10vw; 
}

.search-label {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 0.3125vw; 
    border: 0.1042vw solid rgba(255, 255, 255, 0.336); 
    padding: 0.5208vw 0.4167vw 0.5208vw 0.5208vw; 
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 0.5208vw; 
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: #c5c5c5;
}

.search-input {
    background-color: transparent;
    outline: none;
    border: none;
    color: #c5c5c5;
    text-align: center;
    font-size: 0.8333vw; 
    width: 100%;
}


.job-button {
    width: 10.7vw;
    border-radius: .4vw;
    height: 3.9vw;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-flex; 
    flex-direction: row;
    align-items: center;
    padding: 0.5vw;
    color: rgba(255, 255, 255, 0.74);
    font-family: 'Cairo', sans-serif;
    position: relative;
    flex-shrink: 0; 
}




.job-count {
    font-size: 0.7vw;
    color: #8888889c;
    margin-top: 0.3vw;
}

.icon {
    font-size: 1vw;
    width: 1.8vw;
    height: 1.8vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.3vw;
    position: relative;
    margin-right: 0.5vw;
}

.job-title {
    font-size: 0.9vw;
    font-weight: 600;
    margin-right: 0.5vw;
}

.online-count {
    font-size: 0.7vw;
    color: #51cf66;
    display: flex;
    align-items: center;
}

.online-icon {
    width: 0.5vw;
    height: 0.5vw;
    background-color: #51cf66;
    border-radius: 50%;
    position: relative;
}

.online-icon::after {
    content: '';
    position: absolute;
    width: 0.7vw;
    height: 0.7vw;
    background-color: rgba(81, 207, 102, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.players-container {
    display: flex;
    flex-wrap: wrap;
    gap: .5vw;
    padding: .5vw;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: .2vw;
    margin-left: 3vw;
    overflow-y: auto;
    max-height: 30vw;
}

.player {
    width: 15vw;
    height: 3.6vw;
    background: rgb(20, 30, 40);
    background: radial-gradient(circle, rgba(20, 30, 40, 0.7) 0%, rgba(15, 25, 35, 0.9) 100%);
    border-radius: .5vw;
    border: solid 1px rgba(255, 255, 255, 0.212);
    margin: 0.5vw;
    display: flex;
    align-items: flex-start;
    padding: 0.5vw;
    position: relative;
}

.avatar {
    width: 2.6vw;
    height: auto;
    border-radius: 50%;
    margin-right: 1vw;
    margin-top: 0.6vw;
}

.name {
    font-size: 0.7vw;
    color: #ffffff;
    margin-top: 0.6vw;
    font-family: 'Cairo', sans-serif;
}

.rank {
    font-size: 0.8vw;
    color: #fdfdfd;
    display: flex;
    align-items: center;
    margin-top: 0.2vw;
    font-family: 'Cairo', sans-serif;
}

.rank-circle {
    width: 0.5vw;
    height: 0.5vw;
    border-radius: 50%;
    margin-left: 0.3vw;
}

.player-stats {
    position: absolute;
    right: 0.5vw;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

.ping {
    font-size: 0.7vw;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.2vw;
}

.ping-icon {
    font-size: 0.8vw;
    color: #51cf66;
    margin-left: 0.3vw;
}

.playtime {
    font-size: 0.7vw;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.playtime-icon {
    margin-left: 0.3vw;
    font-size: 0.7vw;
    color: #51cf66;
}

.icon-1 { background: #ff6b6b; }
.icon-2 { background: #789cb9; }
.icon-3 { background: #51cf66; }
.icon-4 { background: #ffd43b; }
.icon-5 { background: #748ffc; }
.icon-6 { background: #a461d8; }


.line-container {
    position: absolute;
    top: 50%;
    right: 7.7vw;
    transform: translateY(-50%);
    width: 2vw;
    height: 1vw;
}

.horizontal-line {
    width: 60%;
    height: 1px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.half-square-outline {
    position: absolute;
    top: -0.35vw;
    right: -1px;
    width: .7vw;
    height: .7vw;
    border: 1px solid #fff;
    border-left: none;
    border-top: none;
    background-color: transparent;
    transform: rotate(140deg);
}
.id-text {
    position: absolute;
    left: 8.4vw;
    top: 1.2vw;
    font-size: 0.6vw;
    color: #fff;
    font-family: 'Cairo', sans-serif;
}

/* New Styles for the Close Button */
.close-button {
    position: absolute;
    top: 1vw;
    right: 1vw;
    width: 25px;
    height: 25px;
    border-radius: 20px;
    border: 1px solid white;
    background: transparent;
    transition: 0.2s ease-in-out;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-button .line {
    position: absolute;
    width: 15px;
    height: 1px;
    background: white;
    transform-origin: center;
}

.close-button .line:nth-child(1) {
    transform: rotate(45deg);
}

.close-button .line:nth-child(2) {
    transform: rotate(-45deg);
}

.close-button:hover {
    transform: rotate(90deg);
}
.horizontall-lline {
    position: absolute;
    width: 37%;
    height: 2px;
    left: 44.5vw;
    top: 1.2svw;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.horizontall-lline1 {
    position: absolute;
    width: 15%;
    height: 2px;
    left: 20vw;
    top: 1.2svw;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.mrb3 {
    position: absolute;
    top: -1.2vw;
    right: 28.7vw;
    width: 2vw;
    height: 2vw;
    overflow: hidden;
}

.mrb3::before {
    content: '';
    position: absolute;
    width: 1.4vw;
    height: 1.4vw;
    border: 1px solid #fff;
    border-left: none;
    border-top: none;
    background-color: transparent;
    border-radius: 50%;
    bottom: 0;
    transform: rotate(320deg);
}

/* New Styles for the Player List Title */
.player-list-title {
    position: absolute;
    top: 0.5vw;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5vw;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    text-align: center;
    z-index: 1;
}
.horizontall-lline3 {
    position: absolute;
    width: 7%;
    height: 2px;
    left: 2vw;
    top: 1.3svw;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.jobs-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-top: 2vw;
    margin-left: 4vw;
}

.jobs-container {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 80%;
    gap: 1vw;
    padding: 5px;
}

.arrow {
    cursor: pointer;
    font-size: 1.5vw;
    color: #fff;
    user-select: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.arrow:hover {
    opacity: 1;
}

.left-arrow {
    margin-right: 1vw;

}

.right-arrow {
    margin-right: 1vw;

}



.players-container::-webkit-scrollbar {
    width: 8px;
}

.players-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5); 
    border-radius: 4px;
}

.players-container::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1); 
}
