/* Importing a modern font */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Playfair+Display:wght@400;700&family=IndieFlower&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Metal&family=Outfit:wght@100..900&display=swap");
:root {
    --primary-color: #121414;    /* Light blue */
    --secondary-color: rgb(8 9 10);  /* Green */
    --accent-color: #9A6BFF;     /* Red */
    --background-color: #282b2f; /* Light background */
    --text-color: #f7f8f8;
    --subtle-highlight: #232326; /* Subtle highlight color */
    --progress-color: #728186;
    --info-color: #8b8f98;
    --box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
    --box-shadow-hover: 15px 27px 30px rgba(0, 0, 0, 0.4);
    --loop-shadow: 2px 2px 12px rgba(0, 0, 0, 0.45);
    --wave-color: rgb(64 66 73); /* Waveform color */
    /* --gradient: linear-gradient(135deg, #7801b7 0%, #b51818 40%, #b12900 70%, #925800 100%); */
    /* --gradient: linear-gradient(135deg, #360033 0%, #0b8793 100%); */
    --gradient: linear-gradient(135deg, #1fb29e 0%, #4b2dfd 100%);
    /* --gradient: linear-gradient(135deg, #b21f1f 0%, #fdbb2d 100%); */
    --gradient-active: linear-gradient(130deg, #ff7b00 0%, #ff3cab 50%, #6531ff 100%);
    /* Gold color */
     /* Dark text */
}
/* calc(var(--shadow) * 1px)  
        calc(var(--shadow) * 1px)   
        calc(var(--shadow) * 4px)   s
        rgba(0 0 0 / .35); */
.large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    height: 48px;
    width: 150px;
}
button.active {
    background-color: var(--subtle-highlight);
    color: var(--text-color);
}
.btn.active {
    background-color: var(--subtle-highlight);
    color: var(--text-color);
}
.btn-primary {
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    z-index: 10;
    font-size: 14px;
    color: var(--info-color);
    padding: 8px 16px;
    border-radius: 5px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
               
}

.btn-primary:hover {
    color: var(--text-color);
    z-index: 10; /* Slightly enlarge the button */
    background-color: var(--subtle-highlight);
}
.btn-secondary {
    position: relative;
    background-color: var(--text-color);
    font-family: 'Indie Flower', sans-serif;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.2;
    font-size: 14px;
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 2px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
    z-index: 10;
    transform: scale(1.01); /* Slightly enlarge the button */
    box-shadow: var(--box-shadow-hover) 
}
.btn-tertiary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}
.btn-tertiary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.form {
    padding-top: 20px;
}
.waveform {
    flex: 1;
    border-radius: 10px;
    /* filter: drop-shadow(0 0 40px var(--text-color));  */

}
waveform-beat-32::part(progress) {
    /* Your styles here */
    background-color: rgba(255, 0, 0, 0.2);
    filter: drop-shadow(0 0 5px var(--text-color));
    /* etc. */
  }
  
.waveform:hover {
    cursor: pointer;
}
.bottom-buttons {
    display: flex; /* Center buttons horizontally */
    align-items: center;
    gap: 20px; 
    justify-content: space-between;              /* Space between buttons */
    margin-top: 10px;     
    margin-left: 20px;
    margin-bottom: 20px;
    margin-right: 20px;   /* Space above the button row */
    border-radius: 5px; 
}
.left {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.left .play-pause-button.paused {
    background: var(--primary-color);
    color: var(--text-color);
}
.right {
    display: flex;
    flex-direction: row;


}
    /* Optional: Add space below the container */
.waveform-container1 {
    width: 100%;
    display: flex;
    align-items: center; /* Vertically aligns the buttons in the center */
    gap: 10px; /* Space between buttons */
    margin-top: 10px;
    padding: 0 20px;
    border-radius: 5px;
}    /* Optional: Add space below the container */
.main-button-row {
        display: flex;
        justify-content: center; /* Center buttons horizontally */
        align-items: center;     /* Vertically align buttons in the center */
        gap: 10px;               /* Space between buttons */
        margin-top: 10px;        /* Space above the button row */
        border-radius: 5px; 
}


body {
    width: 100%;
    min-height: 100vh;   
    font-family: 'Indie Flower', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative; 
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--user-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: .4;
    z-index: -1;
}

header {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    text-align: center;

}
h1, h2, h3 {
    font-family: 'Abril Fatface', serif;
    letter-spacing: 1px; /* Optional: enhances the clean look */
    color: var(--text-color);
}
body, p {
    font-family: 'Indie Flower', serif;
    font-weight: 400;
    line-height: 1.6;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    
}
h3 {
    font-size: 1.2rem;
    font-weight: 700;
}
h1.header-title {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    color: var(--text-color); /* Ensure the color is set */
}
/* h3 {
    font-size: 1rem;
} */

p {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    z-index: 10;
    font-size: 14px;
    color: var(--text-color);
} 
/* Remove list bullets */
ul {
    list-style-type: none;
    padding-left: 0; /* Optionally remove the padding on the left */
}

li {
    list-style-type: none;
}

footer {
    color: var(--text-color);
    background-color: var(--primary-color);
    border: var(--subtle-highlight) 2px solid;
    text-align: center;
    padding: 1.5rem;
    position: relative; /* Changed from relative to fixed */
    z-index: 100; /* Ensure it stays on top of other content */
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 200px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}
footer a {
    color: var(--text-color);
}

button {
    background-color: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}


audio {
    width: 100%;
    margin-top: 1rem;
}

img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Navbar styles */
.navbar {
    display: inline-flex;
    position: relative;
    width: 400px;





}
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px; /* Align items evenly */
    justify-content: flex-start; /* Center the items horizontally */
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    padding: 8px 24px;
    display: block;
}
.logo{
  width:70px;aspect-ratio:1/1;
    margin-top: 8px;
  /* gradient paint */
  background:var(--gradient);

  /* logo stencil (now works because this is a normal element) */
  -webkit-mask-image:url("/static/images/logo.3f810fdeba33.png");
          mask-image:url("/static/images/logo.3f810fdeba33.png");
  -webkit-mask-repeat:no-repeat;     mask-repeat:no-repeat;
  -webkit-mask-position:center;      mask-position:center;
  -webkit-mask-size:contain;         mask-size:contain;
}

.logo a {
    text-decoration: none;
    color: var(--accent-color);
    display: flex;
    line-height: 0.8;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                text-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
}

.logo a:hover {
    transform: scale(1.01); /* Slightly enlarge the text */
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4); /* Increase shadow on hover */
}





.navbar-right {
    display: inline-flex;
    position: relative;
    justify-content: flex-end;
}
.navbar-right ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px; /* Align items evenly */
    justify-content: center; /* Center the items horizontally */
}

.navbar-right ul li {
    display: inline;
}

.navbar-right ul li a {
    white-space: nowrap;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 24px;
    display: block;
}
.loops-container-assign {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px;
    gap: 10px 40px; /* First value is row gap, second is column gap */
    margin-top: 20px;
    border-radius: 5px;
}
/* Existing desktop / tablet styles */
.loops-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 20px 20px;           /* row gap | column gap */
    border-radius: 5px;
}

/* Phone‑width override */
@media (max-width: 1000px) {
    .loops-container {
        grid-template-columns: 1fr;   /* single column */
        gap: 20px;                    /* optional: unify row/col gap */
    }
}
.name-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
/* .loops-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--beat-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .4;
    z-index: 0; /* Behind the content */

/* .hidden {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
} */

.loops-section {
    /* Keep element in the flow so max-height can animate */
    z-index: -4;
    overflow: hidden;
    max-height: 0px;
    background-size: cover;        /* Ensure image covers the section */
    background-repeat: no-repeat;  /* Prevent tiling */
    transition: max-height 1s ease;
}

.loops-section.expanded {

    max-height: 1173px; /* adjust as needed */
}
.alternate-beats-section {
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    text-align: center;
    visibility: hidden;
    color: var(--background-color);
    opacity: 0;
    margin-bottom: 0px;
    overflow: hidden;
    max-height: 0px;
    transition: visibility .5s ease, opacity .5s ease, max-height 1s ease;
    

}
.alternate-beats-section.expanded {
    visibility: visible;
    opacity: 1;
    max-height: 1050px; /* adjust as needed */
}
.alternate-beat-item {
    padding-bottom: 10px;
}
.filter-panel {
    border-radius: 5px;
}

.filter-panel-content {
    padding-left: 20px;
    padding-right: 20px;
}

.loop-item {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    text-align: center;
    padding-left: 16px;
    align-items: center;
    padding-right: 16px;
    position: relative;
    box-shadow: var(--loop-shadow), var(--box-shadow-hover);
    border: var(--subtle-highlight) 2px solid;
    background-color: var(--primary-color);
    /* z-index: 10;       */
    

    /* outline: 3px solid var(--secondary-color);  */
    /* box-shadow: var(--box-shadow); */
    /* background-image: url("/static/images/background-2.1b37bef38c0d.jpg");
    background-size: cover; */
}
.loop-item-container {
    /* display: flex; */
    flex-direction: row;
}
/* .loop-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    box-shadow: var(--loop-shadow);

        
    opacity: 1; */

    /* background-color: var(--primary-color); */
    /* background-image: url("/static/images/background-2.1b37bef38c0d.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden; */
    /* opacity: 1; */
    /* outline: 3px solid var(--secondary-color); */
    /* border-radius: inherit; 
} */
.loop-player {
    position:absolute !important;
    width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0,0,0,0);border:0;
  }
.loop-waveform {
    padding: 0;
}
.waveform-container {
    display: flex;
    position: relative;
    gap: 5px;
    height: 80px;
    margin-top: 4px;
    width: 100%; /* Optional: Add space on the left */
    align-items: center;
    justify-content: center; /* Vertically aligns the buttons in the center */ /* Space between buttons */ /* Optional: Add space below the container */
    border-radius: 5px;
}
.wave-form-buttons-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.link-button.Synced {
    background: var(--gradient-active);
    color: var(--text-color);


}

.wave-form-buttons-right {
    margin-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.link-button {
    display: flex;  /* Stack buttons vertically */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
 
    /* Space between buttons and waveform */
}
.circle {
    width: 44px !important;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.download-button {
    display: flex;  /* Stack buttons vertically */
    width: 33px;
    height: 33px;
    border-radius: 50%;
    line-height: 1.8rem !important;
    padding: 0;
    align-items: center;
    justify-content: center;  /* Smooth color transition */
}

.play-pause-button {
    display: flex;
    width: 100px;
    text-align: center;
    justify-content: center;
}
.play-pause-button.paused {
    background: var(--gradient-active);
    color: var(--text-color);
}
.play-pause-button2 {
    background-color: var(--primary-color);

    width: 100px;
    text-align: center;
    color: var(--text-color);
    margin-right: 10px;
    margin-left: 10px;


}



.button-row {
    display: flex;
    align-items: center; /* Vertically aligns the buttons in the center */
    gap: 10px; /* Space between buttons */
    margin-top: 10px;
    border-radius: 5px;
}
.button-row button {
    padding: 8px 12px;
    font-size: 20px;
}
.beats-stage {
    position: relative;
}
.beats-container {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 5%;
    margin-right: 5%;
    width: auto;


}
.form-group {
    padding: 10px;
    border-radius: 5px;
    margin: 20px;
    background-color: var(--primary-color);
}
.upload-button {
    text-align: center;
    margin-bottom: 20px;
}
.form-group a {
    color: var(--text-color);
}
.upload-form-container {
    display: flex;
    background-color: #1f1f1f;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;    
    color: var(--text-color);
    padding: 30px 60px;
    margin: 0 auto; 
    border-radius: 5px; 
    max-width: 60%; 
    box-sizing: border-box;
}
.upload-form-container h1 {
    margin-bottom: 0;
}
.helper-text {
    font-size: 0.9em;
    color: var(--text-color) !important;
}

.helper-text a {
    color: var(--text-color);
}
.upload-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.upload-form button {
    margin: 0 auto;
}
.submit-button {
    display: flex;
    width: 100%;
    justify-content: center; /* Center the button horizontally */
}

.uploader-info {  /* Add space between the waveform and the uploader info */
    font-size: 0.9em;  /* Adjust the font size if needed */
    color: var(--text-color);  /* Use your text color */
}

.uploader-info a {
    color: var(--accent-color); /* Accent color for links */
    text-decoration: none;       /* Remove underline */
    font-weight: bold;  


         /* Make username bold */
}

.uploader-info a:hover {
    text-decoration: underline;  /* Underline on hover for clarity */
}

.toggle-buttons {
    display: flex;
    justify-content: center; /* Center buttons horizontally */
    align-items: center;     /* Vertically align buttons in the center */
    gap: 20px;               /* Space between buttons */
    margin-top: 40px; 
    margin-bottom: 20px;       /* Space above the button row */
    border-radius: 5px; 
}
.waveform-wrapper {
    display: flex;
    align-items: center; /* Vertically center the items */
    margin-bottom: 15px; /* Space below each loop-item */
}


.link-container {
    margin-left: 10px; /* Space between waveform and link */
    display: inline-flex;
    align-items: center;
    line-height: 1; 
    height: 100%;  /* Vertically center the link */
}



  /* .loops-container can have any styling you like */
.modal {
    position: static;
    display: none;
}
.hiddern {
    display: none;
}
.cancel-link {
    color: var(--text-color);
    text-decoration: none;
}

.instrument-item:hover .change-image-btn {
    display: block;
}
.usernames {

    color: var(--text-color);
}

.beat-item {
    position: relative; /* Establish positioning context */
    z-index: 0;         /* Create a new stacking context */
    border-radius: 5px;
    /* background-image: url("/static/images/backgroundlong.9152a92abc2c.jpg");  Adjust the opacity value as needed */
    background-size: cover;
    border: var(--subtle-highlight) 2px solid;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* height: 231px; */
}
.beat-item-detail {
    position: relative; /* Establish positioning context */
    z-index: 0;         /* Create a new stacking context */
    padding-bottom: 20px;
    border-radius: 5px;
    background-image: url("/static/images/backgroundlong.9152a92abc2c.jpg"); 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--box-shadow);
    /* height: 231px; */
}
.beat-item-detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--beat-bg);
    background-size: 100% auto;      /* Image fills the width, height adjusts automatically */
    background-repeat: repeat-y;      /* Repeats vertically */
    background-position: top center;  /* Anchors the image at the top center */
    opacity: .4;
    border-radius: 5px;
    z-index: 2;
    height: 287px; 
    
}
/* Pseudo-element for the background image */
/* .beat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--beat-bg);
    background-size: 100% auto;   
    background-repeat: repeat-y;     
    background-position: top center; 
    opacity: .4;
    border-radius: inherit;
    z-index: -2;
    height: 288px; 
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.9);
} */

.beat-item:hover {
    z-index: 10;
    /* transform: scale(1.03);  */
    /* box-shadow: var(--box-shadow-hover);  */
}
.buttons-container-detail {
    display: flex;
    gap: 20px; /* Space between buttons */
    align-items: center; /* Ensures both buttons are vertically aligned */
    width: 100%; /* Ensures the container spans the entire width of the screen *//* Add some space below the buttons if needed */
}
.buttons-container-detail-right {
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Vertically center the items */
    gap: 15px; /* Control spacing between items */
    width: 100%; /* Ensure the container spans the entire width of the parent */
}
.beat-header {
    position: relative;
    padding: 8px 20px;
    border-radius: 2px;
    margin-top: -5px;
    margin-right: 50px;
    /* background-image: url("/static/images/background-2.1b37bef38c0d.jpg"); */
    /* background-size: cover; */
    display: block;
    /* outline: 3px solid var(--secondary-color); */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* .beat-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--beat-bg);
    background-size: cover;     
    background-position: top center;  
    opacity: .2;
    border-radius: inherit;
    z-index: 0;
} */
.beat-header-detail {
    margin: 0 5%;
    flex-direction: row;
    align-items: center; /* Align items vertically in the center */
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 0;
    transition: background-color 0.3s ease; 
}
.detail-buttons-container {
    display: flex;
    flex-direction: row;
    align-self: flex-end;
    gap: 10px; /* Space between buttons */
    align-items: center;
    justify-content: center;
}
.beat-title-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px; 
    position: relative;
    text-align: center;
    z-index: 1; /* higher than ::before */
  }


.beat-info a {
    color: var(--text-color);
}
.beat-title {
    position: relative;
    white-space: nowrap;
    padding: 0 !important;
    margin: 0 !important; /* Combined margins, keeping left margin */
    font-weight: bold;
    line-height: 1;
    z-index: 7; /* Pushes the text to the top */
}
.beat-title-container .profile-link {
    margin-top: 0px;
}
.beat-title-container, .profile-link-container {
    position: relative;
    z-index: 1; 
    margin-top: -4px;
    /* higher than ::before */
}
/* Optional styling for the buttons */
.upload-loops, .download-all {
    padding: 10px 20px;
    background-color: var(--button-color); /* Customize your button color */
    color: var(--text-color); /* Customize your text color */
    border: none;
    cursor: pointer;
}

.upload-loops {
    margin-right: auto; /* Pushes it to the left */
}

.download-all {
    margin-left: auto; /* Pushes it to the right */
}
.upload-loops-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 2px;
    padding: 20px;
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    background-color: var(--primary-color);
    border: var(--subtle-highlight) 2px solid;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}
.policy-container {
    color: var(--secondary-color);
}
.policy-container hr {
    border: none;
    border-top: 1px solid var(--secondary-color);
    height: 1px;
    margin: 20px 0;
}
.tos-container {
    margin-top: 20px;
    color: var(--text-color);
    background-color: var(--secondary-color);
}
.tos-container hr {
    border: none;
    border-top: 1px solid var(--text-color);
    height: 1px;
    margin: 20px 0;
}
.tos-container h1 {
    color: var(--text-color);
}
.tos-container h2 {
    color: var(--text-color);
}
.upload-loops-form h2 {
    color: var(--text-color);
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.upload-loops-form a {
    color: var(--text-color);
}
.upload-form-loops {
    text-align: center;
    margin-left: 70px;
}

.upload-remix-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 2px;
    padding: 20px;
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    background-color: var(--secondary-color);
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}
.remix-input {
    text-align: left;
}
.upload-remix-form h2 {
    color: var(--text-color);
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.upload-remix-form a {
    text-decoration: none;
}

.upload-form-remix {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}
.header-image {
    width: 8%;
    height: auto;
    border-radius: 10px;

}
.loop-title-container {
    margin: 10px 10px;
    text-align: center;
}
.loop-title-edit {
    border: #000000 solid 1px;
    width: 50%;
    margin: 0;
} 
.centered-text {
    display: flex;
    justify-content: center; /* Centers the text horizontally */
    text-align: center;
    align-items: center;
}
.loops-container-assign.centered-single {
    display: flex;
    justify-content: center;
    align-items: center;
}
.loops-container-assign.centered-single .assign-background {
    flex: 0 0 100%; /* or a specific width if 100% is too wide */
}
.assign-background {
    display: flex;
    flex-direction: column;
    border: var(--subtle-highlight) 2px solid;
    box-shadow: var(--box-shadow-hover), var(--loop-shadow);
    background-color: var(--primary-color);
    border-radius: 5px;
    padding: 20px;
    position: relative;
    z-index: 0;        
}
/* .assign-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/static/images/background-2.1b37bef38c0d.jpg");
    background-size: cover;     
    background-repeat: repeat-y;      
    background-position: top center;  
    opacity: .7;
    z-index: -2;
    border-radius: inherit; 

} */
.filter-modal {
    display: none;  /* Hide by default */
    padding: 10px;  /* Add space below the modal */

}
.form-group-title {
    margin-left: 70px;
}
.form-group-audio {
    margin-left: 70px;
    margin-top: 20px;
    margin-bottom: 40px;
}
/* When the modal is visible, it will take up space and push content down */
.filter-modal.visible {
    display: block;
}

/* Optional: Style for the modal content */
.modal-content {
    padding: 0px;
    border-radius: 5px;
}

.close-button {
    float: right;
    cursor: pointer;
    font-size: 18px;
}
.filter-columns-container {
    display: flex;
    flex-direction: row;
    position: relative;
    gap: 20px; /* Adds space between filter columns */ /* Centers the columns horizontally */
 /* Adjust gap between columns if needed */
}
.instrument-buttons-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;  
    padding: 16px;
    justify-content: center;
    align-items: flex-end;
    position: relative; 
    border: var(--subtle-highlight) 2px solid;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: var(--loop-shadow), var(--box-shadow-hover);
    z-index: 1; /* Ensure it stays on top of other content */
}

/* .instrument-buttons-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0.5;
    z-index: -1;
    border-radius: 5px;
} */

.instrument-button {
    display: block;
}

.instrument-button button {
    vertical-align: middle;
    width: auto;
    padding: 8px 12px;
    cursor: pointer;
    margin: 0;
}

.options-container {
    position: absolute;
    top: 20px;              /* <-- pick your vertical offset */
    right: 20px;
  
    display: flex;
    flex-direction: column;
  
    /* Stack from the top, not centered */
    justify-content: flex-start;
    /* Push items all the way to the right edge */
    align-items: flex-end;
  
    gap: 10px;
    border-radius: 5px;
  }
.sorting-options-container {
    position: relative;
    padding: 16px 16px;
    display: flex;
    flex-direction: row;
    width: fit-content;
    gap: 10px;
    /* justify-content: center; */
    text-align: center;
    align-items: center;
    margin-left: auto;
    border-radius: 5px;
    box-shadow: var(--loop-shadow), var(--box-shadow-hover);
    border: var(--subtle-highlight) 2px solid;
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */ /* This pushes the container to the bottom */ /* This pushes the container to the bottom */
}

.preset-options-container {
    position: relative;
    padding: 16px 16px;
    display: flex;
    width: fit-content;
    flex-direction: row; /* Stack sorting and preset controls */
    gap: 10px;
    text-align: center;
    align-items: center;
    border-radius: 5px;
    box-shadow: var(--loop-shadow), var(--box-shadow-hover);
    border: var(--subtle-highlight) 2px solid;
}
/* .preset-options-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0.5;
    z-index: -1;
    border-radius: 5px;

} */
.unsync-all-container {
    display: flex;
    text-align: center;
    align-items: center;
    margin-top: auto; 
}
.preset-dropdown {
    height: 32.8px;
    line-height: 32.8px;
    text-align: center;
    border: none;
    padding: 0px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preset-dropdown:hover {
    cursor: pointer;      /* Example: change text color */
}
.select-instrument-dropdown {
    margin-top: 8px;
    margin-bottom: 8px;
    height: 32.8px;
    text-align: center;
    align-self: center;
    border: none;
    align-items: center;
    cursor: pointer;
}
.sort-dropdown {
    height: 32.8px;
    text-align: center;
    line-height: 32px;
    padding: 0;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.beats-sorting {
    width: 100%;
    display: flex;
    /* padding: 10px 20px; */
    margin-left: 0px;
    /* margin-right: 20px; */
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 0px;
}
.sorting-form {
    display: flex;
    justify-content: flex-start; 
    gap: 20px;                  /* Adds horizontal space between elements */
    align-items: center;       /* Vertically centers elements if needed */
    flex-wrap: wrap;           /* Allows wrapping on small screens */
}
.sorting-container {
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center the items */
    gap: 10px; /* Space between dropdown and buttons */
    margin-left: 5%;
}
.filter-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-right: 5%;  /* Adjust the value to get desired spacing */
}
.filter-buttons button {
    padding: 8px 12px;
}


.close-button {
    display: none;
}
  .beat-image-display {
    border-radius: 5px;
    position: relative;
    padding-top: 20px;
    background-color: var(--primary-color);
    
  }

.title-free-container {
    display: flex;
    position: relative;
    width: 100%;
    justify-content: space-between; /* Space out title and FREE */
    align-items: center; /* Center them vertically */
}
.free-text {
    position: absolute;
    right: 20px; /* Pushes this element to the far right */
    top: 0; /* Pushes this element to the far right */
    color: var(--secondary-color);
}
.save-beat-container {

    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.save-beat-icon {
    display: inline-block; /* Makes sure the element can accept transforms/filters */
    font-size: 3rem;       /* Adjust as needed */
    transition: transform 0.2s ease, filter 0.2s ease;
    /* Apply drop-shadow to follow the icon's shape */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  }
  
  /* Hover effect for scaling and shadow */
  .save-beat-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    /* Add helper text on hover */
    position: relative; /* Ensure the container is positioned */
}
  
.rank-highlight {
    margin-top: 0;
    margin-bottom: 0;
    font-size: medium;
    /* margin: 0; */
    padding: 0;
    z-index: 1;
}
.rank-highlight h3 {
    font-size: 1.5rem;
    line-height: 0.8;
    margin: 0;
    padding: 0;
}
.profile-link-container {
    line-height: 1;
    margin-top: 3px;
}
.profile-link {
    color: var(--info-color);
    height: auto;
    font-family: 'Metal', serif;
    font-size: small;
    text-decoration: none;
    margin-top: 5px;

}
.profile-link:hover {
    text-decoration: underline;
}
.profile-link1 {
    color: var(--secondary-color);
    height: auto;
    margin-top: 3px;
    margin-right: 0;
    font-size: small;
    text-decoration: none;
}
.hidden-buttons {
    text-align: center;
    margin-bottom: -10px;
}
.padding {
    padding: 10px;
}

.navbar-wrapper {
    /* background-image: url("/static/images/background-2.1b37bef38c0d.jpg"); 
    background-size: cover;       
    background-repeat: no-repeat; 
    background-position: center; */
    border-bottom: var(--subtle-highlight) solid 1px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    height: 65px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative; /* This pushes the container to the bottom */
}
.navbar-container {
    margin: 0 5%;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px; /* Space between logo and other items */
    /* outline: 3px solid var(--secondary-color); */
    position: relative; /* This pushes the container to the bottom */
}
.navbar-buttons-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
/* Style the dropdown button */
.dropdown {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    right: 0;
    padding: 14px 0px;
    width: 100px;
}

.dropdown-toggle {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    display: flex; /* Flex to center icon inside the button */
    align-items: center;
    justify-content: center;
}



/* Dropdown menu */
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the button */
    left: 0;
    z-index: 1;
}

.dropdown-menu .dropdown-item {
    width: 200px;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
    display: block;
    margin-bottom: 15px;
}


/* Show dropdown menu on button click */
.dropdown:hover .dropdown-menu {
    display: block;
}
.fa-cog {
    font-size: 25px;
    color: var(--secondary-color);
}
.fa-cog:hover {
    color: var(--accent-color);
}
.fa-cog:active {
    color: var(--accent-color);
}
.loop-count {
    color: var(--text-color);
    font-size: 18px;

}
.preset-and-buttons {
    position: relative;
    display: flex;
    align-items: center; /* To position the buttons absolutely within this container */
}

/* Position the like/dislike container */
.like-dislike-container {
    top: 50%;
    left: 100%; /* Position it to the right of the dropdown */ /* Center vertically */
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
}

/* Adjust margins between buttons and counts */
.like-dislike-container button,
.like-dislike-container span {
    margin-right: 5px;
}

/* Optional: Adjust button sizes */
.like-dislike-container button {
    padding: 5px 10px;
    font-size: 20px;
}
.fa-heart {
    color: var(--secondary-color);
}
.fa-heart:hover {
    color: var(--text-color);

}
.fa-heart.active {
    color: red;
}
.fa-thumbs-down {
    color: var(--secondary-color);
}
.fa-thumbs-down:hover {
    color: var(--text-color);
}
.fa-thumbs-down.active {
    color: red /* Red color */
    
}
.signup-button {
    color: var(--secondary-color);
}
.login-container form .button-container {
    text-align: center; /* Center the button */
    margin-top: 10px; /* Add spacing above */
}
.save-beat-icon {
    color: var(--info-color); /* Unsaved */
    cursor: pointer;
    font-size: 18px;

}
  
.saved-beats-button {
    color: var(--secondary-color);
    background-color: var(--text-color);
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 20px;
    border: none;


}
.instrument-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.instrument-edits {
    position: absolute;
    margin-right: 10px;
    margin-left: 10px;
}
.coin-balance {
    display: flex;
    align-items: center; /* Adjust size as needed */
    color: #FFD700; /* Gold color for the coins */
    margin-top: 10px;
}
.coin-balance i.fa-coins {
    color: gold; /* Sets the coin icon to gold */
    margin-right: 5px; /* Adds some spacing between the icon and the text */
}
.coin-balance a {
    padding: 5px 20px;
    color: var(--text-color); /* Makes the text white */
    text-decoration: none; /* Removes underline from the link */ /* Optional: make the text bold */
}
.coin-balance .fa-coins {
    margin-right: 5px; /* Space between the icon and the number */
}
.coin-balance-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    text-align: center;
    margin-top: 50px;
}
.buy-coins {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px;
}
.cash-out {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px;
}
.coin-balance-page h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 10px;
    color: var(--text-color);
}
.coin-balance-page button {
    display: inline-block;
    margin: 10px;
    border: none;
    cursor: pointer;
}

.purchase-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Adjust for spacing above the button */
}

.coin-purchase-form button {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between the icon and text */
}

.coin-purchase-form i {
    color: gold; /* Gold color for the coin icon */
}
.fa-coins {
    color: gold; /* Gold color for the coin icon */
}
.loop-count-container {
    margin-left: 20px;
    display: flex;
    align-items: center;
  }
.loop-count-container p {
    margin: 0;
    padding: 0;
  }
.waveform-wrapper {
    position: relative; /* So that the hover line is positioned relative to this container */
}

.hover-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px; /* A thin vertical line */
    background-color: #FFFFFF; /* or any color you prefer */
    pointer-events: none; /* so that it doesn't block mouse events */
    display: none; /* Hide by default */
}
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--background-color); /* optional: adjust background */
    z-index: 9999;
    overflow: auto; /* allow scrolling if needed */
}
.pagination {
    position: relative;
    width: 100%;  /* or a fixed width, if you prefer */
    /* Optional: add padding or height if necessary */
    text-align: center;
    padding-bottom: 20px;
  }

  /* Position the Previous button: its right edge aligns with the center */
  .previous-page {
    position: absolute;
    right: 50%;          /* right edge at the 50% mark of the container */ /* shift completely to the left of that 50% point */
    margin-right: 15px;  /* adjust this value to control distance from center */
  }

  /* Position the Next button: its left edge aligns with the center */
  .next-page {
    position: absolute;
    left: 50%;           /* left edge at the 50% mark */
    margin-left: 15px;   /* adjust this value to control distance from center */
  }
.profile-container {
    display: flex;
    flex-direction: column;
 /* This was already correct */ /* This ensures columns start from the left */
    background-image: url("/static/images/background-3.ce2ac5e48bf0.jpg"); 
    background-size: cover;        /* Ensures the image covers the entire background */
    border-radius: 5px;
    margin-top: 40px;
    margin-right: 5%;
    margin-left: 5%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.profile-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/static/images/background-2.1b37bef38c0d.jpg"); /* Adjust the path */
    background-size: cover;      /* Image fills the width, height adjusts automatically */
    background-repeat: repeat-y;      /* Repeats vertically */
    background-position: top center;  /* Anchors the image at the top center */
    opacity: .3;
    z-index: 0;
    border-radius: inherit; /* Inherit border radius from parent */
}

.film-grain{
    position:fixed;
    inset:0;                       /* cover viewport */
    pointer-events:none;           /* don’t block clicks */
  
    /* 8 × 8 transparent PNG sprinkled with white dots (≈1 kB) */
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA…");
  
    background-size:8px 8px;       /* tile the noise */
    background-repeat:repeat;
  
    mix-blend-mode:overlay;        /* let page colours show through */
    opacity:.14;                   /* dial down strength */
  
    /* subtle drift so the grain feels alive */
    animation:grainShift 8s steps(10) infinite;
  }
  
  @keyframes grainShift{
    0%{ transform:translate(0,0); }
    100%{ transform:translate(-100%,100%); }
  }
.profile-picture-container {
    /* outline: 2px solid var(--text-color); */

    background-color: var(--secondary-color);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--box-shadow);
    padding: 20px 20px;
    align-items: center;
    position: relative;
    width: fit-content;
    margin: 20px auto;
}
.profile-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.profile-picture-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.user-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
    padding-top: 20px;
}
.user-info p {
    margin: 0;
    padding: 0;
    line-height: .8;
}
.profile-picture {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    box-sizing: border-box;
    border: none;
    box-shadow: var(--box-shadow);
}
.change-profile-btn {
    display: none;  
    position: absolute;
    margin-top: 20px;
}
.change-profile-btn:hover {
    box-shadow: var(--box-shadow-hover); /* Expand the shadow */
}
.change-profile-background-btn {
    display: none;  /* Hidden by default */
    position: absolute;
    margin-top: 20px;
    margin-left: 20px;
}
.profile-container:hover .change-profile-background-btn {
    display: block;
}

.profile-picture-overlay:hover .change-profile-btn {
    display: block; 
}

.instruments-wrapper {
    width: 100%;
    position: relative; /* Align items to the top */
}

.instruments-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    color: var(--text-color);
    gap: 10px;
    position: relative;
    width: auto; /* Adjust back by 50% of its width */
}
.instrument-item {
    /* outline: 2px solid var(--text-color); */
    background-color: var(--secondary-color); /* Adjust the path */
    padding: 10px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    color: var(--text-color);
    font-weight: bold;
}
.add-instrument-container {
    /* outline: 2px solid var(--text-color); */
    background-color: var(--secondary-color);
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.add-instrument-container p {
    margin: 0;
    font-weight: 700;
}
.instrument-item h3 {
    margin: 0;
    color: var(--text-color);
    font-size: medium;
}
.add-instrument-btn {
    border: none;
    background-color: var(--text-color);
    color: var(--secondary-color);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.add-instrument-btn:hover {
    transform: scale(1.01);
    box-shadow: var(--box-shadow-hover); /* Expand the shadow */
}
.change-image-btn {
    margin-top: 4px;
    padding: 4px 8px;
    display: none;  /* Hidden by default */
    text-decoration: none;
}
.instrument-item .remove-instrument-btn {
    display: none;
    margin-top: 0px;
    padding: 4px 8px;
}
.instrument-item:hover .remove-instrument-btn {
    display: block;  /* Show button on hover */
    color: var(--text-color);
    text-decoration: none;

}

.instrument-item {
    margin: 0;
}
.instrument-item p {
    margin: 0;
    font-weight: 700;
/* Use your text color */
}
.instrument-image {
    display: block;
    width: 100px;   /* Adjust to control the size of the images */
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0px;

}
.profile-stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 0px;
}
.edit-profile {
    align-items: center;
    display: flex;
    justify-content: center;
}
.username-container {
    position: relative;
    color: var(--secondary-color);


}
.small-container {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 5%;
    margin-right: 5%;
    box-shadow: var(--box-shadow);
}
.small-container h2 {
    color: var(--text-color);
}
.small-container h3 {
    color: var(--text-color);

}
.cancel-container {
    color: var(--text-color);
    text-align: center;
    padding-bottom: 20px;
}
.username-container h1 {
    color: var(--text-color);
    font-size: 2rem;
    margin: 0;
    padding: 0;
    line-height: .8;
}

.home-container {
    display: flex;
    border-radius: 5px;
    flex-direction: column;
    margin: 20px 100px;
    align-items: center;
    height: 100vh;
    background-image: url("/static/images/background-2.1b37bef38c0d.jpg"); /* Adjust the path */
    background-size: cover;       /* Ensures the image covers the entire background */
    background-repeat: no-repeat; /* Prevents tiling */
    background-position: center;
    color: var(--text-color);
}
.user-link-container {
    position: relative;
    margin-bottom: -5px;

}
.time-spent-synced {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    justify-content: center;
    gap: 2px;
    text-align: left;
    position: relative;
}
.rank-highlight .fa-user-circle {
    position: absolute;
    right: 20px;
    top: 0px;
}
.rank-highlight, .profile-link {
    line-height: 0.7;
    padding: 0; 
    margin-top: 5px;
}
.images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--secondary-color);
    padding: 20px;
    margin: 0 20px;
    border-radius: 5px;
}
@media only screen and (max-width: 600px) {
    /* Adjust body for smaller screens */
    body {
        font-size: 1rem;
    }
    
    /* Navbar adjustments */
    .navbar, .navbar-right {
        margin: 0;
        width: 100%;
        flex-direction: column; /* Stack menu items vertically */
        align-items: center;
    }
    
    .navbar ul, .navbar-right ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0;
    }
    
    /* Header and footer tweaks */
    header, footer {
        padding: 10px;
        text-align: center;
    }
    
    /* Adjust images and other containers */
    .profile-container,
    .upload-form-container,
    .loops-container {
        margin: 20px auto;
        width: 90%;
    }
    
    /* Example: scaling down button sizes */
    button, .btn-primary, .btn-secondary {
        /* padding: 6px 12px; */
        font-size: 0.9rem;
    }
}
.profile-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: -20px;
}
.profile-actions a {
    text-decoration: none;
}

/* Intro stylings */

.introjs-helperLayer {
    border: none !important;
    background: transparent !important;  /* Or use a color if you want a highlight */
    border-radius: 0 !important;         /* If Intro.js adds rounding by default */
  }
  .introjs-helperLayer .introjs-focus-element {
    outline: none !important;
    background: transparent !important;
  }
.introjs-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}
.introjs-tooltip {
    background-color: var(--secondary-color) !important;
    color: var(--text-color) !important;
}

.introjs-arrow {
border-color: #333;
}

/* Adjust font size or style of the main text */
.introjs-tooltiptext {
font-size: 1.1rem;
line-height: 1.4;
}
.volume-slider-container {
    position: absolute;
    margin-top: 5px;
    bottom: -2px; /* Position it at the bottom of the loop item */
    display: flex;
    align-self: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    opacity: 1;
    width: 50%;
    transition: opacity 0.3s;
    z-index: 1; /* Ensure it appears above other elements */
}
/* .loop-item:hover .volume-slider-container {
    position: relative;
    opacity: 1;
} */
.volume-slider {
    color: var(--text-color);
    background-color: var(--info-color);
}
.fa-volume-up {
    color: var(--info-color);
    font-size: small;
}
.fa-volume-down {
    color: var(--info-color);
    font-size: small;
}
input[type=range] {
    -webkit-appearance: none;
  }
  
  /* WebKit slider track */
  input[type=range]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--info-color);         /* Track background color */
    border: none;
    border-radius: 5px;
  }
  
  /* WebKit slider thumb */
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: var(--info-color);      /* Thumb color */
    margin-top: -6px;         /* Centers the thumb on the track */
    cursor: pointer;
  }
  
  /* Firefox slider track */
  input[type=range]::-moz-range-track {
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    border: none;
  }
  
  /* Firefox slider thumb */
  input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
  }
  
  /* Optional: IE and Edge */
  input[type=range]::-ms-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  input[type=range]::-ms-fill-lower {
    background: var(--secondary-color);
    border-radius: 5px;
  }
  input[type=range]::-ms-fill-upper {
    background: var(--secondary-color);
    border-radius: 5px;
  }
  input[type=range]::-ms-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    margin-top: 0; /* Adjust if needed */
  }
  .date-filter-dropdown {
    height: 32.8px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.preset-grid {
    position: relative;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Increased from 140px to 200px */
    margin: 20px 5%;
}
.knob {
  width: 33px; height: 33px; border-radius: 50%;
  background: var(--secondary-color);
  position: relative; cursor: pointer;
    box-shadow: var(--box-shadow);
}
.pointer {
  width: 2px; height: 14px; background: var(--text-color);
  position: absolute; top: 4px; left: 50%;
  transform-origin: 50% 100%;  /* rotates around base */
  transform: rotate(0deg);     /* updated in JS */
}
.volume-knob {
    display: flex;
    align-self: center;
    flex-direction: column;
    align-items: center;
    width: 30px;
    position: relative;
    cursor: pointer;
}
.knob-label {
    position: relative;
    color: var(--secondary-color);
    margin: 0;
    font-size: small;
}
.info-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--primary-color);
    border: var(--subtle-highlight) 2px solid;
    color: var(--text-color);
    border-radius: 2px;
    padding: 20px;
}
.info-container p {
    color: var(--text-color);
}
.info-container a {
    color: var(--text-color);
}
.beat-info-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.beat-info {
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    padding: 8px 16px;
    margin: 0 0 0 0 !important;
    border: var(--subtle-highlight) 2px solid;
    box-shadow: var(--box-shadow-hover), var(--loop-shadow);
    border-radius: 2px; /* Combined margins, keeping left margin */

}
.invitation-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;


    /*     box-shadow: var(--box-shadow-hover), var(--loop-shadow); */
    /* padding-bottom: 40px; */
}
.invitation-item .btn-secondary {
    font-weight: 800;
    align-self: center;
}
.invitation-item h2 {
    margin: 0 0 0 0;
    color: var(--text-color);

}
.invitation-container {
    display: flex;
    flex-direction: row;
    align-items: center;      /* vertical centering */
    justify-content: center;  /* optional: horizontal centering */
    gap: 20px;
    background-color: var(--secondary-color);
    padding: 20px;
    width: 100%;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.invitation-container > * {
    margin: 0;                /* reset default margins on text elements */
}
.press {
    padding: 8px 12px;
    font-size: large;
    font-weight: 800;
}
.collab-tab-pane {
    text-align: center;
}

.invite-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: var(--secondary-color);
    padding: 20px;
    width: auto;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    margin-bottom: -30px;
}
.no-beats-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
}
.no-beats-message p {
    font-size: medium;
    margin: 0;
    color: var(--text-color);
}
.collab-subnav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 20px;
}
.share-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--secondary-color);
    padding: 20px;
    margin-top: -20px;
    width: auto;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}
.share-container h3 {
    color: var(--text-color);
    margin: 0;
}
.share-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.profile-link-loops {
    color: var(--info-color);
    line-height: 1.3;
    height: auto;
    font-family: 'Metal', serif;
    font-size: small;
    text-decoration: none;
    margin-bottom: -16px;
    margin-top: 5px;

}
.profile-link-loops:hover {
    text-decoration: underline;
}
.remixes-dropdown {
  position: relative;
}
.remix-buttons {
    margin-bottom: 10px;
}
.remix-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  background-color: var(--background-color);
  color: var(--text-color);
  border-radius: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: var(--box-shadow);
  z-index: 100;
}
.remix-list .remix-item {
    position: relative;
  color: var(--text-color);
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  z-index: 100;
}
.remix-list .remix-item:hover {
  background-color: var(--text-color);
  color: var(--secondary-color);
}

.remix-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;

}
.mt-2 {
    text-decoration: none;
    
}


.remix-upload-info {
    color: var(--secondary-color);
}
.remix-upload-info a {
    color: var(--secondary-color);

}
.g-recaptcha {
    margin: 20px;
}

@keyframes pulse {
  0%   {transform: scale(1);}
  70%  {transform: scale(1.2);}
  100% {transform: scale(1);}
}

.link-button-pulse.pulse, .pulse {
  animation: pulse 1.4s ease-out infinite;
}
.delete-loop-button {
    display: none;
    position: absolute;
    right: 25px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error {
    margin-left: 20px;
}
.spacer {
    margin-top: 20px;
}
.loop-buttons {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.clickme {
    background-color: var(--text-color);
    color: var(--secondary-color);
}
.clickme:hover {
    background-color: var(--text-color);
    color: var(--secondary-color);
}
.here {
    color: var(--text-color);
    border: var(--subtle-highlight) solid 1px;
    border-radius: 5px;
    box-shadow: var(--loop-shadow), var(--box-shadow-hover);
    transition: background 0.3s ease, color 0.3s ease;
}
.here:hover {
    color: var(--text-color);
    background-color: var(--subtle-highlight);
}
.btn-gradient {
  /* sizing & typography */
  padding: 8px 16px;
  /* font: 0.9rem/1 Inter, sans-serif; */
  color: var(--text-color);

  /* visual style */
  border: none;
  background: var(--gradient);
  box-shadow: var(--box-shadow-hover), var(--loop-shadow);

  /* interactions */
  cursor: pointer;
}

.txt-gradient {
  /* 1. Put the gradient on the *background* */
  background: var(--gradient);

  /* 2. Make the background show *through* the glyphs */
  -webkit-background-clip: text;   /* Safari/Chrome */
  background-clip: text;           /* Firefox */

  /* 3. Hide the normal fill so only the gradient is visible */
  color: transparent;

  /* Optional polish */
  font-weight: 800;
  font-size: 3rem;
}