.userContainer {
 	display: flex; 
}

input[type="text"] {
  	border-radius: var(--radius-2) !important;
  	flex: 1 0;
  	padding: 10px;
  	width: 100%;
  	max-width: inherit !important;
}

#searchContainer {
 	margin-top: 10px;
  	display: flex;
  	justify-content: flex-end;
}

.userInfo {
 	flex: none;
  	align-self: center;
}

.self-center {
 	align-self: center; 
}

.text-left{text-align: left;}

.userName {
 	display: block;
  	text-align: left;
  	margin-left: 20px;
}

.gameNick {
  color: rgba(107, 114, 128, 0.6);
  font-size: 12px;
}

.button_container {
 	display: flex;
  	gap: 10px;
  	flex-wrap: wrap;
}

.button_container > button {
 	padding: 15px 10px;
  	flex: 1 0 18%;
  	border: none;
  	border-radius: var(--radius-2);
  	color: #fff;
  	font-weight: 700;
  	background-color: var(--box--backgroundColor);
  	border-radius: var(--radius-2);
  	text-shadow: 1px 1px black;
}

.button_container > button:hover {
 	cursor: pointer; 
}

.button_container > button span:nth-child(1) {
 	float: left; 
}

.button_container > button span:nth-child(2) {
 	float: right; 
}

.button_container > button.leaders{ background-color: #FF003340; }
.button_container > button.developers { background-color: #2958DA40; }
.button_container > button.managers { background-color: #71AAE240; }
.button_container > button.members { background-color: #E86B1F40; }
.button_container > button.trials { background-color: #66999940; }
.button_container > button.squads { background-color: #aaaaaa40; }
.button_container > button.legends { background-color: #E7DD4F40; }
.button_container > button.friends { background-color: #ED0C6240; }
.button_container > button.cwmanagers { background-color: #8175BB40; }

.button_container > button.leaders:hover { background-color: #FF0033; }
.button_container > button.developers:hover { background-color: #2958DA; }
.button_container > button.managers:hover { background-color: #71AAE2; }
.button_container > button.members:hover { background-color: #E86B1F; }
.button_container > button.trials:hover { background-color: #669999; }
.button_container > button.squads:hover { background-color: #AAA; }
.button_container > button.legends:hover { background-color: #E7DD4F; }
.button_container > button.friends:hover { background-color: #ED0C62; }
.button_container > button.cwmanagers:hover { background-color: #8175BB; }

.button_container > button.leaders.selected { background-color: #FF0033; }
.button_container > button.developers.selected { background-color: #2958DA; }
.button_container > button.managers.selected { background-color: #71AAE2; }
.button_container > button.members.selected { background-color: #E86B1F; }
.button_container > button.trials.selected { background-color: #669999; }
.button_container > button.squads.selected { background-color: #AAA; }
.button_container > button.legends.selected { background-color: #E7DD4F; }
.button_container > button.friends.selected { background-color: #ED0C62; }
.button_container > button.cwmanagers.selected { background-color: #8175BB; }

.rank {
  	font-size: 13px;
  	color: rgb(127 134 148);
  	font-weight: 600;
}
/* .rank {
    border-radius: 5px;
    padding: 2px 5px;
    font-weight: 800;
    width: max-content;
    font-size: 11px;
    text-shadow: 1px 1px black;
}

.rank.leaders {background: #ff0033;}
.rank.leaders { background-color: #FF0033; }
.rank.developers { background-color: #2958DA; }
.rank.managers { background-color: #71AAE2; }
.rank.members { background-color: #FFFDDE; }
.rank.trials { background-color: #669999; }
.rank.squads { background-color: #AAA; }
.rank.legends { background-color: #E7DD4F; }
.rank.friends { background-color: #ED0C62; }
.rank.cwmanagers { background-color: #8175BB; }*/

.clan-tff.manager {color: #71AAE2;}
.clan-tff.leader, .clan-tff.co-leader {color: #ff0033;}
.clan-tff.member {color: #FFFDDE;}
.clan-tff.squad {color: #AAA;}
.clan-tff.trial {color: #669999;}
.clan-tff.developer {color: #2958DA;}

/****************************************************************************************************/
.activity {
 	display: flex; 
  	flex-direction: column;
  	justify-content: center;
  	align-items: center;
}

.activity span:nth-child(2) {
 	color: rgb(107 114 128); 
}

.flag {
  width: 24px;
}

@media only screen and (max-width: 797px) {
  .hidden {
      	display: none; 
  }
  
  .button_container > button {
   	flex: 1 0 40%; 
  }
  
  .flag { width: 16px; }
  .gameNick { font-size: 10px;}
  .rank { font-size: 11px; }
  .discordButton {font-size: 10px !important;}
}


#tffTeam .leaveReason {
   font-size: 1.1em;
   text-transform: capitalize;
}

#tffTeam .leaveReason i {
   margin: 0 5px 0 0;
   font-size: 0.9em;
}

#tffTeam .leaveReason.left {
   color: #f8a436;
}

#tffTeam .leaveReason.kicked {
   color: #d13636;
}

#tffTeam .leaveReason.retired {
   color: #31aa47;
}

.discordButtonContainer {
    text-align: center;
}

.discordButton {
    display: inline-flex;
    align-items: center;
    background-color: #7289da; /* Discord brand color */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.discordButton i {
    margin-right: 5px;
}

.discordButton:hover {
    background-color: #5a6ebc; /* Darker shade for hover effect */
}




