

/*.avatar_frame {
  position: absolute !important;
  transform: scale(1.18);
  border-radius: 0 !important;
  z-index: 2;
  box-shadow: none !important;
  outline: none !important;
}*/

.back_content {
  display: block;
  filter: grayscale(1);
  height: 130px;
  width: auto;
  background-size: cover !important;
  background-position: center !important;
  transition: 0.3s;
  cursor: pointer;
  border-radius: 12px;
  border: 2px solid transparent;
}

.back_content:hover {
  transition: 0.3s;
  filter: none;
}

.back_content video {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
  border-radius: 12px;
  position: relative !important;
}

input[name="background"]:checked + label {
  border: 2px solid var(--span);
  transition: 0.3s;
  filter: none;
}

.profile_settings_inputs {
  display: flex;
  justify-items: stretch;
  flex-direction: column;
  width: 40%;
  gap: 15px;
}

.background {
  position: absolute;
  visibility: hidden;
}

.profile_settings_backs_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)) !important;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 450px;
  margin: 7px 0 10px;
  width: 100%;
  grid-gap: 10px;
  gap: 10px;
}

/* NEW PROFILES STYLE */

.profile_user_card {
  overflow: hidden;
  border-radius: 16px;
  padding: 5px;
}

.user_back,
.user_back video {
  display: block;
  width: 100%;
  height: 14em;
  border-radius: 1em;
  position: relative;
}

video {
  position: absolute !important;
  object-fit: cover;
  display: block;
  width: 100%;
  border-radius: 11px 11px 0 0;
}

.user_settings {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 15px;
  top: 15px;
  z-index: 100;
}

.user_settings svg {
  fill: white;
  width: 17px;
  height: 17px;
  opacity: 0.5;
  transition: 0.3s;
}

.user_settings:hover svg {
  opacity: 1;
}

.user_socials {
  width: max-content;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  background: var(--transparent);
  backdrop-filter: blur(6px);
  border-radius: 25px;
}

.header_user_info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 100%;
  padding: 15px;
  position: relative;
  justify-content: flex-end;
}

.social_button,
.social_button_dsicord {
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  cursor: pointer;
}

.social_button svg,
.social_button_dsicord svg {
  width: auto;
  height: 20px;
  opacity: 0.5;
  transition: 0.3s;
}

.social_button:hover svg,
.social_button_dsicord:hover svg {
  opacity: 1;
}

.header_user_info img {
  position: absolute;
  left: 2%;
  height: 98px;
  width: 98px;
  border-radius: 60px;
  bottom: -22%;
}

@media (max-width: 768px) {
  .header_user_info img {
    left: 7%;
  }
}

.user_balance {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: var(--money-bg);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  justify-content: center;
}

.user_sec_block {
  display: flex !important;
  flex-direction: row;
  height: max-content !important;
  justify-content: flex-end;
  padding: 15px 20px;
  gap: 20px;
}

.user_sec_block img {
  width: 70px;
  height: auto;
  cursor: help;
}

.balance_info {
  display: flex;
}

.balance_count {
  font-size: 14px;
  font-weight: 500;
  color: var(--money);
}

.user_balance svg {
  width: 16px;
  height: 16px;
  fill: var(--money);
}

.user_menu_short {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: space-between;
}

.user_menu_short a {
  background: var(--button);
  border-radius: 8px;
  padding: 10px;
  transition: 0.3s;
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user_menu_short a svg {
  width: 20px;
  height: auto;
  fill: var(--text-custom);
}

.a_active {
  background: var(--span-middle) !important;
}

.a_active svg {
  fill: var(--span) !important;
}

.user_menu_short a:hover {
  background: var(--button-hover);
}

.user_third_block {
  height: 100% !important;
  background: var(--transparent);
  padding: 20px;
  margin: 0 10px 10px;
  display: flex !important;
  flex-direction: column;
  border-radius: 12px;
  gap: 7px;
}

.user_nickname {
  display: flex;
  font-size: 24px;
  font-weight: 700;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: max-content;
}

.user_nickname svg {
  width: 15px;
  height: auto;
  fill: var(--text-default);
  opacity: 0.1;
  transition: 0.3s;
}

.user_nickname:hover svg {
  opacity: 1;
}

.user_status_server {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.user_status {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.status_title {
  font-size: 11px;
  opacity: 0.5;
  color: var(--text-custom);
}

.status_content {
  color: var(--text-custom);
  font-size: 14px;
}

.user_badge {
  display: flex;
  width: max-content;
  padding: 5px 10px 5px 8px;
  border-radius: 25px;
  background: var(--transparent);
  font-size: 11px;
  font-weight: 600;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.user_badge span {
  display: flex;
  height: 12px;
  width: 12px;
  border-radius: 25px;
}

.user_roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: row;
}

.badge_player {
  color: var(--text-custom);
  background: rgb(152 158 202 / 20%);
}

.badge_player_circle {
  background: var(--text-custom) !important;
}

.badge_admin {
  color: #3c96ff;
  background: rgba(60, 150, 255, 0.2);
}

.badge_admin_circle {
  background: #3c96ff !important;
}

.badge_vip {
  color: #ffe600;
  background: rgba(255 230 0/ 20%);
}

.badge_vip_circle {
  background: #ffe600 !important;
}

.badge_top-1 {
  color: var(--top-one);
  background: rgb(255 219 92 / 20%);
}

.badge_top-2 {
  color: var(--top-two);
  background: rgb(191 224 255 / 20%);
}

.badge_top-3 {
  color: var(--top-three);
  background: rgb(248 167 133 / 20%);
}

.badge_top_circle-1 {
  background: var(--top-one) !important;
}

.badge_top_circle-2 {
  background: var(--top-two) !important;
}

.badge_top_circle-3 {
  background: var(--top-three) !important;
}

.badge_banned {
  color: #bf0d0d;
  background: rgb(191 13 13 / 20%);
}

.badge_banned_circle {
  background: #bf0d0d !important;
}

.title_head {
  display: flex;
  padding: 10px 10px 20px 10px;
  color: var(--text-custom);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  align-items: center;
  border-bottom: 1px solid var(--bottom-line-table);
}

.title_head svg {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
@media (max-width: 768.9px) {
  .country_container,
  .faceit_container,
  .adm_container,
  .steam_container,
  .stats_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    background: var(--transparent);
    padding: 20px;
    border-radius: 12px;
    margin: 10px 0;
  }
}

@media (min-width: 769px) {
  .country_container,
  .faceit_container,
  .adm_container,
  .steam_container,
  .stats_container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    background: var(--transparent);
    padding: 20px;
    border-radius: 12px;
    margin: 10px 0;
  }
}

.country_column,
.faceit_column,
.adm_column,
.steam_column,
.stats_column {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}

.title_column {
  font-size: 12px;
  color: var(--text-custom);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .content_column {
    display: flex;
    font-size: 12px;
    font-weight: 500;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    color: var(--text-custom);
  }
}

@media (min-width: 769px) {
  .content_column {
    display: flex;
    font-size: 16px;
    font-weight: 700;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: var(--text-custom);
  }
}

.content_column img {
  width: 24px;
  height: auto;
}

.content_column svg {
  width: 16px;
  height: auto;
  fill: var(--text-custom);
}

@media (max-width: 1299px) {
  .general_info {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}

@media (min-width: 1300px) {
  .general_info {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }
}

.tables_info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.fill_blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.adm_warn_content {
  background: var(--transparent);
  width: 100%;
  border-radius: 8px;
  padding: 10px;
  color: var(--text-custom);
}

.bans_comms_header li span,
.bans_comms_content li span,
.transaction_header li span,
.transaction_content li span {
  color: var(--text-custom);
}

.transaction_content li span img {
  height: 32px;
  width: auto;
}

.comms_svg svg,
.trans_svg svg {
  fill: var(--text-custom);
  opacity: 0.5;
  width: 20px;
  height: auto;
}

@media (max-width: 768.9px) {
  .bans_comms_content li,
  .transaction_content li {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    background-color: var(--bg-table);
    border-radius: 8px;
    user-select: none;
    justify-items: start;
    width: 100%;
    padding: 15px 20px;
    font-size: 12px;
    align-items: center;
  }

  .bans_comms_header li,
  .transaction_header li {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    background-color: var(--transparent);
    border-radius: 8px;
    user-select: none;
    justify-items: start;
    width: 100%;
    padding: 10px 20px;
    font-size: 12px;
  }

  .hide_this {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .bans_comms_content li,
  .transaction_content li {
    display: grid;
    grid-template-columns: 0.5fr 2fr 0.8fr 0.5fr 0.7fr;
    background-color: var(--bg-table);
    border-radius: 8px;
    user-select: none;
    justify-items: start;
    width: 100%;
    padding: 15px 20px;
    font-size: 12px;
    align-items: center;
  }

  .bans_comms_header li,
  .transaction_header li {
    display: grid;
    grid-template-columns: 0.5fr 2fr 0.8fr 0.5fr 0.7fr;
    background-color: var(--transparent);
    border-radius: 8px;
    user-select: none;
    justify-items: start;
    width: 100%;
    padding: 10px 20px;
    font-size: 12px;
  }

  .hide_this {
    display: block;
  }
}

.bans_comms_container,
.transaction_container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bans_comms_content ul,
.transaction_content ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 139px;
  overflow: hidden;
  overflow-y: scroll;
}

.exp_badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: rgb(152 158 202 / 20%);
  border-radius: 25px;
  color: var(--text-custom);
}

.perm {
  color: var(--red) !important;
}

.expired {
  text-decoration: line-through;
}

.unbanned {
  color: var(--green) !important;
  background: rgb(100 206 130 / 20%) !important;
}

.empty_blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: "Unbounded";
  font-weight: 700;
  border-radius: 12px;
  width: 100%;
  border: 1px solid var(--transparent);
  height: 187px;
  color: var(--text-custom);
}

.friends_list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(14em, 1fr)) !important;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  overflow: initial;
  align-content: flex-start;
  height: 486px;
  overflow: hidden;
  overflow-y: scroll;
  align-items: center;
}

.friend_card img {
  width: 30px;
  height: 30px;
  border-radius: 4px;
}

.friend_card {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  background: var(--transparent);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.friend_card:hover {
  background: var(--grey);
}

.friend_info {
  display: flex;
  flex-direction: column;
}

.friend_nick {
  font-size: 14px;
  color: var(--span);
}

.friend_lc {
  font-size: 10px;
  opacity: 0.5;
  color: var(--text-custom);
}

.user_online_status {
  position: relative;
  display: none;
}

.user_online_status::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.empty_friends {
  height: 486px;
  font-size: 20px;
  font-family: "Unbounded";
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-custom);
}

.settings_container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.settings_inp_inf {
  display: flex;
  flex-direction: column;
  width: 40%;
  gap: 10px;
}

.profile_settings_backs {
  width: 60%;
}

.online_pos {
  position: absolute;
  left: 15px;
  top: 20px;
}

/* VIP Tab Styles */
.vip_card_main {
  border-radius: 16px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /*background: var(--bg-table);*/
}


.vip_container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.vip_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.vip_card {
  background: linear-gradient(135deg, rgb(19 18 19 / 15%), rgb(135 113 113 / 5%));
  border-radius: 12px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #a87c0f;
}

.vip_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vip_card_inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vip_card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 230, 0, 0.3);
}

.vip_badge {
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow, #ffe600);
  text-transform: uppercase;
}

.vip_badge svg.vip_icon {
  width: 18px;
  height: 18px;
  fill: var(--yellow, #ffe600);
}

.vip_status {
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.vip_status:hover {
  transform: scale(1.1);
}

.vip_status.active {
  background: rgba(100, 206, 130, 0.3);
  color: var(--green);
}

.vip_status.perm {
  background: rgba(255, 230, 0, 0.4);
  color: var(--yellow, #ffe600);
}

.vip_status.expired {
  background: rgba(191, 13, 13, 0.3);
  color: var(--red, #bf0d0d);
  text-decoration: line-through;
}

.vip_card_body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.vip_info_label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-custom);
  opacity: 0.8;
}

.vip_info_value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-custom);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip_info_value svg.content_icon {
  width: 16px;
  height: 16px;
  fill: var(--text-custom);
}

.vip_info_value.perm {
  color: var(--yellow, #ffe600);
}

.vip_info_value.expired {
  color: var(--red, #bf0d0d);
  text-decoration: line-through;
}

.vip_card_footer {
  text-align: center;
  padding-top: 10px;
}

.btn_vip_manage {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(90deg, var(--primary-color, #007bff), var(--primary-hover, #0056b3));
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn_vip_manage:hover {
  background: linear-gradient(90deg, var(--primary-hover, #0056b3), var(--primary-color, #007bff));
  transform: translateY(-2px);
}

.vip_grid_footer {
  text-align: center;
  padding-top: 15px;
}

.btn_vip_buy {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--yellow, #4a4a4a), var(--primary-color, #fc0a0a));
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn_vip_buy:hover {
  background: linear-gradient(90deg, var(--yellow, #4a4a4a), var(--primary-color, #fc0a0a));
  transform: translateY(-2px);
}

.btn_vip_buy_large {
  font-size: 18px;
  max-width: 320px;
  margin: 0 auto;
}

.vip_empty {
  /*background: linear-gradient(135deg, rgba(255, 230, 0, 0.1), rgba(0, 0, 0, 0.1));*/
  /*border: 1px solid rgba(255, 230, 0, 0.4);*/
  border-radius: 16px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: zoomIn 1s ease-in-out;
  margin-top: 10px;
}

.vip_empty_content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vip_empty_icon {
  width: 40px;
  height: 40px;
  fill: var(--yellow, #ffe600);
  margin: 0 auto;
}

.vip_empty_content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-custom);
  font-family: unbounded;
}

.vip_empty_content p {
  font-size: 16px;
  color: var(--text-secondary);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .vip_card_main {
      padding: 15px;
      margin-top: 0px;
  }

  .vip_grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 10px;
  }

  .vip_card {
      padding: 10px;
  }

  .vip_badge {
      font-size: 13px;
  }

  .vip_status {
      font-size: 12px;
  }

  .vip_info_label {
      font-size: 12px;
  }

  .vip_info_value {
      font-size: 13px;
  }

  .btn_vip_manage, .btn_vip_buy {
      padding: 8px 16px;
      font-size: 14px;
  }

  .vip_empty {
      min-height: 180px;
      padding: 15px;
  }

  .vip_empty_content h3 {
      font-size: 18px;
  }

  .vip_empty_content p {
      font-size: 14px;
  }
}

@media (max-width: 576px) {
  .vip_grid {
      grid-template-columns: 1fr;
  }

  .vip_card {
      padding: 8px;
  }

  .vip_badge {
      font-size: 12px;
  }

  .vip_info_label {
      font-size: 11px;
  }

  .vip_info_value {
      font-size: 12px;
  }

  .vip_empty_icon {
      width: 32px;
      height: 32px;
  }
}

/* Бейдж Разработчик */
.badge_developer {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  font-family: unbounded;
}

.badge_developer:hover {
  transform: scale(1.05);
}

.badge_developer_circle {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  animation: pulse 2s infinite ease-in-out;
}

.badge_developer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
  );
  animation: shine 3s infinite linear;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(1.5);
      opacity: 0.7;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@keyframes shine {
  0% {
      left: -100%;
  }
  50% {
      left: 100%;
  }
  100% {
      left: 100%;
  }
}

/* Анимация для кольца онлайна */
@keyframes pulse-online {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}

.online_status_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.online_status_ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid transparent;
  border-radius: 50%;
  z-index: 1;
  left: 2%;
  margin-bottom: -204px;
}

@media (max-width: 768px) {
  .online_status_ring {
    left: 7%;
  }
}

.online_status_container[data-online="1"] .online_status_ring {
  border: 3px solid var(--green);
  animation: pulse-online 2s infinite ease-in-out;
}

.online_status_container[data-online="0"] .online_status_ring {
  border: 3px solid var(--red);
}

.online_status_text {
  position: absolute;
  bottom: -30px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-custom);
  background: var(--transparent);
  padding: 4px 8px;
  border-radius: 12px;
  left: 1%;
  margin-bottom: 208px;
}

.online_status_container[data-online="1"] .online_status_text {
  color: var(--green);
}

.online_status_container[data-online="0"] .online_status_text {
  color: var(--red);
}

@keyframes pulse-online {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}

@media (max-width: 768px) {
  .header_user_info img {
    left: 7%;
  }
  .avatar_container {
    left: 7%;
  }
}