
.text-underline {
    text-decoration: underline !important;
}
.sbx-button-primary {
    /* Master Primary Button */

    display: inline-block;
    padding: 20px 38px;
    font-weight: 700;
    font-size: 18px;
    background: var(--sb-green, #25AF46);
    border: 1px solid var(--sb-green, #25AF46);
    border-radius: 90px;
    color: var(--sb-on-brand, white);
    text-align: center;

}

.backbox {
    padding: 10px 20px;
    border-radius: 5px;
    background: var(--sb-surface-sunken, #f5f5f5);
    display: inline-block;
    font-weight: 500;
}

.sbx_title p {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--sb-text-body, #454545);
}

.sbx_title input {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--sb-text-body, #454545);
}


.sbx-button-primary:disabled {
    /* Master Primary Button */
    background: var(--sb-surface-sunken, #D3D3D3);
    border: 1px solid var(--sb-border-strong, #D3D3D3);
    color: var(--sb-on-brand, white);
}

.sbx-button-primary:disabled:hover {
    /* Master Primary Button */
    background: var(--sb-surface-sunken, #cacaca);
    border: 1px solid var(--sb-border-strong, #cacaca);
    color: var(--sb-on-brand, white);
}

.sbx-button-primary:hover {
    /* Master Primary Button */
    background: var(--sb-green, #179535);
    color: var(--sb-on-brand, white);
}

.sbx-button-secondary {
    /* Master Primary Button */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 38px;
    gap: 6px;
    background: var(--sb-surface-sunken, #ececec);
    border-radius: 90px;
    color: var(--sb-purple-accent, #541B71);

    /* Button Text */

    font-weight: 700;
    font-size: 18px;



    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;

}

.sbx-button-secondary:hover {
    /* Master Primary Button */
    background: var(--sb-surface-sunken, #d5d5d5);
    color: var(--sb-purple-accent, #541B71);

}

.sbx-button-branded {
    /* Master Primary Button */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 38px;
    gap: 6px;
    font-weight: 700;
    font-size: 18px;
    color: var(--sb-on-brand, #fff);
    background: linear-gradient(to right, #c0105d, var(--sb-purple, #441B71)); /* Adjust the gradient colors as needed */
    border-radius: 90px;


}

.sbx-button-branded:hover {
    /* Master Primary Button */
    background: linear-gradient(to right, #c0105d, #2e124d); /* Adjust the gradient colors as needed */
    color: var(--sb-text-disabled, #dcdcdc);
}

.sbx-button-outline {
    /* Master Primary Button */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 38px;
    gap: 6px;

    /* Button Text */

    font-weight: 700;
    font-size: 18px;
    color: var(--sb-on-brand, #fff);
    border: 1px solid var(--sb-border, white);
    background: transparent;
    border-radius: 90px;
    transition-duration: 300ms;
}

.sbx-button-outline:hover {
    /* Master Primary Button */
    background: var(--sb-surface, white);
    color: var(--sb-text, #000);
}

.sbx-button-outline-dark {
    /* Master Primary Button */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 38px;
    gap: 6px;

    /* Button Text */

    font-weight: 700;
    font-size: 18px;
    color: var(--sb-text-body, #454545);
    border: 1px solid var(--sb-border-strong, #454545);
    background: transparent;
    border-radius: 90px;
    transition-duration: 300ms;
}

.sbx-button-outline-dark:hover {
    /* Master Primary Button */
    background: rgba(69, 69, 69, 0.25);
    color: var(--sb-text, #000);
}





.sbx-menu-link {
    /* Log In */

    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    padding-bottom: 5px; /* Adjust as needed for spacing */
    color: var(--sb-text-body, #454545);
    position: relative;
    display: inline-block;


}

.sbx-menu-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px; /* Thickness of the underline */
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #E3136E, var(--sb-purple, #441B71)); /* Adjust the gradient colors as needed */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.sbx-menu-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.sbx-menu-link:hover {

    color: var(--sb-text, #000000);
}

.text-branded {
    background: linear-gradient(to right, var(--sb-purple, #441B71) 20%, #8C1770 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.text-narrow {
    font-weight: 200;
}

.text-small {
    font-size: 12px;
}

.text-headline {
    font-family: "Nunito sans", sans-serif;
    font-weight: 700;
    font-size: 34px;
    margin: 0;
    padding: 0;

}

label {
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: var(--sb-text-body, #454545);
}

.link {
    font-weight: 700;
    color: #AD1670;
    text-decoration: underline !important;
}


/*FORMS*/

input, textarea {
    /* Input / Medium  */

    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 10px;


    background: var(--sb-surface, #FFFFFF);
    border: 1px solid var(--sb-border-strong, #BBBBBB);
    border-radius: 6px;

    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    /* identical to box height, or 150% */

    /* Neutral / 900 */
    color: var(--sb-text, #212529);


    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 1;

}

input:disabled {
    background: var(--sb-surface-sunken, #e5e5e5);
}

.card-brand-colors {

    /* Pricing Card  */
    color: var(--sb-on-brand, white) !important;
    display: flex;
    box-sizing: border-box;
    padding: 32px;
    /* Neutral/100 */
    background: linear-gradient(230.32deg, #E3136E 0%, var(--sb-purple, #441B71) 92.27%);
    /* Neutral/300 */
    border: 1px solid var(--sb-border-subtle, #EFF0F7);
    /* General/Shadow 02 */
    box-shadow: 0px 2px 12px rgba(20, 20, 43, 0.08);
    border-radius: 24px;
    width: 100%;
    margin-bottom: 25px;
}

.chip-darkgrey {
    /* Rectangle 4464 */
    background: rgba(51, 51, 51, 0.4);
    border-radius: 10px;
    padding: 5px 10px;
    color: var(--sb-on-brand, white);
    font-weight: 900;
    text-transform: uppercase;
}

/*HR with text*/

.hr-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.hr-with-text::before,
.hr-with-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--sb-border-strong, #ccc);
}

.hr-with-text:not(:empty)::before {
    margin-right: .25em;
}

.hr-with-text:not(:empty)::after {
    margin-left: .25em;
}

.hr-with-text span {
    display: inline-block;
    padding: 10px 10px;
    margin: 0 20px;

    border-radius: 50%;
    color: var(--sb-text, black);
    font-weight: bold;
}

.sbx-button-small {
    padding: 10px 18px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.sbx-button-small-squared {
    padding: 8px 14px;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    border-radius: 6px;
}



     /* Container for the switch */
 .switch {
     display: inline-flex;
     align-items: center;
 }

/* Labels on either side */
.switch .label {
    margin: 0 0;
    font-size: 16px;
    user-select: none;
}

/* Hide the default checkbox */
.switch input {
    display: none;
}

/* The slider */
.switch .slider {
    position: relative;
    width: 70px;
    height: 28px;
    background-color: var(--sb-border-strong, #ccc);
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.4s;
}

/* The circle inside the slider */
.switch .slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background-color: var(--sb-on-brand, white);
    border-radius: 50%;
    transition: transform 0.4s;
}

/* Change background and move the circle when checked */
.switch input:checked + .slider {
    background-color: var(--sb-purple, #541B71);
}

.switch input:checked + .slider::before {
    transform: translateX(42px);
}


/*MARKETPLACE STYLES*/
.marketplace-nav-button {
    background: var(--sb-surface-sunken, #f5f5f5);
    border-radius: 6px;
    padding: 10px 15px;
    gap: 10px;
    transition-duration: 200ms;

}

.marketplace-nav-button:hover {
    background: var(--sb-surface-sunken, #e0e0e0);
}

.shop-input {
    border: 1px solid var(--sb-border-strong, black);
    border-radius: 6px;
    margin-top: 15px;
}

.sbx-button-purple {
    /* Master Primary Button */


    display: inline-block;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    background: var(--sb-purple, #541B71);
    border: 1px solid var(--sb-purple, #541B71);
    border-radius: 90px;
    color: var(--sb-on-brand, white);
    text-align: center;
    transition-duration: 200ms;
}

.sbx-button-purple:hover {
    /* Master Primary Button */

    background: var(--sb-purple, #3f0d59);
    border: 1px solid var(--sb-purple, #541B71);

}

.post-container {
    border: 1px solid var(--sb-border-input, #dcdcdc);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 2px rgba(33, 37, 41, 0.06), 0px 0px 1px rgba(33, 37, 41, 0.08);
}

.post-container:hover {

}

.post-meta {
    background: var(--sb-surface-sunken, #f5f5f5);
}

.post-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--sb-text-body, #454545);
}

.main-image {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Ensures the image fills the container */
    object-position: center; /* Centers the image in the container */
}

.nav-tabs .nav-link {
    border: none !important;
    border-bottom: 3px solid transparent !important;
    color: var(--sb-text-body, #454545);
}

.nav-tabs .nav-link.active {
    border: none;
    border-bottom: 3px solid #560056 !important;
}

.nav-tabs {
    border-bottom: 1px solid transparent !important;
}

.select-wrapper select {
    /* Remove default browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    /* Match styling with other inputs */
}

/* Custom arrow using a pseudo-element */
.select-wrapper::after {
    content: '▼'; /* Or use a custom SVG/icon */
    color: var(--sb-text-secondary, #666);
    pointer-events: none; /* Ensure the arrow doesn't block clicks */

}

.track-artwork {
    position: relative; /* Establishes a positioning context */
    height: 100px;
    width: 100px;
    overflow: hidden;
}

.round-play {
    width: 35px;
    height: 35px;
    position: absolute; /* Allows for absolute positioning relative to the parent */
    top: 50%; /* Moves the element 50% from the top of the container */
    left: 50%; /* Moves the element 50% from the left of the container */
    transform: translate(-50%, -50%); /* Offsets the element by its own dimensions to truly center it */
    border-radius: 50%;
    background-color: var(--sb-surface, white);
    color: var(--sb-text, black);
    font-size: 16px;
    padding: 10px;
    border: 2px solid var(--sb-purple, #7b3a8a);
    cursor: pointer;
}

.mobile-create-songbox-button {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--sb-purple, #903a84);
    color: var(--sb-on-brand, white);
    line-height: 12px;
}

.mobile-track-settings-button {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--sb-surface-sunken, #efefef);
    color: var(--sb-on-brand, white);
    line-height: 12px;
}

.mobile-create-songbox-button:hover {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--sb-purple, #772f6d);
    color: var(--sb-on-brand, white);
    line-height: 12px;
}

.mobile-track-settings-button:hover {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--sb-surface-sunken, #dadada);
    color: var(--sb-on-brand, white);
    line-height: 12px;
}

.dropdown-toggle::after {
    display: none !important;
}

.floating-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 80%;
    background-color: var(--sb-purple, #3e1d6d); /* Example purple */
    color: var(--sb-on-brand, #fff);
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* Ensure it's on top of other elements */
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 1rem;
}

.floating-actions form {
    display: inline-block;
    margin-right: 0;
}

.floating-actions button {
    background-color: transparent;
    color: var(--sb-on-brand, white);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin: 0;
}

.floating-actions button:hover {
    background-color: var(--sb-purple, #150053);
    color: var(--sb-on-brand, white);
    width: 100%;
}

.track-row-button {
    border-radius: 6px;
    color: var(--sb-on-brand, white);
    border: none;
    padding: 7px 11px;
    font-size: 12px;
    margin: 0;
    line-height: 15px;
}

.row-btn-purple {
    background-color: var(--sb-purple, #793b8b);
    border: 1px solid var(--sb-purple, #793b8b);
}

.row-btn-white {
    background-color: var(--sb-surface, #fff);
    color: var(--sb-text, #000);
    border: 1px solid var(--sb-border-strong, #000);

}

.audio-track {
    background-color: #222529;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: visible;
}

.audio-track:hover {
    background-color: #1f2125;
}

.track-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn {
    background-color: #2c2e31;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.track-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--sb-on-brand, #fff);
    flex: 1;
}

.progress-bar {
    position: relative;
    height: 6px;
    width: 100%;
    background-color: #2a2c2f;
    border-radius: 999px;
    margin-top: 12px;
    /*overflow: hidden;*/
    cursor: pointer;
    overflow: visible !important;
    user-select: none;
    z-index: 1;
}

.progress-fill {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--sb-pink, #d22682), var(--sb-purple, #a439fe));
    border-radius: 999px;
    transition: width 0.1s linear;

}

.progress-knob {
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    width: 17px;
    height: 17px;
    background: var(--sb-purple, #a439fe);
    border: 2px solid var(--sb-border-strong, black);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    display: none;
    pointer-events: none;
    z-index: 100000;
}

.progress-tooltip {
    position: absolute;
    bottom: 120%;
    background-color: var(--sb-text-body, #333);
    color: var(--sb-on-brand, white);
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    display: none;
    pointer-events: none;
}

.progress-bar:hover .progress-tooltip {
    display: block;
}


.carousel-wrapper {
    max-width: 600px !important;
    margin: 0 auto;
}

/* 2) The horizontally scrollable track */
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hides scrollbar if you like */
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* 3) Each slide is EXACTLY the width of the .carousel-wrapper (i.e. 100% of track).
   Then use the padding hack to keep it a perfect square. */
.carousel-slide {
    flex: 0 0 100%; /* one slide = full track width */
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

/* The 1:1 ratio trick:
   the element's height is 100% of its own width => square. */
.carousel-slide::before {
    content: "";
    display: block;
    padding-top: 100%; /* 1:1 ratio => perfect square */
}

/* 4) Media absolutely fills the square.
   object-fit: cover -> it’ll crop if the image is not already square */
.carousel-slide img,
.carousel-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Each dot is a small circle. We'll highlight the “active” one in JS */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #777;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Highlight style for the active dot */
.dot.active {
    background: var(--sb-pink, #d22682); /* or your brand color */
}

.release_meta {
    align-items: flex-start;
}

.release-wrapper {
    background-color: #1c1e21;
    border-radius: 24px;
}

.release-wrapper:hover {
    background-color: #1f2125;
}

.release_album_art {
    width: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.price-chip {
    background-color: #353a3f;
    align-self: flex-start;
    border-radius: 7px;
    overflow: visible;
    display: inline-block;
    font-size: 14px;
}

.action-button {
    width: 100%;
    background: #222529;
    border: none;
    border-radius: 7px;
    color: #4a5056;
}

.comment-count-bubble {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: var(--sb-text, #000000);
    pointer-events: none;
}

