/* ===== CSS VARIABLES ===== */
:root {
  --primary-bg: #1a1e2e;
  --secondary-bg: #232838;
  --tertiary-bg: #2c3347;
  --primary-color: #d6a351;
  --secondary-color: #b38a45;
  --text-color: #f8f9fa;
  --text-muted: #adb5bd;
  --card-bg: #232838;
  --card-hover-bg: #2c3347;
  --border-color: #2c3347;
  --success-color: #2eca8b;
  --warning-color: #f17425;
  --danger-color: #e43f52;
  --info-color: #17a2b8;
  --border-radius: 10px;
  --padding: 1vh;
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: var(--text-color);
}

/* ===== LAYOUT COMPONENTS ===== */
.panel {
  background-color: var(--primary-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  width: min(70vw, 1400px);
  height: min(70vh, 900px);
  min-width: 800px;
  min-height: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.main-content {
  display: flex;
  height: calc(100% - 60px);
  overflow: hidden;
}

.content {
  flex: 1;
  padding: clamp(1vh, 2vh, 24px);
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  height: 100%;
}

/* ===== HEADER STYLES ===== */
.header {
  background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
  padding: 2vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 60px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(214, 163, 81, 0.1) 0%,
    rgba(28, 40, 54, 0) 70%
  );
  animation: pulse-bg 8s ease-in-out infinite;
  z-index: 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.header h1 {
  margin: 0;
  font-size: 2.2vh;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
  background-color: var(--secondary-bg);
  width: min(12vw, 200px);
  min-width: 150px;
  padding: 1.2vh;
  border-right: 2px solid var(--border-color);
  overflow-y: auto;
  position: relative;
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary-color),
    transparent
  );
  opacity: 0.5;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  padding: 1vh 1.2vh;
  margin-bottom: 0.8vh;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: clamp(0.8rem, 1.3vh, 1rem);
  position: relative;
  overflow: hidden;
}

.sidebar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar ul li:hover,
.sidebar ul li.active {
  background-color: var(--card-bg);
  color: var(--text-color);
  padding-left: 1.5vh;
}

.sidebar ul li:hover::before,
.sidebar ul li.active::before {
  transform: translateX(0);
}

.sidebar ul li i {
  margin-right: 1vh;
}

/* ===== SECTION STYLES ===== */
.section h2 {
  margin: 0 0 1.5vh;
  font-size: 2.2vh;
  color: var(--primary-color);
  animation: slideIn 1s var(--transition);
  padding-bottom: var(--padding);
  position: relative;
}

.section h2::after {
  content: none;
}

/* ===== CARD COMPONENTS ===== */
.stat-card {
  background: linear-gradient(145deg, var(--card-bg), var(--secondary-bg));
  padding: 2vh;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(214, 163, 81, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.stat-info {
  flex: 1;
}

.stat-info h4 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-info p {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

/* ===== OPTION CATEGORIES ===== */
.option-category {
  background: linear-gradient(145deg, var(--card-bg), var(--tertiary-bg));
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.option-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(214, 163, 81, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.option-category:hover::before {
  opacity: 1;
}

.option-category:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.option-category h3 {
  width: 100%;
  margin: 0 0 1.5rem;
  font-size: 1.8vh;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1vh;
  position: relative;
}

.option-category h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

/* ===== TOGGLE SWITCH ===== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3f3f3f;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-switch label:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + label {
  background-color: var(--primary-color);
}

input:checked + label:before {
  transform: translateX(26px);
}

/* ===== OPTIONS GRID ===== */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.option {
  background: var(--secondary-bg);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
  min-width: 150px;
  border: 1px solid transparent;
}

.option:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.option-label {
  font-size: 1.4vh;
  color: var(--text-color);
  font-weight: 500;
}

.option-toggle {
  display: flex;
  align-items: center;
}

/* ===== SELF MENU ===== */
.self-menu-content {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(200px, 0.4fr);
  gap: 2vh;
  padding: 2vh;
  grid-template-areas: "misc actions";
}

.action-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* ===== PLAYER COMPONENTS ===== */
.player-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem;
  margin-bottom: 2rem;
}

.playersection {
  height: auto;
  min-height: 20vh;
}

.player-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.player-card {
  background: linear-gradient(145deg, var(--card-bg), var(--tertiary-bg));
  padding: 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.player-card:hover::before {
  transform: translateX(100%);
}

.player-card:hover {
  transform: translateX(5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.player-avatar {
  position: relative;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  background: rgba(214, 163, 81, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.player-card:hover .avatar-circle {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.player-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--card-bg);
}

.status-online {
  background-color: var(--success-color);
  box-shadow: 0 0 5px var(--success-color);
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.player-info {
  flex: 1;
}

.player-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.player-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.player-steamid {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: "Consolas", monospace;
}

.player-actions {
  display: flex;
  gap: 0.5rem;
}

.player-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(40, 42, 51, 0.6);
  color: var(--text-muted);
}

.player-action-btn:hover {
  transform: translateY(-3px);
  color: var(--text-color);
}

.ban-btn:hover {
  background: var(--danger-color);
}

.screenshot-btn:hover {
  background: var(--primary-color);
}

/* ===== PLAYER LIST HEADER ===== */
.player-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  gap: 1rem;
}

.player-list-header h2 {
  margin: 1.5vh 0 0;
  font-size: 24px;
  color: var(--primary-color);
  animation: slideIn 1s var(--transition);
}

/* ===== BAN COMPONENTS ===== */
.ban-section {
  padding: 24px;
  height: 100%;
}

.ban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  gap: 1rem;
}

.ban-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ban-title h2,
.update-title h2 {
  margin: 1.5vh 0 0;
  font-size: 24px;
  color: var(--primary-color);
  animation: slideIn 1s var(--transition);
  position: relative;
}

.update-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ban-controls {
  display: flex;
  gap: 16px;
}

.ban-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ban-item {
  background: rgba(42, 44, 53, 0.6);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.ban-item:hover {
  background: rgba(49, 51, 61, 0.8);
  transform: translateX(4px);
  border-color: var(--primary-color);
}

.ban-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ban-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ban-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.ban-user-details h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 16px;
}

.ban-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ban-identifier {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: "Consolas", monospace;
}

.ban-reason-preview {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ban-reason-preview .info-label {
  font-size: 11px;
}

.ban-reason-preview .info-value {
  font-size: 13px;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

.ban-actions {
  display: flex;
  gap: 8px;
}

.unban-btn,
.details-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.unban-btn {
  background: var(--danger-color);
  color: white;
}

.details-btn {
  background: var(--card-hover-bg);
  color: var(--text-color);
}

.unban-btn:hover,
.details-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.no-ban-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--text-muted);
  gap: 16px;
}

.no-ban-list p {
  font-size: 16px;
  margin: 0;
}

/* ===== SEARCH COMPONENTS ===== */
.search-container {
  position: relative;
  width: 200px;
  margin-right: 50px;
  max-width: 600%;
  box-sizing: border-box;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.search-bar {
  background: rgba(33, 34, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  width: 100%;
  color: var(--text-color);
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-bar:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(214, 163, 81, 0.2);
  background: var(--card-bg);
}

/* ===== BUTTON STYLES ===== */
.styled-button {
  background: linear-gradient(
    145deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.styled-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.styled-button:hover::before {
  left: 100%;
}

.styled-button:hover {
  background: linear-gradient(
    145deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transform: scale(1.05);
}

/* ===== NOTIFICATION COMPONENTS ===== */
.notification-container {
  background-color: transparent;
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 300px;
  width: 40%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.notification {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  background-color: rgba(28, 40, 54, 0.85);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: none;
  --progress-duration: 5s;
}

.notification::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--notify-color);
  animation: progress var(--progress-duration) linear forwards;
}

.notification-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 14px;
  background: var(--notify-color);
  color: #fff;
  font-size: 16px;
}

.notification-content {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.notification-close {
  background: #2a3c51;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px;
  margin-left: 8px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.notification-close:hover {
  background: var(--primary-color);
  color: #fff;
}

.notification.success {
  --notify-color: #2eca8b;
  border-left: 4px solid var(--notify-color);
}
.notification.error {
  --notify-color: #e43f52;
  border-left: 4px solid var(--notify-color);
}
.notification.warning {
  --notify-color: #f17425;
  border-left: 4px solid var(--notify-color);
}
.notification.info {
  --notify-color: #17a2b8;
  border-left: 4px solid var(--notify-color);
}

/* ===== UPDATES COMPONENTS ===== */
.updates-timeline {
  position: relative;
  padding: 20px 0;
  margin-left: 20px;
}

.updates-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
}

.update-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 40px;
}

.update-dot {
  position: absolute;
  left: 0;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--card-bg);
  z-index: 1;
  box-shadow: 0 0 10px rgba(214, 163, 81, 0.5);
  transition: all 0.3s ease;
}

.update-item:hover .update-dot {
  transform: scale(1.2);
  background: var(--secondary-color);
}

.update-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.update-card:hover {
  background: var(--card-hover-bg);
  transform: translateX(5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.update-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.update-icon {
  color: var(--primary-color);
  font-size: 18px;
}

.update-date {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  background: rgba(44, 51, 71, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: rgba(44, 51, 71, 0.5);
}

.feature-item i {
  color: var(--success-color);
}

/* ===== BAN DETAILS MODAL STYLES ===== */
.modal-user-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    145deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-user-info h4 {
  margin: 0;
  font-size: 20px;
  color: var(--text-color);
}

.ban-status {
  display: inline-flex;
  align-items: center;
  background: rgba(228, 63, 82, 0.2);
  color: var(--danger-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fade-in 0.5s ease forwards;
  animation-delay: calc(var(--item-index) * 0.1s);
  opacity: 0;
}

.modal-info-item.full-width {
  grid-column: span 2;
}

.modal-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-value-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 51, 71, 0.5);
  padding: 10px;
  border-radius: 6px;
}

.modal-value {
  font-size: 14px;
  color: var(--text-color);
  font-family: "Consolas", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.modal-value.reason {
  background: rgba(44, 51, 71, 0.5);
  padding: 12px;
  border-radius: 6px;
  font-family: inherit;
  line-height: 1.5;
  white-space: pre-wrap;
}

.copy-btn {
  background: rgba(44, 51, 71, 0.8);
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--primary-color);
  color: var(--text-color);
  transform: translateY(-2px);
}

/* ===== MODAL CUSTOM STYLES ===== */
.custom-swal-container {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.custom-swal-popup {
  background-color: var(--secondary-bg) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-color);
  width: auto;
  max-width: 500px !important;
}

.custom-swal-popup.screenshot-modal {
  width: 90vw !important;
  max-width: 1200px !important;
  padding: 1rem !important;
  max-height: 70vh !important;
  overflow: hidden !important;
}

.custom-swal-title,
.custom-swal-content {
  text-align: center !important;
  color: var(--text-color) !important;
}

.custom-swal-input {
  background-color: var(--tertiary-bg) !important;
  color: var(--text-color) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  padding: 10px !important;
}

.custom-swal-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(214, 163, 81, 0.25) !important;
}

.swal2-confirm {
  background: linear-gradient(
    145deg,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
  color: var(--text-color) !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
}

.swal2-cancel {
  background: var(--tertiary-bg) !important;
  color: var(--text-color) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
  background: var(--card-hover-bg) !important;
  transform: translateY(-2px) !important;
}

.screenshot-image {
  max-width: 95%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden !important;
}

/* ===== ANIMATIONS ===== */
.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-slide-in {
  animation: slide-in 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.animate-fade-in {
  animation: fade-in 0.5s ease forwards;
  opacity: 0;
}

.animate-pop-in {
  animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: scale(0.8);
}

.animate-slide-up {
  animation: slide-up 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.notification-enter-active,
.notification-leave-active {
  transition: all 0.3s ease;
}

.notification-enter-from,
.notification-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

.fade-enter-active,
.fade-leave-active {
  transition: all 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  transform: scale(0.95);
}

.panel-enter-active,
.panel-leave-active {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center center;
}

.panel-enter-from,
.panel-leave-to {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.panel-enter-to,
.panel-leave-from {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes pulse-bg {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

@keyframes width-grow {
  from {
    width: 0;
  }
  to {
    width: 50px;
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .player-list-header,
  .ban-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .search-container,
  .search-bar {
    width: 100%;
  }

  .player-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player-info {
    align-items: center;
  }

  .player-actions {
    margin-top: 1rem;
  }

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

@media (max-width: 1024px) {
  .panel {
    width: 85vw;
    height: 85vh;
  }

  .self-menu-content {
    grid-template-columns: 1fr;
    grid-template-areas: "misc" "actions";
  }
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-bg);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}
