:root {
    --primary-color: #d846a5;
    --secondary-color: #4d0eae;
    --muted: #888;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: #fff;
    text-align: center;

}

.success-page {
    background-color: black;
}


.container {

    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0px;
    border-radius: 8px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
}

#uploadContainer {
    min-width: 400px;
    box-shadow: none;
    padding-bottom: 0px;
}

@media (max-width: 768px) {
    #uploadContainer {
        width: 100%;
    }
}



.center-content {
    text-align: center;
}

h1 {
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));

    /* Set the text color to transparent to make the gradient visible */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Set the font size */
    font-size: 70px;

    /* Set the main text to white */
    /*color: #fff;

    font-size: 70px;

    /* Set the main text to white */
    margin: 0px;
    margin-top: 50px;
}

/* Adjust font size for smaller screens */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
        margin: 0px 10px;
        /* Adjust the font size accordingly for smaller screens */
    }
}

p {
    color: var(--muted);

    /* Set the secondary text to a muted color */
}

.muted {
    color: var(--muted);
}

.bigger-text {
    color: var(--muted);
    font-size: 24px;
    margin-bottom: 5px;
    /* Set the secondary text to a muted color */
}

.dropzone {

    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
}

.dropzone:hover {
    outline: 2px solid rgb(213, 213, 213);


}

#fileInput {
    display: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#dropbox {
    padding: 0px 10px;
}

.button {
    padding: 20px 40px;
    border-radius: 8px;
    margin: 12px auto;
}

.uploadButton {
    display: none;
    border: none;
    color: #fff;
    /* Set the button text to white */
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    cursor: pointer;
}

.tiktokInstructionImage {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
}



.gradientButton {

    border: none;
    color: #fff;
    /* Set the button text to white */
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    cursor: pointer;
    text-decoration: none;
}





/* Adjust positioning and display for elements */
#audioPlayer1,
#audioPlayer2 {
    display: block;
    /* Display the audio players as blocks */
    position: relative;
    /* Set position to relative */
    margin-bottom: 10px;
    /* Add margin to create space between audio players */
}

#checkout2 {
    display: block;
    /* Display the anchor button as a block */
    position: relative;
    /* Set position to relative */
    z-index: 1;
    /* Control the stacking order */
    margin-top: 16px;
    /* Add margin to create space between the anchor button and audio players */
}

#checkoutModalLauncher {
    display: block;
    /* Display the anchor button as a block */
    position: relative;
    /* Set position to relative */
    z-index: 1;
    /* Control the stacking order */
    margin-top: 16px;
    /* Add margin to create space between the anchor button and audio players */
}

#uploadProgress {
    width: 100%;
    height: 15px;
    margin-top: 10px;
}

#statusMessage {
    margin-top: 10px;
}


/* ... (Styles for the loading screen) ... */
#loadingScreen {
    display: none;
    text-align: center;
}

#loadingText {
    font-size: 24px;
    margin-top: 20px;
}

.loading-text-container {
    text-align: center;
    padding: 0px 8px;
}


.loading-icon {
    display: inline-block;
    margin: auto;
    margin-top: 10px;
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 10px;
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-spinner {

    display: flex;
    justify-content: center;
    margin: auto;
}

.padding-top-med {
    padding-top: 6px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#mobileWarning {
    display: none;
    /* Hide the element by default */
}



@media (max-width: 768px) {
    #mobileWarning {
        display: block;
        /* Display the element on screens with a width of 768px or less (mobile devices) */
    }
}

.mobileWarning {
    display: none;
    padding: 20px 0px;
    /* Hide the element by default */
}

.mobile-warning {
    margin: 4px 0px;
    /* Hide the element by default */
}

/* @media (max-width: 768px) {
    .mobile-warning {
        display: block;
    }
} */

.footer-div {
    padding-top: 200px;
}

footer {

    color: var(--muted);
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;

}

footer a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.background-glow {
    z-index: -99;
    opacity: .5;
    background-image: url(https://assets-global.website-files.com/62d6b69…/62d6b69…_BG%20SHAPES%202.png);
    background-position: 50% 0;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
    display: block;
    position: fixed;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}

.beta-label {
    margin-top: 0px;
}

/*This code styles the audio file player */

.radio_container {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
}

.radio-label {
    white-space: nowrap;
    flex: 1;
    min-width: fit-content;
    text-align: center;
    padding: 0px 8px;
    cursor: pointer;
}

audio {
    display: flex;
    justify-content: space-around;
    align-items: center;


}

input[type="radio"] {
    appearance: none;
    display: none;
}

label {
    /* font-family: "Open Sans", sans-serif; */
    /* font-size: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: inherit;
    width: 80px;
    height: 40px;
    text-align: center;
    border-radius: 9999px;
    overflow: hidden;
    transition: linear 0.3s;
    color: #d6d4d4dd;
}

input[type="radio"]:checked+label {
    background-color: #555;
    /* Muted grey background */
    color: rgb(238, 238, 238);
    border: 1px solid transparent;
    transition: 0.3s;
}

input[type="radio"]:not(:checked)+label {
    border: 1px solid #555;
    /* Muted grey background */
    transition: 0.3s;
}

.transparent {
    background-color: transparent;
    box-shadow: none;
}

.progress-container {
    width: 100%;
    background-color: #f1f1f1;
    height: 20px;
    margin-top: 10px;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    /* Use your primary color here */
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.muted-link {
    color: var(--muted);
}

.reuploadButton {
    text-align: center !important;
    align-self: center;
    background: none;
    text-decoration: none;
    border: 1px solid var(--muted);
    color: var(--muted);
}

.downloadButton {
    text-align: center !important;
    align-self: center;
    text-decoration: none;
}

.bugReportButton {
    font-size: 12px;
    padding: 5px;
    margin: 0px;
    cursor: pointer;
}


.button-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding: 0px 12px;
}

.grid-button {
    padding: 15px;
    border: none;
    color: white;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
}

.grid-button:hover {
    outline: 2px solid white;
}

/* Add these styles to your existing CSS file */

#form-container {
    max-width: 300px;
    /* Adjust the width as needed */
    margin: 0px auto;
    /* Center the form */
    padding: 0px;
    border-radius: 8px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
    color: #fff;
}

#form-container h1 {
    font-size: 24px;
    /* Adjust the font size as needed */
    margin-bottom: 20px;
}




#marketingForm label {
    /* Make the input fields and button full width */
    box-sizing: border-box;
    /* Include padding and border in width calculation */
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    /* Adjust the margin as needed */
}

#marketingForm button {
    cursor: pointer;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    color: #fff;
}



#marketingForm input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    margin-left: 0px;
    width: 15px;

}

#marketingForm input[type="checkbox"]:checked::after {
    background-color: var(--primary-color);

}

#marketingForm input::placeholder {
    color: #888;
}

#marketingForm input:focus::placeholder {
    color: transparent;
}



.checkbox-group {
    display: flex;
    align-items: start;
}

.checkbox-label {
    display: flex;
    align-items: start;
    height: fit-content;
    margin-bottom: 0px;


}

.checkbox-text {

    text-align: start;
    font-size: 13px;
    overflow: visible;
    color: var(--muted);


    /* Adjust the margin between the checkbox and text */
}

#mastering-complete {
    font-size: 35px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

/*
.blur-container {
    filter: blur(2px);
}

.post-marketing-gate {
    display: none !important;
}

*/

#modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    padding: 20px;
    width: 90vw;
    max-width: 800px;
    height: 90vh;
    max-height: 90vh;
    text-align: center;
    border-radius: 8px;
}

#modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#close-btn {
    cursor: pointer;
    color: white !important;
    font-size: 40px
}

#modalText {
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));

    /* Set the text color to transparent to make the gradient visible */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 50px;
    margin: 4px;
    padding-top: 10px;
}

#stickyDiv {
    position: fixed;
    background-color: #fff;
    color: #000;
    bottom: 0;
    left: 0;
    padding: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    font-weight: bold;
}

/* Media query for mobile responsiveness */
@media (max-width: 600px) {
    #stickyDiv {
        width: 95%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #closeBtn {
        font-size: 20px;
        cursor: pointer;
        position: absolute;
        /* Set position to absolute */
        right: 10px;
        /* Adjust this value to control the distance from the right edge */
        top: 50%;
        /* Center vertically within #stickyDiv */
        transform: translateY(-50%);
        /* Center vertically within #stickyDiv */
    }
}

#closeBtn {
    font-size: 20px;
    cursor: pointer;
}

.fine-print {
    font-weight: 100;
    font-size: 11px;
    line-height: 100%;
    color: var(--muted);
}

.muted-link {
    color: var(--muted);
}


/* Spotify search stuff*/
.search-container {
    position: relative;
    margin: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: all 0.3s ease;
}

.search-container.active {
    animation: pulse-attention 0.7s ease-in-out;
}

@keyframes pulse-attention {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

#searchInput {
    width: 280px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    outline: none;
    /* Remove default outline */
    transition: all 0.3s ease;
    /* Add transition for a smooth effect */
}

#searchInput:focus {
    outline: 2px solid var(--primary-color)
        /* Set your primary color */
}

#searchInput:disabled {
    background-color: #ffffff;
    opacity: 0.7;
    cursor: not-allowed;
}

#searchInput:not(:disabled) {
    box-shadow: 0 0 8px rgba(216, 70, 165, 0.5);
    /* Subtle glow effect using primary color */
    background-color: rgba(255, 255, 255, 0.95);
    /* Slightly darker background */
    transform: scale(1.02);
    /* Slightly larger */
    font-weight: 500;
    /* Slightly bolder text */
}

#searchInput:not(:disabled)::placeholder {
    color: #555;
    /* Darker placeholder text */
}

#searchInput:disabled {
    position: relative;
    /* cursor: not-allowed; */
    /* Show a 'not-allowed' cursor */
}

#searchIcon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

#resultsContainer {
    max-height: 300px;
    overflow-y: auto;
    margin: 20px;
}

.cover-image {
    width: 30px;
    /* Adjust the width as needed */
    height: 30px;
    /* Adjust the height as needed */
    margin-right: 10px;
    /* Add margin for spacing between cover image and text */
}

.result-item {
    display: flex;
    align-items: center;
    /* Center items vertically */
    margin-bottom: 5px;
    margin-top: 5px;
    border-radius: 6px;
    /* Add margin between result items */
}

.result-item p {
    margin: 2px;

}

#searchInput:disabled {
    position: relative;
    /* cursor: not-allowed; */
    /* Show a 'not-allowed' cursor */
}

#searchInput:disabled:hover::before,
#searchInput:disabled:focus::before {
    content: "First upload your song";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    opacity: 0;
    /* pointer-events: none; */

    white-space: nowrap;
    /* Prevent line breaks in the tooltip */
}

#searchInput:disabled:hover::before,
#searchInput:disabled:focus::before {
    opacity: 1;
}




#spotifyLogo {
    height: 24px;
}

hr {
    color: #ffffff20;
    margin-top: 0px;
    margin-bottom: 1px;
    padding: 0px 10px;
    border: 1px solid #6e6e6edd;
    border-top: none;

}

#useDefaultLink {
    text-decoration: underline;
    font-weight: 200;

}




/* These fonts are just for cloverleaf audio */

@font-face {
    font-display: swap;
    font-family: "Proxima Nova";
    src:

        url("https://content.app-sources.com/s/73287798069496675/uploads/Images/ProximaNova-Regular-3053035.woff") format("woff");
}


@font-face {
    font-display: swap;
    font-family: "Proxima Nova Bold";
    src:

        url("https://content.app-sources.com/s/73287798069496675/uploads/Images/ProximaNova-Bold-3053141.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "Montserrat";
    src:

        url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw0aXp-p7K4KLjztg.woff2) format("woff");
}

@font-face {

    font-family: "Zuume";
    src: url('fonts/Zuume Regular.ttf');
}

@font-face {

    font-family: "Quicksand";
    src: url('fonts/Quicksand-VariableFont_wght.ttf');
}

@font-face {
    font-family: "Raleway";
    src: url('fonts/Raleway-SemiBold.ttf');
}

/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw0aXp-p7K4KLjztg.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw9aXp-p7K4KLjztg.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw2aXp-p7K4KLjztg.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw3aXp-p7K4KLjztg.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXp-p7K4KLg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* These fonts are just for cloverleaf audio */

/* body {
    font-family: "Proxima Nova Bold", sans-serif;
} */

/* body{
    background-color: #8888881d;
} */

.margin-small {
    margin-top: 2px;
    margin-bottom: 2px;
}

.your-rainbow-button {
    /* display: inline-block; */
    /* padding: 15px 30px;
    font-size: 24px; */
    /* font-weight: bold; */
    text-align: center;
    text-decoration: none;
    color: white;
    background-image: linear-gradient(100deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 100%;
    animation: your-rainbow 6s linear infinite;
    border: none;
    /* border-radius: 10px; */
    /* Rounded corners for a rectangular button */
}

@keyframes your-rainbow {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 50 100%;
    }
}

.preview-play {
    display: flex;
    align-items: center;
    gap: 2px;
    /* Space between play button and waveform */
    padding: 6px 0px;
}

.play-pause-icon {
    height: 30px;
    flex-shrink: 0;
    cursor: pointer;
    /* Prevents the icon from shrinking */
}

.waveform {
    flex-grow: 1;
    /* Allows the waveform to take up remaining space */
    padding: 0px 4px;
}

.waveform-label {
    margin: 2px;
    padding-left: 34px;
    /* Aligns with waveform (22px icon + 12px gap) */
}

#shador-root .canvases {
    min-height: 30px !important;
}

.full-width {
    width: 100%;
}

.primary-color {
    color: var(--primary-color);
}

/* The Modal */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    /* 80% width */
    max-width: 400px;
    /* Max width */
    text-align: center;
}

#trainingConsentLabel {
    width: 90%;
    padding-left: 14px;
}

#consentDiv {
    justify-content: center;
    padding: 0px;
    padding-top: 5px;
    display: none;
}

.trainingConsentText {
    text-align: center;
    font-size: 16px;

}

.upgradeAfterStripeHeading1 {
    font-size: 50px;
}

.upsellPageCenterContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.youtube-upsell-video {
    width: 760px;
    height: 428px;
}

@media (max-width: 760px) {
    .youtube-upsell-video {
        width: 100%;
        height: auto;
    }
}

/*Toggle slider for subscription vs one*/
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 0px;
}

.toggle-hidden {
    display: none;
}

.bolderText {
    font-weight: bold;
    margin: 6px 0px;
}

#loginButton {
    margin: 0px;
    margin-bottom: 4px;
    padding: 10px 10px;
    display: inline-flex;
    border: 0px;
    text-decoration: underline;
}

#new-users-message {
    margin-top: 4px;
    margin-bottom: 8px;
    text-decoration: underline;
    cursor: pointer;

}



#marketingForm input {
    width: 100%;
    /* Make the input fields and button full width */
    box-sizing: border-box;
    /* Include padding and border in width calculation */
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    /* Adjust the margin as needed */
}

#bugReportText {
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

#subheading {
    margin-top: 3px;
    margin-bottom: 3px;
}

.button.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
}

.split-button-container {
    /* display: flex; */
    justify-content: space-between;
    margin-bottom: 10px;
}

.text-muted {
    color: var(--muted) !important;
}

#cancel-subscription {
    cursor: pointer;
}

.confirm-cancel {
    border: 2px solid var(--primary-color);
}

.back-link {
    color: var(--muted);
    margin-top: 16px;
}

.back-link-no-margin {
    color: var(--muted);
    margin-top: 0px !important;
}

.back-link:hover {
    cursor: pointer;
}

.whitelabel-logo {
    max-width: 300px;
}

.preview-title {
    margin-bottom: 4px;
}

.refreshLink {
    text-decoration: underline;
    color: var(--muted);
    padding: 2px;
}

.refresh-link-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.audio-preview-image {
    margin-bottom: 4px;
}

.redirectUrl_div {
    color: rgb(255, 255, 255) !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    cursor: pointer;
    display: none;
    margin: 1rem;
}

.redirectUrl_div span {
    text-decoration: underline;
    margin: 0.25rem;
}

.d-none {
    display: none;
}

.toggle-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.open-in-mobile-browser {
    display: none;

    color: var(--muted);
    padding: 2px;

    @media (max-width: 768px) {
        display: block;
    }
}

.before_after_toggle_switch {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Remove any background colors that might be inherited */
    background: none;
}

.before_after_toggle_container {
    position: relative;
    width: 48px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    /* Ensure this is displayed inline with the labels */
    display: inline-block;
}

.before_after_toggle_handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.before_after_toggle_label {
    color: var(--text-color);
    font-size: 14px;
    /* Remove any background colors */
    background: none;
}

.switch-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-text {
    font-size: 14px;
    color: var(--muted);
}

.switch-container {
    position: relative;
    width: 30px;
    height: 16px;
}

.toggle-switch {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.switch-label {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128, 0.5);
    /* Medium grey background when off */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.21s;
    /* Reduced from 0.3s (30% faster) */
}

/* Add primary color background when checked */
.toggle-switch:checked+.switch-label {
    background: var(--primary-color);
}

.switch-label::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 7px;
    transition: 0.21s;
    /* Reduced from 0.3s (30% faster) */
}

.toggle-switch:checked+.switch-label::after {
    left: calc(100% - 15px);
}

/* Make the active text more visible */
.toggle-switch:not(:checked)~.switch-text:first-of-type,
.toggle-switch:checked~.switch-text:last-of-type {
    color: rgba(255, 255, 255, 1);
}

.section-container {
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
}

.audio-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

/* Adjust spacing between elements within sections */
.audio-section>div,
.payment-section>div {
    margin-bottom: 15px;
}

.audio-section>div:last-child,
.payment-section>div:last-child {
    margin-bottom: 0;
}

.subscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.subscription-modal-content {
    background: #111;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .subscription-modal-content {
        width: 90%;
        /* Slightly wider on mobile */
        padding: 20px 16px;
        /* Slightly less padding */
        margin: 16px;
        /* Ensure there's always some space from edges */
    }

    .subscription-modal-title {
        font-size: 20px;
        /* Slightly smaller title on mobile */
    }

    /* Ensure the toggle container fits nicely */
    .subscription-modal-content .toggle-container {
        width: 100%;
        padding: 5px 0;
    }
}

.subscription-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--muted);
    cursor: pointer;
    font-size: 24px;
}

.subscription-modal-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
}

.loudness-label {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 7px;
    margin-left: 0px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
}

.info-icon {
    display: inline-block;
    font-size: 12px;
    color: var(--muted);
    margin-left: 5px;
    cursor: help;
    position: relative;
}

/* Custom tooltip styling */
.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    margin-bottom: 5px;
    padding: 8px 12px;
    background-color: black;
    color: var(--muted);
    border-radius: 6px;
    font-size: 12px;
    white-space: normal;
    width: 500px;
    /* Fixed width */
    max-width: 90vw;
    /* Ensure it doesn't overflow on small screens */
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: left;
    /* Keep text left-aligned */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

/* Position the tooltip to avoid cutoff on small screens */
@media (max-width: 600px) {
    .info-icon::after {
        left: 0;
        transform: translateX(0);
        width: 240px;
    }

    .info-icon::before {
        left: 20px;
        transform: translateX(0);
    }
}

/* Add a small arrow to the tooltip */
.info-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    margin-bottom: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

/* Show tooltip on hover with a delay */
.info-icon:hover::after,
.info-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.3s;
    /* 300ms delay before showing */
}

.clickable {
    cursor: pointer;
}

.spotify-info-icon {

    display: inline-block;
    font-size: 12px;
    color: var(--muted);
    cursor: help;
    position: relative;

}

.spotify-info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    margin-bottom: 5px;
    padding: 8px 12px;
    background-color: black;
    color: var(--muted);
    border-radius: 6px;
    font-size: 12px;
    white-space: normal;
    width: 260px;
    max-width: 90vw;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.spotify-info-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    margin-bottom: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.spotify-info-icon:hover::after,
.spotify-info-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.3s;
}

@media (max-width: 600px) {
    .spotify-info-icon::after {
        left: auto;
        right: 0;
        transform: none;
        width: 90vw;
        min-width: 180px;
        max-width: 320px;
        box-sizing: border-box;
        margin-right: 8px;
    }

    .spotify-info-icon::before {
        left: auto;
        right: 16px;
        transform: none;
    }
}