/* [project]/styles/globals.css [client] (css) */
:root {
  color: #111;
  background-color: #050505;
  font-family: Inter, Segoe UI, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: none;
  min-height: 100vh;
  margin: 0;
}

body::-webkit-scrollbar {
  background: none;
  width: 0;
  height: 0;
  display: none;
}

body::-webkit-scrollbar-track {
  background: none;
  display: none;
}

body::-webkit-scrollbar-thumb {
  background: none;
  display: none;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  background: none;
  width: 0;
  height: 0;
  display: none;
}

html::-webkit-scrollbar-track {
  background: none;
  display: none;
}

html::-webkit-scrollbar-thumb {
  background: none;
  display: none;
}

.navbar {
  z-index: 100;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #fff1;
  border-bottom: 1px solid #333;
  padding: 0;
  position: sticky;
  top: 0;
}

.nav-container {
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
}

.nav-logo {
  color: #fff;
  align-items: center;
  height: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
}

.nav-logo-img {
  width: auto;
  height: 75px;
  margin-left: -30px;
}

.discord-logo-link {
  border-radius: 4px;
  align-items: center;
  padding: .5rem;
  transition: all .2s;
  display: flex;
}

.discord-logo-link:hover {
  background: #5865f233;
  transform: scale(1.1);
}

.nav-links {
  align-items: center;
  gap: 2rem;
  display: flex;
}

.nav-link {
  color: #ccc;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  transition: all .2s;
}

button.nav-link {
  color: #ccc;
  font-family: inherit;
  font-size: 1rem;
}

.nav-link:hover {
  color: #fff;
  background: #333;
  border-color: #555;
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #1e2329 0%, #2a475e 100%);
  border-color: #66c0f4;
}

.logout-btn {
  margin-left: 1rem;
}

.profile-button-container {
  position: relative;
}

.profile-avatar-btn {
  cursor: pointer;
  background: #ffffff1a;
  border: 2px solid #fff3;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transition: all .2s;
  display: flex;
  overflow: hidden;
}

.profile-avatar-btn:hover {
  border-color: #66c0f480;
  transform: scale(1.05);
  box-shadow: 0 0 10px #66c0f44d;
}

.profile-avatar-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.profile-avatar-placeholder {
  color: #ccc;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.profile-dropdown {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  background: #141414f2;
  border: 1px solid #333;
  border-radius: 8px;
  flex-direction: column;
  min-width: 150px;
  display: flex;
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px #0000004d;
}

.profile-dropdown-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  padding: .75rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  transition: background .2s;
}

.profile-dropdown-item:hover {
  background: #ffffff1a;
}

.profile-dropdown-item:first-child {
  border-bottom: 1px solid #333;
}

.settings-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.settings-header {
  color: #fff;
  margin-bottom: 2rem;
}

.settings-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.settings-content {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
}

.settings-section {
  margin-bottom: 2rem;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.settings-item {
  margin-bottom: 1.5rem;
}

.settings-item:last-child {
  margin-bottom: 0;
}

.settings-item-content {
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  display: flex;
}

.settings-item-content h3 {
  color: #fff;
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.settings-item-content p {
  color: #888;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.delete-account-button {
  color: #ef4444;
  cursor: pointer;
  white-space: nowrap;
  background: #ef444433;
  border: 1px solid #ef444480;
  border-radius: 6px;
  padding: .75rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.delete-account-button:hover {
  background: #ef44444d;
  border-color: #ef4444;
}

.modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 10000;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  animation: .2s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.delete-modal {
  background: #141414f2;
  border: 1px solid #fff3;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  animation: .3s slideUp;
  position: relative;
  box-shadow: 0 8px 32px #00000080;
}

.delete-modal-header {
  margin-bottom: 1.5rem;
}

.delete-modal-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.delete-modal-content {
  margin-bottom: 1.5rem;
}

.delete-warning {
  color: #ef4444;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.delete-modal-content p {
  color: #fff;
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.6;
}

.delete-confirm-input {
  color: #fff;
  box-sizing: border-box;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 6px;
  width: 100%;
  margin-top: .5rem;
  padding: .75rem;
  font-family: inherit;
  font-size: 1rem;
}

.delete-confirm-input:focus {
  background: #ffffff26;
  border-color: #ef4444;
  outline: none;
}

.delete-confirm-input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.delete-error {
  color: #ef4444;
  margin-top: .5rem;
  font-size: .9rem;
}

.delete-modal-actions {
  justify-content: flex-end;
  gap: 1rem;
  display: flex;
}

.delete-modal-cancel, .delete-modal-confirm {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  min-width: 120px;
  padding: .75rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: all .2s;
}

.delete-modal-cancel {
  color: #ffffffb3;
  background: #ffffff0d;
  border: 1px solid #fff3;
}

.delete-modal-cancel:hover:not(:disabled) {
  color: #fff;
  background: #ffffff1a;
  border-color: #ffffff4d;
}

.delete-modal-confirm {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.delete-modal-confirm:hover:not(:disabled) {
  background: #ef44444d;
  border-color: #ef4444;
}

.delete-modal-cancel:disabled, .delete-modal-confirm:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.settings-toggle {
  flex-shrink: 0;
  width: 50px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.settings-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.settings-toggle-slider {
  cursor: pointer;
  background-color: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 24px;
  transition: all .3s;
  position: absolute;
  inset: 0;
}

.settings-toggle-slider:before {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: all .3s;
  position: absolute;
  bottom: 2px;
  left: 2px;
}

.settings-toggle input:checked + .settings-toggle-slider {
  background-color: #66c0f44d;
  border-color: #66c0f4;
}

.settings-toggle input:checked + .settings-toggle-slider:before {
  background-color: #66c0f4;
  transform: translateX(26px);
}

.settings-toggle input:disabled + .settings-toggle-slider {
  opacity: .5;
  cursor: not-allowed;
}

.settings-loading {
  color: #888;
  padding: .5rem 0;
  font-size: .9rem;
}

.main-content {
  background: none;
  min-height: calc(100vh - 100px);
  padding: 2rem;
  position: relative;
}

.page-content {
  width: 100%;
}

.main-content:before {
  content: "";
  filter: blur(12px) brightness(.3);
  z-index: -1;
  background-image: url("/wp2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  inset: 0;
}

.main-content:after {
  content: "";
  z-index: -1;
  background: #0000004d;
  position: fixed;
  inset: 0;
}

.page {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
}

.login-page {
  background: #1b2838;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  position: relative;
}

.login-page:before {
  content: "";
  filter: blur(8px);
  z-index: 0;
  background-image: url("/wp2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  inset: 0;
}

.login-card {
  text-align: center;
  z-index: 1;
  background: linear-gradient(135deg, #1e2329 0%, #2a475e 100%);
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  width: min(460px, 100%);
  padding: 3rem;
  position: relative;
  box-shadow: 0 8px 32px #00000080;
}

.login-logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.login-card p {
  color: #c7d5e0;
  margin-bottom: 2rem;
  font-size: .95rem;
}

.card {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  text-align: center;
  color: #fff;
  background: #fff1;
  border: 1px solid #333;
  border-radius: 16px;
  width: min(460px, 100%);
  padding: 3rem;
  box-shadow: 0 18px 35px #0a0a0a2e;
}

.card h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.card p {
  color: #5b5b5b;
  margin-bottom: 2rem;
}

.card.error {
  color: #c33;
  background: #fee;
}

.steam-btn {
  color: #1b2838;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: linear-gradient(#a4d007 0%, #80a005 100%);
  border: none;
  border-radius: 2px;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
  display: inline-flex;
  box-shadow: 0 2px 4px #0000004d;
}

.steam-btn:hover {
  background: linear-gradient(#b8e00a 0%, #8fb006 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #0006;
}

.steam-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px #0000004d;
}

.grey-screen {
  background: #bcbcbc;
  min-height: 100vh;
}

.dashboard-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.dashboard-welcome-box {
  background: linear-gradient(135deg, #66c0f426 0%, #66c0f40d 100%);
  border: 2px solid #66c0f44d;
  border-radius: 16px;
  margin-bottom: 2rem;
  padding: 2.5rem;
  box-shadow: 0 8px 32px #66c0f433;
}

.dashboard-welcome-content {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  display: flex;
}

.dashboard-welcome-title {
  color: #66c0f4;
  text-shadow: 0 2px 10px #66c0f44d;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.dashboard-welcome-message {
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  display: flex;
}

.dashboard-welcome-text {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.dashboard-welcome-text strong {
  color: #66c0f4;
  font-weight: 600;
}

.dashboard-welcome-button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #66c0f4 0%, #4a9cd4 100%);
  border: none;
  border-radius: 8px;
  margin-top: .5rem;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 4px 15px #66c0f466;
}

.dashboard-welcome-button:hover {
  background: linear-gradient(135deg, #7acff4 0%, #5aacf4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #66c0f480;
}

.dashboard-header {
  color: #fff;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.dashboard-overview-content {
  flex-direction: column;
  width: 100%;
  display: flex;
}

.player-id {
  color: #888;
  font-size: .9rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.accolade-card {
  flex-direction: column;
  gap: .75rem;
  display: flex;
  overflow: hidden;
}

.accolade-list {
  flex-direction: column;
  gap: 0;
  width: calc(100% + 3rem);
  margin: 0 -1.5rem -1.5rem;
  display: flex;
}

.accolade-row {
  background: linear-gradient(135deg, #ffffff0d 0%, #ffffff05 100%);
  border: none;
  border-top: 1px solid #ffffff0d;
  border-radius: 0;
  flex-direction: column;
  padding: .75rem 1.5rem;
  transition: all .2s;
  display: flex;
  position: relative;
  box-shadow: inset 0 1px #ffffff1a, 0 2px 8px #0003;
}

.accolade-row:before {
  content: "";
  background: linear-gradient(90deg, #0000 0%, #fff3 50%, #0000 100%);
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.accolade-row:first-child {
  border-top: none;
}

.accolade-row:last-child {
  border-bottom: none;
}

.accolade-row:hover {
  background: linear-gradient(135deg, #ffffff14 0%, #ffffff0a 100%);
  box-shadow: inset 0 1px #ffffff26, 0 4px 12px #0000004d;
}

.accolade-label {
  color: #e5e7eb;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: .15rem;
  font-weight: 600;
  display: flex;
}

.accolade-reward {
  color: #a0e554;
  flex-shrink: 0;
  margin-left: auto;
  font-size: .92rem;
  font-weight: 600;
}

.accolade-values {
  color: #9ca3af;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
  display: flex;
}

.accolade-progress {
  font-weight: 600;
}

.accolade-remaining {
  color: #9ca3af;
}

.dashboard-tabs {
  grid-column: 2;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 0;
  display: flex;
}

.tab-btn {
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-right: none;
  border-radius: 0;
  margin: 0;
  padding: .75rem 2rem;
  font-weight: 500;
  transition: all .2s;
}

.tab-btn:first-child {
  border-left: 1px solid #ffffff1a;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.tab-btn:last-child {
  border-right: 1px solid #ffffff1a;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.tab-btn + .tab-btn {
  margin-left: -1px;
}

.tab-btn.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  border-right: 1px solid #66c0f4 !important;
}

.tab-btn:hover {
  background: #ffffff1a;
  border-color: #fff3;
}

.owned-cars-panel {
  color: #fff;
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.owned-cars-list {
  flex-direction: column;
  gap: .35rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.owned-cars-list li {
  background: #11151d;
  border: 1px solid #1f2933;
  border-radius: 8px;
  padding: .45rem .65rem;
}

.stat-card {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  transition: opacity .2s, transform .2s;
}

.stat-card-online {
  background: #4ade8026;
  border: 1px solid #4ade8080;
  animation: 2s ease-in-out infinite alternate onlineGlow;
  box-shadow: 0 0 20px #4ade804d, 0 0 40px #4ade8026;
}

@keyframes onlineGlow {
  0% {
    box-shadow: 0 0 20px #4ade804d, 0 0 40px #4ade8026;
  }

  100% {
    box-shadow: 0 0 30px #4ade8066, 0 0 60px #4ade8033;
  }
}

.stat-card[draggable="true"], .stat-card[draggable] {
  cursor: grab;
}

.stat-card[draggable="true"]:hover, .stat-card[draggable]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0000004d;
}

.stat-card[draggable="true"]:active, .stat-card[draggable]:active {
  cursor: grabbing;
  transform: scale(.98);
}

.stat-card h3, .stat-card p, .stat-card .stat-value, .stat-card .stat-label {
  -webkit-user-select: none;
  user-select: none;
}

.stat-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  display: flex;
}

.stat-edit-button {
  color: #fff;
  cursor: pointer;
  opacity: .7;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .25rem .5rem;
  font-size: .9rem;
  transition: all .2s;
}

.stat-edit-button:hover {
  opacity: 1;
  background: #fff3;
}

.stat-edit-controls {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.stat-edit-input {
  color: #fff;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  width: 100%;
  padding: .5rem;
  font-size: 1.5rem;
  font-weight: 300;
}

.stat-edit-input:focus {
  border-color: #66c0f4;
  outline: none;
}

.stat-edit-actions {
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.stat-save-button, .stat-cancel-button {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .4rem .8rem;
  font-size: .9rem;
  transition: all .2s;
}

.stat-save-button:hover {
  background: #4caf504d;
  border-color: #4caf50;
}

.stat-cancel-button:hover {
  background: #f443364d;
  border-color: #f44336;
}

.stat-save-button:disabled, .stat-cancel-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.stat-card h3 {
  text-transform: uppercase;
  color: #888;
  letter-spacing: .5px;
  margin: 0 0 1rem;
  font-size: .9rem;
}

.stat-value {
  color: #fff;
  margin: .5rem 0;
  font-size: 2rem;
  font-weight: bold;
}

.stat-value.money {
  color: #4ade80;
}

.stat-value.repair-cost {
  color: #f87171;
}

.stat-value-favorite-car {
  white-space: nowrap;
  max-width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 0% calc(100% - 40px), #0000 100%);
  mask-image: linear-gradient(to right, #000 0% calc(100% - 40px), #0000 100%);
}

.stat-label {
  color: #888;
  margin: .5rem 0 0;
  font-size: .85rem;
}

.leaderboards-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.leaderboards-header {
  color: #fff;
  margin-bottom: 2rem;
}

.leaderboards-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.leaderboard-controls {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 2rem;
  padding: 2rem;
}

.control-group {
  margin-bottom: 1.5rem;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-group h3 {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 1rem;
  font-size: .9rem;
}

.button-group {
  flex-wrap: wrap;
  gap: .75rem;
  display: flex;
}

.stat-buttons {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
  display: grid;
}

.control-btn {
  color: #c7d5e0;
  cursor: pointer;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  transition: all .2s;
}

.control-btn:hover {
  background: #333;
  border-color: #555;
}

.control-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #1e2329 0%, #2a475e 100%);
  border-color: #66c0f4;
}

.leaderboard-content {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
}

.leaderboard-loading, .leaderboard-error, .leaderboard-empty {
  text-align: center;
  color: #888;
  margin: 0 2rem;
  padding: 3rem 0;
}

.leaderboard-error {
  color: #f44;
}

.leaderboard-table {
  overflow-x: auto;
}

.leaderboard-table table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.leaderboard-table thead {
  background: #2a2a2a;
}

.leaderboard-table th {
  text-align: left;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid #333;
  padding: 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.leaderboard-table th:first-child {
  width: 80px;
  padding-left: 2rem;
}

.leaderboard-table th:nth-child(2), .leaderboard-table th:nth-child(3) {
  padding-left: 2rem;
}

.leaderboard-table th:last-child {
  text-align: right;
  width: 180px;
  padding-right: 2rem;
}

.leaderboard-table td:last-child {
  padding-right: 2rem !important;
}

.leaderboard-table tbody tr {
  background: #ffffff05;
  transition: background .2s;
}

.leaderboard-table td {
  color: #fff;
  border-bottom: 1px solid #2a2a2a;
  padding: 1rem;
}

.leaderboard-table tbody tr:hover {
  background: #ffffff0d;
}

.leaderboard-table tbody tr.rank-gold:hover {
  background: linear-gradient(90deg, #ffd70040 0%, #ffd70026 100%);
}

.leaderboard-table tbody tr.rank-silver:hover {
  background: linear-gradient(90deg, #c0c0c040 0%, #c0c0c026 100%);
}

.leaderboard-table tbody tr.rank-bronze:hover {
  background: linear-gradient(90deg, #cd7f3240 0%, #cd7f3226 100%);
}

.rank-cell {
  color: #66c0f4;
  width: 80px;
  font-weight: bold;
  padding-left: 2rem !important;
}

.player-cell, .car-cell {
  font-weight: 500;
  padding-left: 2rem !important;
}

.value-cell {
  text-align: right;
  width: 180px;
  min-width: 180px;
  font-weight: bold;
}

.rank-gold {
  transition: background .2s;
  background: linear-gradient(90deg, #ffd70026 0%, #ffd7000d 100%) !important;
}

.rank-gold .rank-cell, .rank-gold .player-cell, .rank-gold .car-cell, .rank-gold .value-cell {
  color: gold;
  font-weight: bold;
}

.rank-silver {
  transition: background .2s;
  background: linear-gradient(90deg, #c0c0c026 0%, #c0c0c00d 100%) !important;
}

.rank-silver .rank-cell, .rank-silver .player-cell, .rank-silver .car-cell, .rank-silver .value-cell {
  color: silver;
  font-weight: bold;
}

.rank-bronze {
  transition: background .2s;
  background: linear-gradient(90deg, #cd7f3226 0%, #cd7f320d 100%) !important;
}

.rank-bronze .rank-cell, .rank-bronze .player-cell, .rank-bronze .car-cell, .rank-bronze .value-cell {
  color: #cd7f32;
  font-weight: bold;
}

.crown-icon {
  margin-right: .5rem;
  font-size: 1.2rem;
}

.leaderboard-pagination {
  border-top: 1px solid #333;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
}

.pagination-btn {
  color: #c7d5e0;
  cursor: pointer;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  padding: .5rem 1rem;
  transition: all .2s;
}

.pagination-btn:hover:not(:disabled) {
  background: #333;
  border-color: #555;
}

.pagination-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.pagination-info {
  color: #888;
  font-size: .9rem;
}

.cars-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.cars-header {
  color: #fff;
  margin-bottom: 2rem;
}

.cars-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.cars-layout {
  align-items: flex-start;
  gap: 2rem;
  display: flex;
}

.cars-list-panel {
  scrollbar-gutter: stable;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-direction: column;
  flex: 0 0 350px;
  max-height: calc(100vh - 260px);
  padding: 1.5rem;
  display: flex;
  overflow: hidden auto;
}

.cars-search-container {
  margin-bottom: 1.5rem;
}

.cars-search-input {
  color: #fff;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
}

.cars-search-input::placeholder {
  color: #888;
}

.cars-search-input:focus {
  background: #ffffff1f;
  border-color: #66c0f4;
  outline: none;
}

.cars-sort-container {
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  padding: 0;
  display: flex;
}

.cars-sort-label {
  color: #888;
  white-space: nowrap;
  margin-right: .25rem;
  font-size: .85rem;
}

.cars-sort-btn {
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: .35rem .75rem;
  font-size: .85rem;
  transition: all .2s;
}

.cars-sort-btn:hover {
  color: #ccc;
  background: #ffffff0d;
}

.cars-sort-btn.active {
  color: #66c0f4;
  background: #66c0f41a;
  font-weight: 600;
}

.manufacturer-filter {
  margin-bottom: 1.5rem;
}

.manufacturer-logos {
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  margin-bottom: .5rem;
  display: flex;
}

.manufacturer-logo {
  cursor: pointer;
  background: none;
  border: none;
  flex: 0 0 20%;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 0;
  transition: all .2s;
  display: flex;
  position: relative;
}

.manufacturer-logo:hover {
  opacity: .8;
  transform: scale(1.1);
}

.manufacturer-logo.active {
  opacity: 1;
}

.manufacturer-logo.active:after {
  content: "";
  background: #66c0f4;
  border-radius: 2px;
  width: 80%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.manufacturer-logo:not(.active) {
  opacity: .6;
}

.manufacturer-icon {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  display: flex;
}

.manufacturer-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.manufacturer-logo.active img {
  opacity: 1;
}

.manufacturer-text-fallback {
  color: #888;
  background: #ffffff1a;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: .7rem;
  font-weight: 600;
  display: flex;
}

.manufacturer-logo.active .manufacturer-text-fallback {
  color: #66c0f4;
  background: #66c0f44d;
}

.manufacturer-name {
  display: none;
}

.manufacturer-clear {
  color: #ff6464;
  cursor: pointer;
  background: #ff646433;
  border: 1px solid #ff646480;
  border-radius: 4px;
  padding: .4rem .75rem;
  font-size: .85rem;
  transition: all .2s;
}

.manufacturer-clear:hover {
  background: #ff64644d;
  border-color: #ff6464;
}

.cars-stats-panel {
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex: 1;
  min-height: 500px;
  padding: 2rem;
}

.server-groups {
  flex-direction: column;
  flex: 1;
  gap: 2rem;
  display: flex;
}

.server-group {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.server-title-button {
  cursor: pointer;
  color: #66c0f4;
  background: none;
  border: none;
  border-bottom: 1px solid #ffffff1a;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.server-title-button:hover {
  color: #88d0ff;
  border-bottom-color: #66c0f44d;
}

.server-title {
  text-align: left;
  flex: 1;
  margin: 0;
}

.server-toggle {
  text-align: center;
  min-width: 20px;
  margin: 0 .5rem;
  font-size: 1.5rem;
  font-weight: 300;
}

.server-count {
  color: #888;
  font-size: .9rem;
  font-weight: 400;
}

.cars-list {
  flex-direction: column;
  gap: .5rem;
  padding-bottom: 1rem;
  display: flex;
}

.car-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  align-items: center;
  gap: .75rem;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.car-item-logo {
  object-fit: contain;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-top: -8px;
  margin-bottom: -8px;
  margin-left: -8px;
}

.car-item-name {
  flex: 1;
}

.car-item:hover {
  background: #ffffff1a;
  border-color: #66c0f480;
  transform: translateX(4px);
}

.car-item.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  font-weight: 500;
}

.car-item.current-car {
  background: linear-gradient(135deg, #4caf5033 0%, #4caf501a 100%) !important;
  border: 3px solid #4caf50 !important;
  position: relative !important;
  box-shadow: 0 0 0 1px #4caf504d, 0 2px 8px #4caf5066 !important;
}

.car-item.current-car:before {
  content: "";
  background: #4caf50;
  border-radius: 4px 0 0 4px;
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.car-item.current-car:hover {
  transform: translateX(4px)translateY(-2px);
  background: linear-gradient(135deg, #4caf5026 0%, #4caf501a 100%) !important;
  border-color: #4caf50 !important;
  box-shadow: 0 4px 12px #4caf5066 !important;
}

.car-item.current-car.active {
  color: #4caf50 !important;
  background: linear-gradient(135deg, #4caf5026 0%, #66c0f41a 100%) !important;
  border: 2px solid #4caf50 !important;
  box-shadow: 0 2px 8px #4caf504d !important;
}

.car-item.current-car.active:hover {
  color: #4caf50 !important;
  background: linear-gradient(135deg, #4caf5033 0%, #66c0f426 100%) !important;
  border-color: #4caf50 !important;
  box-shadow: 0 4px 12px #4caf5066 !important;
}

.car-item-wrapper {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.car-item-wrapper.active .car-item {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  font-weight: 500;
}

.car-owned-badge {
  color: #4caf50;
  background: #4caf5033;
  border-radius: 4px;
  margin-left: auto;
  padding: .25rem .5rem;
  font-size: .75rem;
  font-weight: 600;
}

.car-buy-button {
  color: #4caf50;
  cursor: pointer;
  text-align: center;
  background: #4caf5033;
  border: 1px solid #4caf5080;
  border-radius: 4px;
  width: 100%;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
}

.car-buy-button:hover:not(.disabled):not(:disabled) {
  background: #4caf504d;
  border-color: #4caf50;
  transform: translateY(-1px);
}

.car-buy-button.disabled, .car-buy-button:disabled {
  color: #fff6;
  cursor: not-allowed;
  opacity: .6;
  background: #ffffff0d;
  border-color: #ffffff1a;
}

.car-buy-button.purchasing {
  color: #66c0f4;
  cursor: wait;
  background: #66c0f433;
  border-color: #66c0f4;
}

.car-purchase-section {
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem;
}

.car-buy-button-large {
  color: #4caf50;
  cursor: pointer;
  text-align: center;
  background: #4caf5033;
  border: 2px solid #4caf5080;
  border-radius: 8px;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all .2s;
}

.car-buy-button-large:hover:not(.disabled):not(:disabled) {
  background: #4caf504d;
  border-color: #4caf50;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #4caf5033;
}

.car-buy-button-large.disabled, .car-buy-button-large:disabled {
  color: #fff6;
  cursor: not-allowed;
  opacity: .6;
  background: #ffffff0d;
  border-color: #ffffff1a;
}

.car-buy-button-large.purchasing {
  color: #66c0f4;
  cursor: wait;
  background: #66c0f433;
  border-color: #66c0f4;
}

.car-sell-button-large {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #8b2e2e 0%, #6b1e1e 100%);
  border: 2px solid #a03a3a;
  border-radius: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  transition: all .2s;
}

.car-sell-button-large:hover:not(.selling):not(:disabled) {
  background: linear-gradient(135deg, #9b3e3e 0%, #7b2e2e 100%);
  border-color: #b04a4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #8b2e2e4d;
}

.car-sell-button-large.selling, .car-sell-button-large:disabled {
  opacity: .6;
  cursor: not-allowed;
  background: linear-gradient(135deg, #6b2e2e 0%, #4b1e1e 100%);
}

.car-owned-message {
  color: #4caf50;
  background: #4caf501a;
  border: 1px solid #4caf504d;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
}

.car-owned-icon {
  font-size: 1.5rem;
  font-weight: bold;
}

.custom-modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 10000;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  animation: .2s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.custom-modal {
  background: #141414f2;
  border: 1px solid #fff3;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  animation: .3s slideUp;
  position: relative;
  box-shadow: 0 8px 32px #00000080;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-modal-icon {
  border: 3px solid;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
}

.custom-modal-icon.success {
  color: #4caf50;
  background: #4caf5033;
  border-color: #4caf50;
}

.custom-modal-icon.error {
  color: #f44336;
  background: #f4433633;
  border-color: #f44336;
}

.custom-modal-icon.confirm, .custom-modal-icon.info {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
}

.custom-modal-content {
  margin-bottom: 1.5rem;
}

.custom-modal-message {
  color: #fff;
  text-align: center;
  white-space: pre-line;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.custom-modal-actions {
  justify-content: center;
  gap: 1rem;
  display: flex;
}

.custom-modal-button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  min-width: 120px;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all .2s;
}

.custom-modal-button.confirm {
  color: #4caf50;
  background: #4caf5033;
  border: 1px solid #4caf5080;
}

.custom-modal-button.confirm:hover {
  background: #4caf504d;
  border-color: #4caf50;
  transform: translateY(-1px);
}

.custom-modal-button.cancel {
  color: #ffffffb3;
  background: #ffffff0d;
  border: 1px solid #fff3;
}

.custom-modal-button.cancel:hover {
  color: #fff;
  background: #ffffff1a;
  border-color: #ffffff4d;
}

.cars-loading, .cars-error, .cars-empty {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.cars-list-empty {
  text-align: center;
  color: #666;
  padding: 1rem;
  font-size: .9rem;
  font-style: italic;
}

.cars-section-group {
  margin-bottom: 1rem;
}

.cars-section-header {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: .5rem;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.cars-section-header:hover {
  background: #ffffff14;
  border-color: #fff3;
}

.cars-section-title {
  text-align: left;
  flex: 1;
}

.cars-section-toggle {
  opacity: .7;
  font-size: .8rem;
  transition: transform .2s;
}

.cars-section-content {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.cars-section-header-owned {
  color: #4ade80 !important;
  background: #4ade801a !important;
  border-color: #4ade804d !important;
}

.cars-section-header-owned:hover {
  background: #4ade8026 !important;
  border-color: #4ade8066 !important;
}

.cars-section-header-non-owned {
  color: #f87171 !important;
  background: #f871711a !important;
  border-color: #f871714d !important;
}

.cars-section-header-non-owned:hover {
  background: #f8717126 !important;
  border-color: #f8717166 !important;
}

.cars-error {
  color: #f44;
}

.cars-stats-placeholder, .cars-stats-loading {
  color: #888;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1.1rem;
  display: flex;
}

.cars-stats-error {
  color: #f44;
  text-align: center;
  padding: 2rem;
}

.cars-stats-content {
  overflow: auto;
}

.cars-stats-content h2 {
  color: #fff;
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.car-name-header-container {
  z-index: 10;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
  position: relative;
}

.car-edit-button {
  color: #fff;
  cursor: pointer;
  opacity: .7;
  z-index: 11;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: center;
  margin-left: .5rem;
  padding: .25rem .5rem;
  font-size: .9rem;
  transition: all .2s;
  position: relative;
}

.car-edit-button:hover {
  opacity: 1;
  background: #fff3;
}

.car-edit-modal {
  z-index: 1000;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.car-edit-modal-overlay {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #000000b3;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.car-edit-modal-content {
  z-index: 1001;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #fff3;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
}

.car-edit-modal-content h3 {
  color: #fff;
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
}

.car-edit-fields {
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.car-edit-field {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.car-edit-field label {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .9rem;
}

.car-edit-input {
  color: #fff;
  box-sizing: border-box;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
}

.car-edit-input:focus {
  border-color: #66c0f4;
  outline: none;
}

.car-edit-actions {
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.car-save-button, .car-cancel-button {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .6rem 1.2rem;
  font-size: .9rem;
  transition: all .2s;
}

.car-save-button:hover {
  background: #4caf504d;
  border-color: #4caf50;
}

.car-cancel-button:hover {
  background: #f443364d;
  border-color: #f44336;
}

.car-save-button:disabled, .car-cancel-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.car-name-header {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.car-name-logo {
  object-fit: contain;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  transform: scale(1.3);
}

.car-image-container {
  shape-outside: margin-box;
  z-index: 1;
  pointer-events: none;
  justify-self: center;
  width: auto;
  max-width: 35em;
  position: relative;
  transform: translateY(-62px)translateX(0%)scale(1.1);
}

.car-image-container img {
  pointer-events: none;
}

.car-image {
  object-fit: contain;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
}

.car-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.car-stat-card {
  box-sizing: border-box;
  background: #ffffff08;
  border: 1px solid #ffffff1a;
  border-radius: 6px;
  width: 100%;
  padding: 1.5rem;
  transition: all .2s;
}

.car-stat-card:hover {
  background: #ffffff0d;
  border-color: #fff3;
}

.car-stat-card h3 {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 .75rem;
  font-size: .9rem;
  font-weight: 500;
}

.car-stat-card .stat-value {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.car-stat-card .stat-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  display: flex;
}

.car-stat-card .stat-label {
  color: #888;
  margin: .5rem 0 0;
  font-size: .85rem;
}

.cars-list-panel::-webkit-scrollbar {
  width: 8px;
}

.cars-list-panel::-webkit-scrollbar-track {
  background: #ffffff0d;
  border-radius: 4px;
}

.cars-list-panel::-webkit-scrollbar-thumb {
  background: #fff3;
  border-radius: 4px;
}

.cars-list-panel::-webkit-scrollbar-thumb:hover {
  background: #ffffff4d;
}

.car-leaderboard-section {
  border-top: 1px solid #ffffff1a;
  margin-top: 3rem;
  padding-top: 2rem;
}

.car-leaderboard-title {
  color: #66c0f4;
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.car-leaderboard-loading, .car-leaderboard-empty, .car-leaderboard-error {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.car-leaderboard-error {
  color: #f44;
}

.car-leaderboard-table {
  overflow-x: auto;
}

.car-leaderboard-table table {
  border-collapse: collapse;
  width: 100%;
}

.car-leaderboard-table thead {
  background: #2a2a2a80;
}

.car-leaderboard-table th {
  text-align: left;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid #ffffff1a;
  padding: 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.car-leaderboard-table th:first-child {
  width: 80px;
}

.car-leaderboard-table th:nth-child(2) {
  width: auto;
}

.car-leaderboard-table th:nth-child(3), .car-leaderboard-table th:nth-child(4) {
  text-align: right;
  width: 150px;
}

.car-leaderboard-table td {
  color: #fff;
  border-bottom: 1px solid #2a2a2a80;
  padding: 1rem;
}

.car-leaderboard-table tbody tr:hover {
  background: #ffffff0d;
}

.car-leaderboard-table .rank-cell {
  color: #66c0f4;
  font-weight: bold;
}

.car-leaderboard-table .player-cell {
  font-weight: 500;
}

.car-leaderboard-table .value-cell {
  text-align: right;
}

.car-leaderboard-pagination {
  border-top: 1px solid #ffffff1a;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
}

.car-leaderboard-pagination .pagination-btn {
  color: #fff;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-size: .9rem;
  transition: all .2s;
}

.car-leaderboard-pagination .pagination-btn:hover:not(:disabled) {
  background: #ffffff1a;
  border-color: #66c0f480;
}

.car-leaderboard-pagination .pagination-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.car-leaderboard-pagination .pagination-info {
  color: #888;
  font-size: .9rem;
}

.suggestions-section {
  color: #fff;
  margin-top: 3rem;
}

.suggestions-header {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.server-suggestions-wrapper {
  margin-bottom: 2.5rem;
}

.server-suggestions-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  display: flex;
}

.server-suggestions-title {
  color: #ccc;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.suggestions-arrows {
  gap: .5rem;
  display: flex;
}

.suggestions-arrow {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: all .2s;
  display: flex;
}

.suggestions-arrow:hover {
  background: #ffffff26;
  border-color: #66c0f480;
}

.suggestions-arrow:active {
  background: #fff3;
}

.suggestions-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.suggestions-arrow.disabled {
  opacity: .3;
  cursor: not-allowed;
  pointer-events: none;
}

.suggestions-arrow.disabled:hover {
  background: #ffffff1a;
  border-color: #fff3;
}

.suggestions-scroll-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  width: 100%;
  padding-top: 2px;
  padding-bottom: .5rem;
  overflow: auto visible;
}

.suggestions-scroll-container::-webkit-scrollbar {
  display: none;
}

.suggestions-horizontal {
  flex-direction: row;
  gap: 1rem;
  width: max-content;
  padding-top: 2px;
  padding-right: 1rem;
  display: flex;
}

.suggestion-card.current-car {
  background: linear-gradient(135deg, #4caf501a 0%, #4caf500d 100%);
  border: 2px solid #4caf50;
  box-shadow: 0 2px 8px #4caf504d;
}

.suggestion-card.current-car:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #4caf5066;
}

.current-car-badge {
  color: #4caf50;
  margin-left: 4px;
  font-size: .85em;
  font-weight: 600;
}

.suggestion-card.suggested-car {
  background: linear-gradient(135deg, #2196f31a 0%, #2196f30d 100%);
  border: 2px solid #2196f3;
  box-shadow: 0 2px 8px #2196f34d;
}

.suggestion-card.suggested-car:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #2196f366;
}

.suggested-car-badge {
  color: #2196f3;
  margin-left: 4px;
  font-size: .85em;
  font-weight: 600;
}

.suggestion-card.next-unlock-car {
  opacity: .85;
  background: linear-gradient(135deg, #f443361a 0%, #f443360d 100%);
  border: 2px solid #f44336;
  box-shadow: 0 2px 8px #f443364d;
}

.suggestion-card.next-unlock-car:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #f4433666;
}

.next-unlock-badge {
  color: #f44336;
  margin-left: 4px;
  font-size: .85em;
  font-weight: 600;
}

.suggestion-profit.locked {
  color: #f44336;
  font-weight: 500;
}

.suggestion-card.current-car.suggested-car {
  background: linear-gradient(135deg, #4caf5026 0%, #2196f31a 100%);
  border: 2px solid #4caf50;
}

.suggestion-card.current-car.next-unlock-car {
  background: linear-gradient(135deg, #4caf5026 0%, #f443361a 100%);
  border: 2px solid #4caf50;
}

.suggestion-card {
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-shrink: 0;
  min-width: 200px;
  padding: 1rem;
  transition: all .2s;
}

.suggestion-card:hover {
  background: #ffffff14;
  border-color: #66c0f480;
  transform: translateY(-2px);
}

.suggestion-car-name {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 600;
}

.suggestion-details {
  flex-direction: column;
  gap: .25rem;
  font-size: .85rem;
  display: flex;
}

.suggestion-cost {
  color: #888;
}

.suggestion-profit {
  color: #4ade80;
  font-weight: 500;
}

.suggestions-loading {
  text-align: center;
  color: #888;
  margin-top: 3rem;
  padding: 2rem;
}

.social-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.social-tab-menu {
  z-index: 10;
  pointer-events: none;
  justify-content: center;
  gap: 0;
  width: 100%;
  display: flex;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.social-tab-menu .social-tab-button {
  pointer-events: auto;
}

.social-tab-button {
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-right: none;
  border-radius: 0;
  width: 180px;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all .2s;
}

.social-tab-button:first-child {
  border-left: 1px solid #ffffff1a;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.social-tab-button:last-child {
  border-right: 1px solid #ffffff1a;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.social-tab-button:hover {
  background: #ffffff1a;
  border-color: #fff3;
}

.social-tab-button.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  border-right: 1px solid #66c0f4 !important;
}

.social-tab-button.active:not(:last-child) {
  border-right: 1px solid #66c0f4 !important;
}

.social-tab-button.active + .social-tab-button {
  border-left: 1px solid #ffffff1a;
}

.social-tab-content {
  width: 100%;
  padding: 2rem;
}

.social-tab-placeholder {
  text-align: center;
  color: #888;
  padding: 4rem 2rem;
  font-size: 1.1rem;
}

.social-header {
  color: #fff;
  margin-bottom: 2rem;
}

.social-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.social-layout {
  align-items: flex-start;
  gap: 2rem;
  display: flex;
}

.players-list-panel {
  scrollbar-gutter: stable;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-direction: column;
  flex: 0 0 350px;
  max-height: calc(100vh - 260px);
  padding: 1.5rem;
  display: flex;
  overflow: hidden auto;
}

.players-content-panel {
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex: 1;
  min-height: 500px;
  padding: 2rem;
}

.players-search-container {
  margin-bottom: 1.5rem;
}

.players-search-input {
  color: #fff;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
}

.players-search-input::placeholder {
  color: #888;
}

.players-search-input:focus {
  background: #ffffff1f;
  border-color: #66c0f4;
  outline: none;
}

.players-section {
  margin-bottom: 1rem;
}

.players-section-header {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: .5rem;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.players-section-header:hover {
  background: #ffffff14;
  border-color: #fff3;
}

.players-section-title {
  text-align: left;
  flex: 1;
}

.players-section-toggle {
  opacity: .7;
  font-size: .8rem;
  transition: transform .2s;
}

.players-section-content {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.players-list {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  display: flex;
}

.player-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #ffffff0d;
  border: none;
  border-radius: 4px;
  align-items: center;
  gap: .75rem;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 0 0 0 0;
  font-size: .95rem;
  transition: all .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.player-item:hover {
  background: #ffffff1a;
  border-color: #66c0f480;
  transform: translateX(4px);
}

.player-item.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  font-weight: 500;
}

.player-item.online {
  background: #4ade8026;
  border-left: 3px solid #4ade80;
}

.player-item.online:hover {
  background: #4ade8033;
}

.player-item.online.active {
  background: #66c0f440;
  border-left-color: #4ade80;
}

.player-avatar-container {
  border: 2px solid #66c0f4;
  border-radius: 4px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px #66c0f480, inset 0 0 10px #66c0f433;
}

.player-avatar {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.player-avatar-placeholder {
  color: #888;
  background: #ffffff1a;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
}

.player-name {
  color: inherit;
  flex: 1;
  font-size: .95rem;
}

.players-loading, .players-error, .players-empty {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.players-error {
  color: #f44;
}

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

.players-list-panel::-webkit-scrollbar-track {
  background: none;
}

.players-list-panel::-webkit-scrollbar-thumb {
  background: #fff3;
  border-radius: 4px;
}

.players-list-panel::-webkit-scrollbar-thumb:hover {
  background: #ffffff4d;
}

.players-content-empty, .players-content-loading, .players-content-error {
  text-align: center;
  color: #888;
  padding: 3rem;
}

.players-content-stats {
  width: 100%;
}

.players-content-header {
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
}

.players-content-header h2 {
  color: #fff;
  flex-shrink: 0;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.players-content-header-new {
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
}

.player-profile-avatar-large {
  border: 3px solid #66c0f4;
  border-radius: 8px;
  flex-shrink: 0;
  width: 136px;
  height: 136px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px #66c0f480, inset 0 0 20px #66c0f433;
}

.player-profile-avatar-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.player-profile-avatar-placeholder {
  color: #888;
  background: #ffffff1a;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
}

.player-profile-info {
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  min-height: 136px;
  display: flex;
}

.player-profile-name-section {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.player-profile-name {
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.player-online-status-inline {
  color: #888;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  display: flex;
}

.player-online-status-inline .status-indicator {
  border-radius: 50%;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.player-online-status-inline .status-indicator.online {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade8080;
}

.player-online-status-inline .status-indicator.offline {
  background: #888;
}

.player-profile-actions {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
}

.player-header-actions {
  flex-shrink: 0;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
  display: flex;
}

.player-online-status {
  color: #4ade80;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  display: inline-flex;
}

.player-online-status span:first-child {
  font-size: .875rem;
}

.player-online-status span:last-child {
  font-weight: 500;
}

.player-offline-status {
  color: #888;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  display: flex;
}

.player-offline-status div:first-child {
  font-size: .875rem;
}

.player-offline-status div:last-child {
  font-weight: 500;
}

.player-join-button {
  color: #66c0f4;
  cursor: pointer;
  white-space: nowrap;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  display: inline-block;
}

.player-join-button:hover {
  color: #fff;
  background: #66c0f44d;
  border-color: #66c0f4b3;
}

.player-friend-button {
  color: #4ade80;
  cursor: pointer;
  white-space: nowrap;
  background: #4ade8033;
  border: 1px solid #4ade8080;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.player-friend-button:hover {
  color: #fff;
  background: #4ade804d;
  border-color: #4ade80b3;
}

.player-friend-button.remove-friend {
  color: #ef4444;
  background: #ef444433;
  border-color: #ef444480;
}

.player-friend-button.remove-friend:hover {
  color: #fff;
  background: #ef44444d;
  border-color: #ef4444b3;
}

.player-friend-button.revoke-friend {
  color: #fbbf24;
  background: #fbbf2433;
  border-color: #fbbf2480;
}

.player-friend-button.revoke-friend:hover {
  color: #fff;
  background: #fbbf244d;
  border-color: #fbbf24b3;
}

.chat-button {
  color: #66c0f4;
  cursor: pointer;
  white-space: nowrap;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
  display: flex;
  position: relative;
}

.chat-button:hover {
  color: #fff;
  background: #66c0f44d;
  border-color: #66c0f4b3;
}

.chat-button svg {
  flex-shrink: 0;
}

.chat-button-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border-radius: 10px;
  min-width: 18px;
  padding: 2px 6px;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.2;
  position: absolute;
  top: -6px;
  right: -6px;
}

.chat-window-slide-up {
  width: 380px;
  max-width: calc(100vw - 40px);
  animation: .3s ease-out slideUpChat;
  position: fixed;
  bottom: 70px;
  right: 20px;
}

@keyframes slideUpChat {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-window {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #141414fa;
  border: 1px solid #333;
  border-radius: 12px 12px 0 0;
  flex-direction: column;
  width: 100%;
  height: 500px;
  max-height: calc(100vh - 90px);
  display: flex;
  box-shadow: 0 -4px 20px #00000080;
}

.chat-window-header {
  background: #ffffff0d;
  border-bottom: 1px solid #333;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  display: flex;
}

.chat-window-header-info {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.chat-header-avatar {
  object-fit: cover;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.chat-header-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.chat-window-close {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 2rem;
  transition: background .2s;
  display: flex;
}

.chat-window-close:hover {
  background: #ffffff1a;
}

.chat-window-messages {
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  min-height: 0;
  padding: 1rem;
  display: flex;
  overflow-y: auto;
}

.chat-message {
  word-wrap: break-word;
  flex-direction: column;
  max-width: 70%;
  display: flex;
}

.chat-message.sent {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-message.received {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-message-content {
  word-wrap: break-word;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: .95rem;
  line-height: 1.4;
}

.chat-message.sent .chat-message-content {
  color: #fff;
  background: #66c0f44d;
  border-bottom-right-radius: 4px;
}

.chat-message.received .chat-message-content {
  color: #fff;
  background: #ffffff1a;
  border-bottom-left-radius: 4px;
}

.chat-message-time {
  color: #666;
  margin-top: .25rem;
  padding: 0 .5rem;
  font-size: .75rem;
}

.chat-loading, .chat-empty {
  text-align: center;
  color: #666;
  padding: 2rem;
}

.chat-window-input-container {
  background: #ffffff08;
  border-top: 1px solid #333;
  padding: 1rem;
}

.chat-emoji-picker {
  background: #1e1e1ef2;
  border: 1px solid #333;
  border-radius: 8px;
  max-height: 200px;
  margin-bottom: 1rem;
  padding: 1rem;
  overflow-y: auto;
}

.chat-emoji-grid {
  grid-template-columns: repeat(10, 1fr);
  gap: .5rem;
  display: grid;
}

.chat-emoji-button {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: .25rem;
  font-size: 1.5rem;
  transition: background .2s;
}

.chat-emoji-button:hover {
  background: #ffffff1a;
}

.chat-input-wrapper {
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.chat-emoji-toggle {
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  flex-shrink: 0;
  padding: .5rem;
  font-size: 1.25rem;
  transition: all .2s;
}

.chat-emoji-toggle:hover {
  background: #ffffff26;
}

.chat-input {
  color: #fff;
  resize: none;
  background: #ffffff0d;
  border: 1px solid #fff3;
  border-radius: 8px;
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: .75rem;
  font-family: inherit;
  font-size: .95rem;
}

.chat-input:focus {
  background: #ffffff14;
  border-color: #66c0f480;
  outline: none;
}

.chat-send-button {
  color: #66c0f4;
  cursor: pointer;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 8px;
  flex-shrink: 0;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.chat-send-button:hover:not(:disabled) {
  color: #fff;
  background: #66c0f44d;
  border-color: #66c0f4b3;
}

.chat-send-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.chat-window-header-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.chat-window-minimize {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  transition: background .2s;
  display: flex;
}

.chat-window-minimize:hover {
  background: #ffffff1a;
}

.chat-windows-container {
  z-index: 1501;
  pointer-events: none;
  position: fixed;
  bottom: 0;
  right: 20px;
}

.chat-window-wrapper {
  pointer-events: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  transition: all .3s ease-out;
  position: absolute;
  bottom: 0;
}

.chat-window-wrapper:not(.chat-window-minimized-wrapper) {
  animation: .3s ease-out slideUpChat;
}

.chat-window-minimized-wrapper {
  width: 380px;
  height: auto;
  bottom: 0;
}

.chat-window-minimized-bar {
  cursor: pointer;
  background: #141414f2;
  border: 1px solid #333;
  border-radius: 8px 8px 0 0;
  width: 100%;
  min-width: 380px;
  max-width: 380px;
  transition: all .3s ease-out;
  box-shadow: 0 -4px 12px #0000004d;
}

.chat-window-minimized-bar:hover {
  background: #1e1e1efa;
}

.chat-window-minimized-content {
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  display: flex;
}

.chat-minimized-avatar {
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.chat-minimized-avatar-placeholder {
  color: #66c0f4;
  background: #66c0f44d;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.chat-minimized-name {
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: .9rem;
  font-weight: 500;
  overflow: hidden;
}

.chat-window-minimized-close {
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  transition: all .2s;
  display: flex;
}

.chat-window-minimized-close:hover {
  color: #fff;
  background: #ffffff1a;
}

.chat-list-tab {
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1500;
  background: #141414f2;
  border: 1px solid #333;
  border-bottom: 2px solid #0000;
  border-radius: 12px 12px 0 0;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: .5rem;
  min-width: 150px;
  height: 70px;
  padding: .5rem .75rem;
  transition: all .2s;
  display: flex;
  position: fixed;
  bottom: 0;
  right: 20px;
  box-shadow: 0 -4px 20px #0000004d;
}

.chat-list-tab:hover {
  background: #ffffff0d;
}

.chat-list-tab.active {
  background: #66c0f426;
  border-bottom-color: #66c0f4cc;
}

.chat-tab-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  position: relative;
}

.chat-tab-avatar img {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.chat-tab-avatar-placeholder {
  color: #66c0f4;
  background: #66c0f44d;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
}

.chat-tab-unread-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border: 2px solid #141414f2;
  border-radius: 10px;
  min-width: 16px;
  padding: 2px 5px;
  font-size: .65rem;
  font-weight: 600;
  line-height: 1.2;
  position: absolute;
  top: -4px;
  right: -4px;
}

.chat-tab-name {
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
}

@media (max-width: 768px) {
  .chat-list-tab {
    min-width: 120px;
    padding: .4rem .5rem;
    right: 10px;
  }

  .chat-windows-container {
    right: 10px;
  }

  .chat-window-wrapper {
    width: calc(100vw - 20px);
    right: 0 !important;
  }

  .chat-window {
    height: 400px;
    max-height: calc(100vh - 80px);
  }

  .chat-list-tab {
    min-width: 50px;
    max-width: 50px;
    padding: .4rem;
  }

  .chat-tab-avatar {
    width: 32px;
    height: 32px;
  }

  .chat-tab-name {
    max-width: 50px;
    font-size: .6rem;
  }
}

.head-to-head-section {
  background: #66c0f41a;
  border: 1px solid #66c0f44d;
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.head-to-head-section h3 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.head-to-head-stats {
  flex-wrap: wrap;
  gap: 2rem;
  display: flex;
}

.head-to-head-item {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.head-to-head-label {
  color: #aaa;
  font-size: .875rem;
}

.head-to-head-value {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.servers-section {
  color: #fff;
}

.servers-layout {
  gap: 2rem;
  height: calc(100vh - 200px);
  min-height: 600px;
  display: flex;
}

.servers-sidebar {
  flex-shrink: 0;
  width: 350px;
  padding-right: .5rem;
  overflow-y: auto;
}

.servers-sidebar::-webkit-scrollbar {
  width: 8px;
}

.servers-sidebar::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.servers-sidebar::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.servers-sidebar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.servers-content {
  flex: 1;
  min-width: 0;
}

.servers-header {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.servers-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.servers-list {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.server-card {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #fff;
  cursor: pointer;
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  flex-direction: column;
  min-height: 180px;
  padding: 1.5rem;
  transition: all .2s;
  display: flex;
}

.server-card:hover {
  border-color: #555;
  transform: translateX(4px);
}

.server-card.selected {
  background: #667eea22;
  border-color: #667eea;
  box-shadow: 0 0 20px #667eea4d;
}

.server-card-content {
  flex-direction: column;
  flex: 1;
  gap: .75rem;
  display: flex;
}

.server-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.server-card-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.server-delete-button {
  color: #fff;
  cursor: pointer;
  background: #dc2626;
  border: none;
  border-radius: 6px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .2s;
}

.server-delete-button:hover {
  background: #b91c1c;
}

.server-delete-button:active {
  background: #991b1b;
}

.server-card-title {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.server-status {
  background: #ffffff08;
  border-radius: 20px;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  padding: .25rem .75rem;
  display: inline-flex;
}

.server-status.online {
  background: #22c55e22;
}

.server-status.offline {
  background: #ef444422;
}

.server-status-dot {
  background: currentColor;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.server-status.online .server-status-dot {
  color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.server-status.offline .server-status-dot {
  color: #ef4444;
}

.server-status-text {
  font-size: .875rem;
  font-weight: 500;
}

.server-player-count {
  color: #aaa;
  font-size: .875rem;
}

.server-join-button {
  color: #fff;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  width: 100%;
  padding: .75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: block;
}

.server-join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #667eea66;
}

.server-join-button:active {
  transform: translateY(0);
}

.servers-loading {
  text-align: center;
  color: #888;
  margin-top: 3rem;
  font-size: 1rem;
}

.servers-empty {
  text-align: center;
  color: #888;
  grid-column: 1 / -1;
  padding: 2rem;
  font-size: 1rem;
}

.track-map-container {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #fff;
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  display: flex;
}

.track-map-header {
  border-bottom: 1px solid #333;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  display: flex;
}

.track-map-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.track-map-legend {
  gap: 1.5rem;
  font-size: .875rem;
  display: flex;
}

.legend-item {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.legend-dot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.legend-dot.online {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.legend-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.track-map-canvas {
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 8px;
  flex: 1;
  width: 100%;
}

.car-dealer-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.car-dealer-loading, .car-dealer-error, .car-dealer-empty {
  text-align: center;
  color: #fff;
  padding: 3rem;
  font-size: 1.1rem;
}

.car-dealer-error {
  color: #ff6464;
}

.car-dealer-manufacturers {
  width: 100%;
}

.car-dealer-title {
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 600;
}

.car-dealer-manufacturer-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  display: grid;
}

.car-dealer-filters {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  border: none;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0;
  display: flex;
}

.car-dealer-filter-button {
  color: #fff;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  background: #66c0f41a;
  border: 2px solid #66c0f44d;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all .3s;
}

.car-dealer-filter-button:hover {
  background: #66c0f433;
  border-color: #66c0f480;
  transform: translateY(-2px);
}

.car-dealer-filter-button.active {
  background: linear-gradient(135deg, #66c0f44d 0%, #66c0f426 100%);
  border-color: #66c0f4;
  box-shadow: 0 4px 15px #66c0f44d;
}

.car-dealer-manufacturer-item {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  transition: all .3s;
  display: flex;
}

.car-dealer-manufacturer-item:hover {
  background: #66c0f41a;
  transform: translateY(-5px);
}

.car-dealer-manufacturer-logo {
  object-fit: contain;
  filter: brightness(.9);
  width: 120px;
  height: 80px;
  transition: filter .3s;
}

.car-dealer-manufacturer-item:hover .car-dealer-manufacturer-logo {
  filter: brightness(1.1);
}

.car-dealer-manufacturer-name {
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.car-dealer-manufacturer-count {
  color: #66c0f4;
  opacity: .8;
  font-size: .9rem;
}

.car-dealer-showroom {
  width: 100%;
}

.car-dealer-back-button {
  color: #66c0f4;
  cursor: pointer;
  z-index: 20;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  transition: all .2s;
  position: relative;
}

.car-dealer-back-button:hover {
  background: #66c0f44d;
  border-color: #66c0f4;
}

.car-dealer-showroom-manufacturer-logo {
  z-index: -1;
  pointer-events: none;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: absolute;
  top: 40px;
  left: 6.5rem;
}

.car-dealer-showroom-manufacturer-logo-img {
  object-fit: contain;
  filter: brightness(.9);
  opacity: .9;
  width: auto;
  height: 400px;
}

.car-dealer-showroom-content {
  flex-direction: column;
  gap: 2rem;
  width: calc(100vw - 16rem);
  max-width: calc(2500px + 4rem);
  height: 47vh;
  padding: 0 2rem;
  display: flex;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.car-dealer-showroom-main {
  background: none;
  border: none;
  align-items: center;
  gap: 2rem;
  height: 35vh;
  padding: 0;
  display: flex;
  position: relative;
}

.car-dealer-nav-button {
  color: #66c0f4;
  cursor: pointer;
  background: #66c0f433;
  border: 2px solid #66c0f480;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 2rem;
  transition: all .2s;
  display: flex;
}

.car-dealer-nav-button:hover:not(:disabled) {
  background: #66c0f44d;
  border-color: #66c0f4;
  transform: scale(1.1);
}

.car-dealer-nav-button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.car-dealer-showroom-display {
  flex: 1;
  width: 100%;
  min-height: 600px;
  position: relative;
}

.car-dealer-car-image-wrapper {
  z-index: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 3em;
  left: 0;
}

.car-dealer-car-image {
  object-fit: contain;
  filter: drop-shadow(0 10px 30px #00000080);
  opacity: 1;
  width: 120%;
  max-width: none;
  height: 120%;
  max-height: none;
}

.car-dealer-car-info {
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 24em;
  max-width: 27em;
  padding: 2rem;
  display: flex;
  position: absolute;
  bottom: -89px;
  right: 170px;
  overflow: hidden;
  border-radius: 25px !important;
}

.car-dealer-car-name {
  color: #fff;
  text-align: center;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.car-dealer-car-price {
  background: #66c0f41a;
  border: 1px solid #66c0f44d;
  border-radius: 8px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  display: flex;
}

.car-dealer-price-label {
  color: #66c0f4;
  font-size: 1rem;
  font-weight: 500;
}

.car-dealer-price-value {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.car-dealer-buy-button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #66c0f4 0%, #4a9cd4 100%);
  border: none;
  border-radius: 8px;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 4px 15px #66c0f44d;
}

.car-dealer-buy-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #7acff4 0%, #5aacf4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #66c0f466;
}

.car-dealer-buy-button:disabled, .car-dealer-buy-button.disabled {
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  background: #6464644d;
}

.car-dealer-buy-button.purchasing {
  cursor: wait;
  background: #66c0f480;
}

.car-dealer-login-prompt {
  color: #888;
  margin: 0;
  font-size: 1rem;
}

.car-dealer-car-list {
  background: none;
  border: none;
  width: 100vw;
  margin-top: 3rem;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  position: absolute;
  bottom: -75%;
  left: 50%;
  right: 50%;
  overflow: hidden;
}

.car-dealer-list-title {
  display: none;
}

.car-dealer-car-list-items {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-direction: row;
  gap: 2rem;
  padding: 2rem calc(50vw - 125px);
  display: flex;
  overflow-x: auto;
}

.car-dealer-car-list-items::-webkit-scrollbar {
  background: none;
  width: 0;
  height: 0;
  display: none;
}

.car-dealer-car-list-items::-webkit-scrollbar-track {
  background: none;
  display: none;
}

.car-dealer-car-list-items::-webkit-scrollbar-thumb {
  background: none;
  display: none;
}

.car-dealer-list-item {
  cursor: pointer;
  scroll-snap-align: center;
  opacity: .6;
  background: #ffffff0d;
  border: 2px solid #ffffff1a;
  border-radius: 12px;
  flex-direction: column;
  flex: 0 0 250px;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  transform: scale(.85);
}

.car-dealer-list-item:hover {
  background: #ffffff14;
  border-color: #66c0f480;
  transform: scale(.9);
}

.car-dealer-list-item.active {
  opacity: 1;
  z-index: 10;
  background: #66c0f433;
  border-color: #66c0f4;
  transform: scale(1.1);
  box-shadow: 0 10px 30px #66c0f466;
}

.car-dealer-list-item-image {
  object-fit: contain;
  border-radius: 8px;
  width: 100%;
  height: 150px;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.car-dealer-list-item.active .car-dealer-list-item-image {
  transform: scale(1.1);
}

.car-dealer-list-item-info {
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
  display: flex;
}

.car-dealer-list-item-name {
  color: #fff;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
}

.car-dealer-list-item-price {
  color: #66c0f4;
  font-size: .85rem;
  font-weight: 500;
}

.car-dealer-navigation-hint {
  text-align: center;
  color: #888;
  background: #ffffff08;
  border-radius: 6px;
  padding: 1rem;
  font-size: .9rem;
}

.track-map-loading {
  color: #888;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  display: flex;
}

.track-map-placeholder {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #888;
  background: #fff1;
  border: 1px solid #333;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  display: flex;
}

.friends-list-content {
  padding: 2rem;
}

.friends-list-header {
  margin-bottom: 2rem;
}

.friends-list-header h2 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.friends-section {
  margin-bottom: 3rem;
}

.friends-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.friends-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  display: grid;
}

.friend-card {
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .2s;
  display: flex;
}

.friend-card:hover {
  background: #ffffff14;
  border-color: #66c0f480;
  transform: translateY(-2px);
}

.friend-card.online {
  background: #4ade801a;
  border-color: #4ade8080;
}

.friend-request-card {
  cursor: default;
}

.friend-avatar {
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.friend-info {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.friend-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.friend-status {
  color: #888;
  font-size: .875rem;
}

.status-online {
  color: #4ade80;
  font-weight: 500;
}

.status-offline {
  color: #888;
}

.friend-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.friend-action-btn {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}

.friend-action-btn.accept {
  color: #4ade80;
  background: #4ade8033;
  border: 1px solid #4ade8080;
}

.friend-action-btn.accept:hover {
  background: #4ade804d;
}

.friend-action-btn.reject {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.friend-action-btn.reject:hover {
  background: #ef44444d;
}

.friend-action-btn.remove {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.friend-action-btn.remove:hover {
  background: #ef44444d;
}

.friends-loading, .friends-empty {
  text-align: center;
  color: #888;
  padding: 3rem;
}

.player-actions {
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.player-action-btn {
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 4px;
  padding: .375rem .75rem;
  font-size: .8rem;
  font-weight: 500;
  transition: all .2s;
}

.player-action-btn.add-friend {
  color: #66c0f4;
  background: #66c0f433;
  border: 1px solid #66c0f480;
}

.player-action-btn.add-friend:hover {
  background: #66c0f44d;
}

.player-action-btn.remove-friend {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.player-action-btn.remove-friend:hover {
  background: #ef44444d;
}

.player-action-pending {
  color: #888;
  white-space: nowrap;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-style: italic;
}

.pending-friend-requests-section {
  background: #1e1e1e99;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem;
}

.pending-friend-requests-title {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.pending-friend-requests-list {
  flex-flow: wrap;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.pending-friend-request-item {
  background: #28282899;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: .75rem;
  min-width: 150px;
  padding: 1rem;
  display: flex;
}

.pending-friend-request-avatar {
  border-radius: 50%;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.pending-friend-request-avatar-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.pending-friend-request-avatar-placeholder {
  color: #66c0f4;
  background: #66c0f44d;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
}

.pending-friend-request-name {
  color: #fff;
  text-align: center;
  word-break: break-word;
  max-width: 150px;
  font-size: .95rem;
  font-weight: 500;
}

.pending-friend-request-actions {
  gap: .5rem;
  width: 100%;
  display: flex;
}

.pending-friend-request-btn {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  flex: 1;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}

.pending-friend-request-btn.accept {
  color: #4ade80;
  background: #4ade8033;
  border: 1px solid #4ade8080;
}

.pending-friend-request-btn.accept:hover {
  background: #4ade804d;
}

.pending-friend-request-btn.reject {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.pending-friend-request-btn.reject:hover {
  background: #ef44444d;
}

.notification-bell-container {
  align-items: center;
  width: auto;
  height: auto;
  margin: 0;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}

.notification-bell-button {
  color: #ccc;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .5rem 1rem;
  font-family: inherit;
  transition: all .2s;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}

.notification-bell-button:hover {
  color: #fff;
  background: #333;
  border-color: #555;
}

.notification-bell-button svg {
  pointer-events: none;
  flex-shrink: 0;
  display: block;
}

.notification-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border-radius: 10px;
  min-width: 18px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  position: absolute;
  top: 2px;
  right: 2px;
}

.notification-dropdown {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  background: #141414f2;
  border: 1px solid #333;
  border-radius: 8px;
  flex-direction: column;
  width: 350px;
  max-height: 500px;
  margin-top: .5rem;
  display: flex;
  position: absolute;
  top: 100%;
  right: 0;
  box-shadow: 0 4px 12px #0000004d;
}

.notification-dropdown-header {
  border-bottom: 1px solid #333;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  display: flex;
}

.notification-dropdown-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.notification-mark-all-read {
  color: #60a5fa;
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem .5rem;
  font-size: .875rem;
  transition: opacity .2s;
}

.notification-mark-all-read:hover {
  opacity: .8;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  cursor: pointer;
  border-bottom: 1px solid #333;
  gap: .75rem;
  padding: 1rem;
  transition: background .2s;
  display: flex;
  position: relative;
}

.notification-item:hover {
  background: #ffffff0d;
}

.notification-item.unread {
  background: #60a5fa1a;
}

.notification-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  color: #fff;
  margin-bottom: .25rem;
  font-size: .9rem;
  font-weight: 600;
}

.notification-message {
  color: #aaa;
  margin-bottom: .25rem;
  font-size: .85rem;
}

.notification-time {
  color: #666;
  font-size: .75rem;
}

.notification-unread-indicator {
  background: #60a5fa;
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .5rem;
}

.notification-loading, .notification-empty {
  text-align: center;
  color: #666;
  padding: 2rem;
}

@media (max-width: 768px) {
  .notification-dropdown {
    width: 300px;
    right: -50px;
  }

  .friends-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=styles_globals_dc36e6c9.css.map*/