/* Modern High-Energy Theme for BeatFarm */
:root {
  --primary-gradient-start: #00c2ff;
  --primary-gradient-end: #ff00aa;
  --secondary-gradient-start: #a6ff00;
  --secondary-gradient-end: #0aff99;
  --dark-bg: #0a0a1a;
  --darker-bg: #050510;
  --light-text: #ffffff;
  --card-bg: rgba(20, 20, 40, 0.7);
  --glow-color: rgba(0, 194, 255, 0.6);
  --text-muted-1: rgb(167 171 174);
  --text-muted-2: rgb(246 6 173);
  --dark-text-1: hsl(0deg 10% 4% / 88%);
  --dark-text-2: hsl(205.71deg 7.5% 21.18%);

}
/* Animation for scrolling */
@keyframes scrollBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 1000px;
    }
}
/* You Can Filter the background ocupancy like this filter: brightness(0.6);*/
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg);
  color: var(--light-text) !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url('/static/img/BeatFarmTile.png');
  background-repeat: repeat;
  animation: scrollBackground 60s linear infinite;
  position: relative;
  z-index: 0; /* ?? creates stacking context but doesn't hide content */
}

main {
  flex: 1;
}

html,
body {
  width: 100%;
  overflow-x: hidden; /* prevent sideways scroll bars */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Social login buttons */
.social-login-buttons .btn {
  flex: 1 1 auto !important;
}

.btn-google {
  background-color: #f47442;
  color: #ffffff;
}

.btn-google:hover {
  background-color: #e35b16;
  color: #ffffff;
}

.btn-facebook {
  background-color: #1877F2;
  color: #ffffff;
}

.btn-facebook:hover {
  background-color: #0e5abd;
  color: #ffffff;
}

/* bgs */
.bg-primary {
  background-color: #000814 !important;
}

.bg-tertiary {
  background-color: #4800a7 !important;
}

.bg-red {
  background-color: #ff483f !important;
}
/* plops */

.genre-plop {
  /*background-color: #0460ff !important;*/
  background-color: #e01a5ffc !important;
  color: #fff !important;
  text-decoration: none;
}

.genre-plop:hover {
  text-decoration: underline;
}

.bpm-plop {
  background-color: #d41a80 !important;
}

.key-plop {
  background-color: #9004ff  !important;
}

/* Role badge colors */
.bg-role-artist {
  background-color: #ff483f !important;
}

.bg-role-producer {
  background-color: #54ba02 !important;
}

.bg-role-mixer {
  background-color: #0852d2 !important;
}

.bg-role-masterer {
  background-color: #5512ce !important;
}

.bg-role-singer {
  background-color: #ffa200 !important;
}

/* Showcase Blur */
.profile-banner.showcase-blur {
  filter: brightness(0.77777777) blur(4px);
}

/* Genre-specific colors */
.bg-genre-hip_hop { background-color: #d81b60 !important; }
.bg-genre-trap { background-color: #6a1b9a !important; }
.bg-genre-rnb { background-color: #8e24aa !important; }
.bg-genre-pop { background-color: #ff4081 !important; }
.bg-genre-rock { background-color: #f44336 !important; }
.bg-genre-electronic { background-color: #00bcd4 !important; }
.bg-genre-house { background-color: #388e3c !important; }
.bg-genre-techno { background-color: #1e88e5 !important; }
.bg-genre-trance { background-color: #00b0ff !important; }
.bg-genre-dubstep { background-color: #ff7043 !important; }
.bg-genre-drum_and_bass { background-color: #ffeb3b !important; }
.bg-genre-jazz { background-color: #6d4c41 !important; }
.bg-genre-blues { background-color: #3949ab !important; }
.bg-genre-lofi { background-color: #ffb74d !important; }
.bg-genre-country { background-color: #8bc34a !important; }
.bg-genre-folk { background-color: #a1887f !important; }
.bg-genre-reggae { background-color: #2e7d32 !important; }
.bg-genre-metal { background-color: #424242 !important; }
.bg-genre-ambient { background-color: #546e7a !important; }
.bg-genre-experimental { background-color: #ad1457 !important; }
.bg-genre-other { background-color: #757575 !important; }
.bg-genre-classical { background-color: #ffd54f !important; }
.bg-genre-soul { background-color: #512da8 !important; }
.bg-genre-punk { background-color: #e91e63 !important; }
.bg-genre-funk { background-color: #009688 !important; }
.bg-genre-latin { background-color: #f4511e !important; }

/* Small flag icon positioned on top-right of profile avatar */
.profile-report-icon {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 1.1rem;
}
/* Preview Image for templates that use Custom Image Upload */
/*
.preview-wrapper {
  width: 548.444px;
  height: 548.444px;
  margin: 0 auto 1rem;
  overflow: hidden;
}*/

/* Preview Image for templates that use Custom Image Upload */
.preview-wrapper {
  width: 548.444px;
  height: 308.5px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  cursor: pointer;
}

/* Scrollbar styling just for the catalog page */
::-webkit-scrollbar {
  width: 10px;                      /* narrow bar */
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0f0f1f;              /* match catalog background */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ff00ff #0f0f1f;
}

.backdrop-blur {
  /* only works on elements with a background
     or stacking context—body will work if you’ve
     set a background-color or image */
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}

.backdrop-darken {
  -webkit-backdrop-filter: brightness(0.5);
  backdrop-filter: brightness(0.5);
  /*backdrop-filter: brightness(0.2) blur(5px);*/
}

.backdrop-darken-blur {
  -webkit-backdrop-filter: brightness(0.2) blur(5px);
  backdrop-filter: brightness(0.2) blur(5px);
}
/* Ensure the title section of list group items stretches to fill
   the available space so that action buttons remain aligned. */
.list-group-item.d-flex span:first-child,
.list-group-item.d-flex div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

/* -- Reveal-on-scroll divider ---------------------------------- */
.divider {
  width: 60%;                   /* how long the line will be */
  height: 2px;                  /* thickness */
  background: var(--primary-gradient-start);
  margin: 2rem auto;            /* space above/below */
  transform: scaleX(0);         /* start “closed” */
  transform-origin: center;     
  transition: transform 0.8s ease-out;
  opacity: 0.8;
}

.divider.active {
  transform: scaleX(1);         /* “open” the line */
}

.btn-close {
  width: 1em;
  height: 1em;
  padding: 0.25em;
  border: 0;
  background: transparent
    url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-x-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm3.354 4.646L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 1 1 .708-.708'/%3E%3C/svg%3E")
    center/1em no-repeat;
  opacity: 0.5;
}

/* Terms Box */
.terms-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  max-height: 915px;
}

.terms-content {
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  max-width: 480px;
  text-align: center;
}

.terms-content a {
  color: #64ffda;
  text-decoration: underline;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1; /* ensure consistent cross-browser color */
}


/* Shared form input look like signup */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="url"],
input[type="file"],
input[type="number"],
input[type="tel"],
textarea,
select {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: none;
  border-radius: 0.75rem;
  color: #fff !important;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Focus override */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="url"]:focus,
input[type="file"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 10px var(--glow-color, #9b59b6) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.genre-dropdown-control {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: none;
  border-radius: 0.75rem;
  color: #fff !important;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.genre-dropdown-control:focus {
  box-shadow: 0 0 10px var(--glow-color, #9b59b6) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

select {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--light-text) !important;
  border: none !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  appearance: none !important; /* Remove OS native arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23fff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  max-height: 200px;
  overflow-y: hidden;
}

/* Ensure selects don't shrink so much that option text overflows */
select.form-select {
  width: auto;
  min-width: 250px;
  max-width: 100%;
}

select.form-select[size]:not([size="1"]) {
  overflow-y: auto;
}

select option {
  background-color: rgb(29 27 45) !important;
  color: #f3f3f4 !important;
}

@media screen and (max-width: 768px) {
  select {
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
  }
}

/* Compact track cards for artist showcase */
.track-card-compact {
  height: 100%;
  overflow: hidden;
}
.track-card-compact .card-title {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.track-card-compact .card-body {
  padding: 0.5rem !important;
}
.track-card-compact .d-flex.mb-3,
.track-card-compact .d-flex.mb-2 {
  margin-bottom: 0.25rem !important;
}
.track-card-compact .audio-player {
  margin-bottom: 0.25rem !important;
}
.track-card-compact .play-btn {
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
}
.track-card-compact .card-footer {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem;
  background-color: rgba(255, 255, 255, 0.05); /* match card bg if needed */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.track-card-compact img.rounded-circle {
  width: 30px !important;
  height: 30px !important;
}
.track-card-compact .badge {
  font-size: 0.6rem;
}

/*Navbar Shit */
.navbar,
.navbar .container,
.navbar .row {
  overflow: visible !important;
  position: relative; /* Ensure dropdown uses this as context */
  z-index: 100;
}

/* Subscription Group
.list-group-item {
  background-color: var(--card-bg) !important;
  color: var(--light-text) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
*/

.list-group-item {
  background-color: var(--card-bg) !important;
  color: rgb(255, 255, 255) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-image: linear-gradient(90deg, #ff00cc, #3333ff) 1;
  border-top-width: 1px !important; /* if needed explicitly */
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}



/*------------------------------------------------------------------------
  Creator Dashboard Card (left glow + centered form)
------------------------------------------------------------------------*/
.creator-dashboard-card {
  position: relative;
  border-left: 4px solid var(--primary-gradient-start);
}

/* Ensure the select is full-width but not too wide on large screens */
.creator-dashboard-card .form-select {
  width: 100%;
  max-width: 280px;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
}

/* Pill-shaped Go button */
.creator-dashboard-card .btn-go {
  border-radius: 50px;
  padding: 0.5rem 2rem;
  min-width: auto;
}

/* Tidy up the gap between label, select, and button */
.creator-dashboard-card form {
  margin-top: 1rem;
}

/*Home Container sizing*/
.container.py-5 {
    padding: 0.566rem;
}

/* Tools */
.wrapped-text {
  width: 200px;           /* Set a width to allow wrapping */
  word-wrap: break-word;  /* Ensures long words break */
  overflow-wrap: break-word; /* Modern standard */
}
/*Prevent Text Wrapping (if needed)*/
.nowrap {
  white-space: nowrap;
}
/*Force Breaking Long Words (like URLs)*/
.break-long {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

/* Navigation */

.navbar {
  background: var(--darker-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-weight: 800;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* navbar stuff for account overview */

  .nav-left a, .nav-right a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
  }

  .account-dropdown {
    position: relative;
    display: inline-block;
  }

  .account-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #222;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1;
  }

  .account-menu a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .account-menu a:hover {
    background-color: #333;
  }

  .account-dropdown:hover .account-menu {
    display: block;
  }

.dropdown-menu {
  z-index: 1050 !important;
  position: absolute !important;
}

.content-card,
.card-body {
  overflow: visible !important;
  position: relative;
}



span.text-you {
  color: #0d40eb;
  font-size: 18;
}

/* Forms */
.form-text {
  margin-top: .25rem;
  font-size: .875em;
  color: rgb(167 171 174);
}

div > p.text-muted {
  margin-top: .25rem;
  font-size: .875em;
  color: rgb(167 171 174);  
}
/*
.text-muted-1 {
  margin-top: .25rem;
  font-size: .875em;
  color: rgb(167 171 174);
}

p .text-muted-2 {
  margin-top: .25rem;
  font-size: .875em;
  color: rgb(246 6 173) !important;
}
*/

small .text-muted-2 {
  margin-top: .25rem;
  font-size: .875em;
  color: rgb(246 6 173) !important;
}


/* Buttons */
.logout-btn {
    background: none;
    background-color: #00000000;
    color: #ff004d;
    transition: background-color 0.2s ease;
    border-radius: 0.5rem;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 440;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.logout-btn:hover {
    background-color: #740f0fa8;
    color: #ff004d;
    border-radius: 0.5rem;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 440;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.logout-btn:active {
    background-color: #00000000;
    color: #ff004d;
    border-radius: 0.5rem;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 440;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.btn {
  border-radius: 30px !important;
  padding: 0.6rem 1.5rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.btn-primary-gradient {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 170, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 0, 170, 0.4);
}

.btn-secondary-gradient {
  background: linear-gradient(to right, var(--secondary-gradient-start), var(--secondary-gradient-end));
  color: var(--darker-bg);
  box-shadow: 0 4px 15px rgba(166, 255, 0, 0.3);
}

.btn-secondary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(166, 255, 0, 0.4);
}

.btn-glow {
    background-color: #ffffff !important;
    border: 1px solid var(--primary-gradient-start);
    color: #000000;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn-glow:hover::before {
  transform: scaleX(1);
}

.btn-glow:hover {
  color: white;
  border-color: transparent;
  box-shadow: 0 0 15px var(--glow-color);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.btn-outline-danger {
  border-color: #ff4d4d;
  color: #ff4d4d;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background: #ff4d4d;
  color: white;
  box-shadow: 0 0 10px #ff4d4d, 0 0 40px #ff4d4d33;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

#opponent-timer.heartbeat,
.heartbeat-timer {
  animation: heartbeat 1s infinite;
}

.countdown-clean {
  font-family: 'Courier New', monospace;
  letter-spacing: 4px;
  text-shadow: 0 0 8px currentColor, 0 0 20px currentColor;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}


.countdown-clean.glow {
  animation: glow-pulse 1s ease-in-out infinite alternate;
  text-shadow: 0 0 10px currentColor, 0 0 25px currentColor;
}


#countdown {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.5rem !important;
  padding: 0.5rem 1.25rem !important;
  line-height: 1.2 !important;
  letter-spacing: 2px !important;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
}


@keyframes glow-pulse {
  from { text-shadow: 0 0 10px currentColor; }
  to   { text-shadow: 0 0 20px currentColor; }
}

.friend-card {
  background-color: rgba(255, 255, 255, 0.03); /* translucent glass look */
  border-radius: 1rem;                        /* rounded corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); /* soft shadow */
  list-style: none;
  transition: background-color 0.3s ease;
}

.friend-card:hover {
  background-color: rgba(255, 255, 255, 0.06); /* subtle hover effect */
}

.divider-line {
  height: 1px;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  opacity: 0.4;
  border-radius: 10px;
}

/*.dropdown-menu {
  z-index: 1050;
  background-color: #1a1a1a;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  padding: 0.5rem;
  min-width: 180px;
  overflow: visible;
}

.dropdown-menu a {
  padding: 0.5rem 1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}*/
.dropdown-menu {
  background-color: #1a1a1a !important;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  padding: 0.5rem;
  min-width: 180px;
  z-index: 1050;
}

.dropdown-menu a {
  color: white !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-weight: 440;
}

.dropdown-menu a:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}
.friend-card .dropdown-toggle {
  background-color: rgba(255, 255, 255, 0.08);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  transition: background-color 0.2s ease;
}
.friend-card .dropdown-toggle a:hover{
  background-color: rgba(255, 255, 255, 0.08);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  transition: background-color 0.2s ease;
}


.friend-card .dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.friends-list,
.content-card,
.col-md-4,
.row,
.container {
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
}
/*
.friend-card {
  position: relative;
  z-index: 10; 
}

.friend-card .dropdown-menu {
  z-index: 9999 !important;  

.content-card {
  position: relative;
  z-index: 1;
}
*/
/* Elevate the dropdown above all containers/cards */
.friend-card {
  position: relative;
  z-index: 100;
}

.friend-card .dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
  top: 100%; /* ensures it shows below the toggle */
  left: auto;
  right: 0;
  transform: translateY(4px); /* spacing from toggle */
}

/* Ensure the card and containers don't clip it */
/*
.content-card,
.friends-list,
.col-md-4,
.row,
.container {
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
}
*/

/* Hero Section */
/*
.hero {
  background-color: var(--darker-bg);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  margin-bottom: 3rem;
}
*/
/*
.hero {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
    padding: 5vw;
    margin-bottom: 0rem;
}
*/
p#info-card-home {
  color: #f0e0ef
}
/*
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width:250%;
  height: 100%;
  background: linear-gradient(135deg, rgb(14 119 153 / 15%), rgb(243 6 164));
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(166, 255, 0, 0.1) 0%, transparent 70%);
  z-index: 0;
}
*/
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Feature Cards */
.feature-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-card .icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  box-shadow: 0 10px 20px rgba(255, 0, 170, 0.3);
}

.feature-card:nth-child(2) .icon-wrapper {
  background: linear-gradient(135deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
  box-shadow: 0 10px 20px rgba(166, 255, 0, 0.3);
}

.feature-card:nth-child(3) .icon-wrapper {
  background: linear-gradient(135deg, #ff9900, #ff00aa);
  box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
}

.feature-card .icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
}

/* Content Cards */
.content-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  word-break: break-all;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.content-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.content-card .card-body {
  padding: 1.5rem;
  flex: 1 1 auto;          /* ? take up all available space between header & footer */
  overflow: hidden;        /* ? clip anything that doesn’t fit */
}

.content-card .card-body {
  padding: 1.5rem;
  flex: 1 1 auto;
  overflow: visible !important; /* ?? remove the clipping */
  position: relative;           /* ?? ensure z-index can stack correctly */
}

.friend-card {
  position: relative;           /* ensure dropdown can escape */
  overflow: visible !important;
  z-index: 2;
}

.friend-card .dropdown-menu {
  position: absolute !important; /* necessary for escape */
  z-index: 9999 !important;
}

.content-card .card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.content-card .card-text {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 1rem !important;
  display: -webkit-box;           /* magic for multiline truncation */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;          /* ? adjust “5” until this height matches your left card */
  overflow: hidden;               /* clip the rest */
  /* optionally add a fading gradient or ellipsis overlay here */
}

.content-card .card-footer {
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* User Profile */
.profile-header {
  background-color: var(--darker-bg);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 0, 170, 0.1));
  z-index: 0;
}

.profile-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.profile-content {
  position: relative;
  z-index: 1;
}


.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
  /*
.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 37%;
    border: 5px solid rgb(249 241 247);
    object-fit: cover;
    box-shadow: 0 10px 30px rgb(146 146 146 / 30%);
}*/
/* Subscription Plans */
.plan-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
  border: none;
  background-color: var(--card-bg);
  height: 100%;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.plan-card .card-header {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  font-weight: 700;
  padding: 1.5rem;
  text-align: center;
  border-bottom: none;
}

.plan-card.premium .card-header {
  background: linear-gradient(to right, var(--secondary-gradient-start), var(--secondary-gradient-end));
}

.plan-card .card-body {
  padding: 2rem;
  color: var(--light-text);
}

.plan-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.plan-card.premium .price {
  background: linear-gradient(to right, var(--secondary-gradient-start), var(--secondary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.plan-card .features {
  margin-bottom: 2rem;
}

.plan-card .features li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.plan-card .features li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--primary-gradient-start);
}

.plan-card.premium .features li::before {
  color: var(--secondary-gradient-start);
}

/* Messaging 
.conversation-list {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 600px;
    overflow-y: auto;
    background-color: var(--card-bg);
    border-radius: 15px 15px 15px 15px !important;
    border-right: none !important;
}
*/
.conversation-list {
  height: auto !important;
  overflow: visible !important;
}

/* in style.css */
.chat-window {
  height: 600px;
  overflow-y: auto;
  /* …other styles… */
}
.conversation-item {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.conversation-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.conversation-item.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.conversation-item:first-child {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}


.conversation-item:last-child {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.conversation-item:not(:last-child) {
  border-bottom: 1px solid #444; /* or whatever color */
}

.conversation-item:last-child {
  border-bottom: none !important;
}

.message-container {
  height: 500px;
  overflow-y: auto;
  padding: 1rem;
  background-color: var(--card-bg);
  border-radius: 0 15px 0 0;
}

.message {
  max-width: 75%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 15px;
}

.message.sent {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 0;
}

.message.received {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 0;
}

.message-input {
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.message-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  box-shadow: 0 0 0 0.25rem rgba(0, 194, 255, 0.25);
}

/* Monthly Harvest */
.harvest-package {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.harvest-package h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--secondary-gradient-start), var(--secondary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.harvest-content {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.05);
}

.harvest-content:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--darker-bg);
  color: var(--light-text);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

p#footer {
  color: rgba(255, 255, 255, 0.725);
  text-decoration: none;
}

p#copyright {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

#trust-seal img {
  max-width: 111px;
  height: auto;
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 194, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 255, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-avatar {
    width: 100px;
    height: 100px;
  }
  
  .conversation-list {
    height: 300px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 15px 15px 0 0;
  }
  
  .message-container {
    height: 400px;
    border-radius: 0 0 15px 15px;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
}

@media (max-width: 962.400px) {
  .friend-item {
    flex-direction: column;
    /* position: relative; */
    /* overflow: revert; */
  }
}
/*
.friend-item.d-flex.align-items-center.justify-content-between.p-2.border-bottom {
    row-gap: 15px;
    margin: 13px;
    overflow: hidden;
    position: sticky;
    flex-flow: wrap;
    background-color: rgb(255 255 255 / 72%);
    border-radius: 15px 15px 15px 15px !important;
}
*/
.btn-group {
  -webkit-text-stroke: thin !important;
}

/* =========================================================================
   1) FORM & CARD STYLES (reused for Signup, Reset, Change, Contact, etc.)
   ======================================================================= */

/* Full-page wrapper used by signup, reset, change, contact, etc. */
.reset-wrapper,
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68vh;
  padding: 1rem;
  background-size: cover;
}

/* The translucent “glass” card */
.reset-card,
.content-card.contact-card {
  background-color: var(--card-bg);   /* e.g. rgba(0,0,0,0.7) */
  border-radius: 1rem;
  padding: 2rem;
  max-width: 450px; /* for signup, contact, etc. */
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin: 1rem;
}

/* HEADINGS */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Titles for signup / change password / contact / success pages */
.signup-title,
.change-title,
.contact-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
}

/* Paragraph/text under headings */
.signup-text,
.change-text,
.contact-text {
  margin-bottom: 1.5rem;
  color: var(--text-muted-1);
  line-height: 1.4;
  text-align: center;
  font-size: 1rem;
}

/* Form group (label + input) */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--light-text);
}

/* All <input> and <textarea> fields get this “glassy” style */
.message-input {
  width: 100%;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  outline: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Glowing focus effect */
.message-input:focus {
  box-shadow: 0 0 10px var(--glow-color); /* e.g. #00c6ff */
  background-color: rgba(255, 255, 255, 0.15);
}

/* Gradient “Submit” button (used in forms) */
.btn-submit {
  width: 100%;
  padding: 0.75rem !important;
  font-size: 1rem !important;
  border: none !important;
  border-radius: 0.75rem !important;
  cursor: pointer !important;
  background-image: linear-gradient(
    90deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  ) !important;
  color: var(--light-text) !important;
  transition: opacity 0.2s ease, box-shadow 0.2s ease !important;
  margin-top: 1rem !important;
}
.btn-submit:hover {
  opacity: 0.95;
  box-shadow: 0 0 15px var(--primary-gradient-start);
}

/* Secondary gradient-style button (used for Cancel, Return to Home, etc.) */
.btn-secondary-gradient {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  background-image: linear-gradient(
    90deg,
    var(--secondary-gradient-start),
    var(--secondary-gradient-end)
  );
  color: var(--light-text);
  text-decoration: none;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  margin-top: 0.5rem;
}
.btn-secondary-gradient:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px var(--secondary-gradient-start);
}

/* Success Icon (checkmark) */
.success-icon {
  margin-bottom: 1rem;
}

/* Error styling for form errors (if you use Django’s messages or errorlist) */
.errorlist {
  list-style-type: none;
  margin-bottom: 1rem;
  padding: 0;
}
.errorlist li {
  color: var(--error-color);  /* e.g. #ff4d4d */
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
   2) OPTIONAL: Google Places Autocomplete Overrides
   (Adjust if you want different styling on the autocomplete dropdown)
   ------------------------------------------------------------------------- */
.pac-container {
  z-index: 10000 !important; /* ensure dropdown is on top */
}
.pac-list,
.pac-item {
  font-family: 'Poppins', sans-serif;
}


.hero-section {
  /* kill the global scrollBackground animation on this one element */
  animation: none !important;
  /* ensure our background stays locked to the viewport */
  background-attachment: fixed !important;
}

/* Global Flash Messages */
div .alert {
  background-color: #0c0e1a !important;  /* match your card-bg tone */
  color: var(--light-text) !important;
  border: none !important;
  border-left: 4px solid var(--primary-gradient-start);
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  position: relative;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

/* Variants */
 div .alert-success {
  border-left-color: var(--secondary-gradient-start);
}
div .alert-info {
  border-left-color: var(--primary-gradient-start);
}
div .alert-danger {
  border-left-color: #ff4b2b;
}

/* Close button */
div .alert .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
div .alert .btn-close:hover {
  opacity: 1;
}

div .alert-dismissible .btn-close {
  top: 50% !important;
  transform: translateY(-50%) !important;
}


.alert {
  background-color: #0c0e1a !important;
  color: var(--light-text) !important;
  border: none !important;
  border-left: 4px solid var(--primary-gradient-start);
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  position: relative;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

/* Variants */
.alert-success {
  border-left-color: var(--secondary-gradient-start);
}
.alert-info {
  border-left-color: var(--primary-gradient-start);
}
.alert-danger {
  border-left-color: #ff4b2b;
}

/* Close button */
.alert .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.alert .btn-close:hover {
  opacity: 1;
}

.alert-dismissible .btn-close {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* ---------------------------
   My Tracks: flex-card style
   --------------------------- */
/* container for all the items */
.tracks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* each track “card” */
.track-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* top row: title/badges on the left, icons/actions on the right */
.track-item .track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* left side of header: title + genre/private badge */
.track-item .track-header .left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* right side of header: likes/comments + edit/delete */
.track-item .track-header .right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* bottom row: upload date */
.track-item .track-footer {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted-1);
}

/* -- Combined search bar styling -- */
.input-group.search-combine .form-control {
  /* left half rounded, no right border */
  border-radius: 0.75rem 0 0 0.75rem !important;
  border-right: none !important;
}

.input-group.search-combine .btn {
  /* right half rounded, no left border */
  border-radius: 0 0.75rem 0.75rem 0 !important;
  border-left: none !important;
}

.fade-transition {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-transition.show {
  opacity: 1;
}

.scroll-container {
  overflow-y: auto;
}

/* Small avatar for leaderboard */
.leaderboard-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.5rem;
}

.conversation-item .text-truncate {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.message-content {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Chat input styling */
.input-group.chat-combine .form-control {
  border-radius: 0.75rem 0 0 0.75rem !important;
  border-right: none !important;
}

.input-group.chat-combine .upload-btn {
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
}

.input-group.chat-combine .send-btn {
  border-radius: 0 0.75rem 0.75rem 0 !important;
  border-left: none !important;
}

/* Scanning animation */
.scanning-animation {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

#opponent-modal .modal-body {
  word-break: keep-all;
  white-space: nowrap;
}

#opponent-modal .fw-bold {
  line-height: 1.2;
  white-space: nowrap;
}


#build-box {
  width: 100% !important;
}

#build-phase-text {
  font-size: 0.9rem !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
}

#build-box .small {
  font-size: 0.75rem !important;
}

#countdown {
  font-size: 1.75rem !important;
  font-family: 'Courier New', monospace !important;
  letter-spacing: 0.05rem !important;
  font-weight: 700 !important;
}

/* Sample Pack Card Styles */
.pack-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.pack-card {
  background: #050510;
  border: 3px solid transparent;
  border-image: linear-gradient(45deg, #ff004f, #ffcd00, #27ff46, #00c2ff, #e000ff) 1;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.pack-card img {
  max-width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.beatcoin-text {
  color: #ffd700;
}

/* Ensure all table headers and bodies have white text */
thead,
tbody {
  color: #fff;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loading-message {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Ensure consistent print color adjustment for form controls across browsers */
.form-check-input {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
