* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", 
                 "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 16px; /* Primary font size */
    font-weight: 400; /* Regular text weight */
    color: #333; /* Default text color */
    margin: 0;
    padding: 0;
    background-color: rgba(248, 248, 250, 1);
    line-height: 1.2;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

.circle {
    position: absolute;
    background: radial-gradient(79% 79% at 65.5% 50%,
            #ffffff 0%,
            rgba(255, 255, 255, 0) 100%),
        radial-gradient(95.83% 280.23% at 0% 6.38%, #516ff4 0%, #8355f5 81.5%),
        linear-gradient(0deg, #52b6ff, #52b6ff);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.2;
}

.rectangle {
    position: absolute;
    background: radial-gradient(79% 79% at 65.5% 50%,
            #ffffff 0%,
            rgba(255, 255, 255, 0) 100%),
        radial-gradient(95.83% 280.23% at 0% 6.38%, #516ff4 0%, #8355f5 81.5%),
        linear-gradient(0deg, #52b6ff, #52b6ff);
    z-index: -1;
    border-radius: 10px;
    opacity: 0.2;
}

.circle-1 {
    top: -35%;
    right: -10%;
    width: 35vw;
    height: 35vw;
}

.circle-2 {
    top: 1%;
    right: 26%;
    width: 6vw;
    height: 6vw;
}

.circle-3 {
    top: 10%;
    left: -8%;
    width: 15vw;
    height: 15vw;
}

.circle-4 {
    top: 30%;
    left: 10%;
    width: 23vw;
    height: 23vw;
}

.circle-5 {
    left: 32%;
    top: 65%;
    width: 6vw;
    height: 6vw;
}

.circle-6 {
    bottom: 15%;
    right: 0%;
    width: 10vw;
    height: 10vw;
}

@media screen and (max-device-width: 480px) {
    .circle-2 {
        top: -10%;
        right: 0%;
        width: 50vw;
        height: 50vw;
    }

    .circle-3 {
        left: -15%;
        width: 30vw;
        height: 30vw;
    }

    .circle-4 {
        left: 4%;
        width: 50vw;
        height: 50vw;
    }

    .circle-5 {
        left: 50%;
        top: 51%;
        width: 10vw;
        height: 10vw;
    }

    .circle-6 {
        bottom: 6%;
        width: 25vw;
        height: 25vw;
    }
}


.sloganCraft-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.keyboard-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    z-index: 10;
}

.custom-keyboard {
    font-size: 16px;
}

.custom-keyboard .hg-button {
    height: 15px;
    min-width: 30px;
    padding: 5px;
}

/* ----------NAVBAR----------------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 0px solid #6743EE;
    background: rgb(233, 234, 252, 0.6);
}

.navbar-logo {
    height: 40px;
    cursor: pointer;
    margin-right: 20px; /* Add space between logo and the rest of the elements */
}

.nav-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-input-container input {
    width: 300px;
    padding: 10px 50px 10px 10px;
    font-size: 0.85em;
    border: 1px solid #c8c0e0;
    border-radius: 5px;
    outline: none;
}

.nav-container input:focus {
    border: 1.5px solid #692cf3;
}

.microphone-icon {
    position: absolute;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.microphone-icon.listening {
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(7500%) hue-rotate(356deg) brightness(100%) contrast(101%);
}

.generate-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .navbar-input {
        width: 100px;
    }
}

/* ----------------BODY---------------- */

.body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.body.showKeyboard {
    align-items: center;
}

.slogan-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 166px;
}

.slogan-container.showKeyboard {
    gap: 70px;
    margin-top: 0px;
}

.slogan {
    color: #000;
    font-size: 3em;
    margin-bottom: 20px;
}

.subtext {
    color: #666;
    font-size: 2em;
    margin-bottom: 30px;
}

.slogan-footer-link {
    color: #874ff4;
    font-size: 1.2em;
    font-weight: 500;
}

.highlight {
    color: white;
    padding: 5px;
    background-color: #874ff4;
}

.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-top: 7px;
}

.welcome-container.showKeyboard {
    gap: 60px;
    margin-top: 0px;
}

/* Hero Title and Subtitle */
.hero-title {
    font-size: 2.0em; /* Larger heading size */
    background: linear-gradient(183deg, rgba(114, 19, 234, 1) 0%, rgba(30, 73, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-align: center;
}

.hero-subtitle {
    font-size: 0.9em; /* Consistent subtitle size */
    color: rgba(60, 59, 73, 1);
    text-align: center;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* This centers the input fields horizontally */
    justify-content: center;
    gap: 10px;
    /* Spacing between elements */
}

.input-container h3 {
    margin-bottom: 10px;  /* Adjust this value to reduce space below the title */
}

.input-wrapper {
    width: 100%;
    /* Ensures the inputs take up full width */
    max-width: 500px;
    /* You can adjust the max-width to control the size */
    text-align: center;
    /* Center the text inside the inputs */
    margin-bottom: 20px;
    /* Adds space between the input fields */
    padding: 10px;
}


.submit-button {
    background: linear-gradient(90deg, #3e78f3 0%, #6743EE 100%);
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: linear-gradient(90deg, #6743EE 0%, #3e78f3 100%);
}


.submit-button:active {
    background-color: #6743EE;
    /* Active state color */
    box-shadow: none;
    /* Remove shadow when pressed */
}

.submit-button:focus {
    outline: none;
    border: 2px solid #6743EE;
    /* Focus border */
    box-shadow: 0 0 8px rgba(114, 19, 234, 0.5);
    /* Focus glow */
}




.input-container input {
    margin: 5px 0;        /* Reduce the top and bottom margins for the input fields */
    padding: 10px;        /* Adjust padding for input fields */
    width: 100%;          /* Ensure full width for responsiveness */
    max-width: 500px;     /* Optionally set a max width for larger screens */
}


.input-container input:focus {
    border: 1.5px solid #692cf3;
}

.input-container>* {
    margin-bottom: 20px;
    /* Consistent space between elements */
}

.audio-container {
    margin-top: 30px;
    /* Add space between the Generate button and the audio player */
}

.restart-container {
    margin-top: 20px;
    /* Add space before the View Podcast Script and Restart links */
    font-size: 14px;
    /* Increased font size for readability */
}


audio {
    margin-top: 20px;
    width: 100%;
    /* Ensure it's responsive */
}

#contentDiv {
    font-size: 3em;
    font-weight: 700;
}

#contentDiv span {
    color: white;
    background-color: #874ff4;
}

.microphone-icon {
    position: absolute;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.microphone-icon.listening {
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(7500%) hue-rotate(356deg) brightness(100%) contrast(101%);
}

.generate-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .navbar-input {
        width: 100px;
    }

    .body {
        flex: none;
        margin-top: 20px;
    }
}

/* ------------------FOOTER------------------- */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
}

.footer.centered {
    justify-content: center;
}

.footer-text {
    color: #000;
    font-size: 1.3em;
    font-weight: 500;
}

.restart {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.previous-icon {
    width: 22px;
    height: 22px;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.qr-code {
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.qr-text {
    font-size: 0.7em;
    font-weight: 700;
    font-family: system-ui;
    color: #692cf3;
    text-align: center;
}

/* --------MOBILE------------ */

@media screen and (max-device-width: 540px) {
    .modal-input-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .modal-input-container input {
        width: 300px;
        padding: 10px 50px 10px 10px;
        font-size: 0.85em;
        border: 1px solid #c8c0e0;
        border-radius: 5px;
        outline: none;
    }

    .modal-input-container input:focus {
        border: 1.5px solid #692cf3;
    }

    .nav-input-desktop {
        display: none;
    }

    .nav-input-container {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .generate-icon-button {
        border-radius: 5px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(90deg, #3e78f3 0%, #6743EE 100%),
            radial-gradient(145.71% 592.18% at 145.71% -61.11%,
                #e94a9a 12%,
                rgba(233, 74, 154, 0.444) 43.05%,
                rgba(103, 45, 255, 0) 58.5%,
                #672de1 100%),
            radial-gradient(79% 79% at 65.5% 50%,
                #ffffff 0%,
                rgba(255, 255, 255, 0) 100%),
            linear-gradient(0deg, #52b6ff, #52b6ff);
    }

    .generate-icon-button .generate-icon {
        width: 30px;
        height: 30px;
    }

    .nav-input-container input {
        width: 350px;
    }

    .input-container input {
        width: 350px;
    }

    .slogan-container {
        margin-top: 40px;
    }

    .slogan {
        font-size: 2.5em;
    }

    .subtext {
        font-size: 1.25em;
    }

    .slogan-footer-link {
        font-size: 1em;
    }

    .footer {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }

    .footer .restart {
        position: absolute;
        top: 100px;
        left: 20px;
    }
}

/* Input Fields and Form Controls */
input, .form-control {
    font-size: 14px; /* Consistent font size */
    padding: 4px;
    border: 1px solid #c8c0e0;
    border-radius: 5px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 0px;
    outline: none;
}

input[type="file"], input[type="url"], input[type="radio"] {
    border: 1px solid #D0D0D0;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: #6743EE;
    outline: none;
}

/* Container to center the spinner */
.spinner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Full viewport height */
    width: 100vw;
    /* Full viewport width */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    /* Ensure it's above other content */
    background-color: rgba(255, 255, 255, 0.8);
    /* Optional: add a semi-transparent background */
}

.spinner {
    display: flex;
    align-items: center;
    padding: 7.5px;
    gap: 10px;
    cursor: pointer;
}

.spinner-message {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(183deg, rgb(114, 19, 234) 0%, rgb(30, 73, 226) 100%);
    -webkit-background-clip: text;
    /* Ensures the gradient only affects the text */
    -webkit-text-fill-color: transparent;
    /* Makes the text transparent to show the background gradient */
    background-clip: text;
    /* Ensures the gradient only affects the text for non-webkit browsers */
    text-fill-color: transparent;
    /* For non-webkit browsers */
}




.wave-menu {
    border: 4px solid #6743EE;
    background-image: linear-gradient(183deg, rgb(114, 19, 234) 0%, rgb(30, 73, 226) 100%);
    transition: 150ms ease-in-out;
    opacity: 1;
    border: 2px solid transparent;
    /* Make the border transparent */
    border-image: linear-gradient(183deg, rgba(114, 19, 234, 1) 0%, rgba(30, 73, 226, 1) 100%);
    border-image-slice: 1;
    /* Ensure the gradient covers the entire border */
    transition: 150ms ease-in-out;
    opacity: 1;
    align-items: center;
    border-radius: 20px;
    width: 140px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: ease 0.2s;
    position: relative;
    background: #fff;
}

.wave-menu li {
    list-style: none;
    height: 30px;
    width: 4px;
    border-radius: 10px;
    background: #6743EE;

    margin: 0 6px;
    padding: 0;
    animation-name: wave1;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: ease 0.2s;
}

.wave-menu:hover>li {
    background: #fff;
}

.wave-menu:hover {
    background: #6743EE;
}

.wave-menu li:nth-child(2) {
    animation-name: wave2;
    animation-delay: 0.2s;
}

.wave-menu li:nth-child(3) {
    animation-name: wave3;
    animation-delay: 0.23s;
    animation-duration: 0.4s;
}

.wave-menu li:nth-child(4) {
    animation-name: wave4;
    animation-delay: 0.1s;
    animation-duration: 0.3s;
}

.wave-menu li:nth-child(5) {
    animation-delay: 0.5s;
}

.wave-menu li:nth-child(6) {
    animation-name: wave2;
    animation-duration: 0.5s;
}

.wave-menu li:nth-child(8) {
    animation-name: wave4;
    animation-delay: 0.4s;
    animation-duration: 0.25s;
}

.wave-menu li:nth-child(9) {
    animation-name: wave3;
    animation-delay: 0.15s;
}

@keyframes wave1 {
    from {
        transform: scaleY(1);
    }

    to {
        transform: scaleY(0.5);
    }
}

@keyframes wave2 {
    from {
        transform: scaleY(0.3);
    }

    to {
        transform: scaleY(0.6);
    }
}

@keyframes wave3 {
    from {
        transform: scaleY(0.6);
    }

    to {
        transform: scaleY(0.8);
    }
}

@keyframes wave4 {
    from {
        transform: scaleY(0.2);
    }

    to {
        transform: scaleY(0.5);
    }
}

.form-select {
    width: 100%;
    border: 1px solid rgba(172, 23, 222, 0.2);
    border-radius: 0.25em;
    padding: 0.25em 0.5em;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;
    background-color: #fff;
    display: grid;
}

.loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
}

.loader:before,
.loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}

.loader:before {
    animation: ball1 1s infinite;
    background-color: #fff;
    box-shadow: 30px 0 0 #7213ea;
    margin-bottom: 10px;
}

.loader:after {
    animation: ball2 1s infinite;
    background-color: #7213ea;
    box-shadow: 30px 0 0 #fff;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(0.8)
    }

    50% {
        transform: rotate(360deg) scale(1.2)
    }

    100% {
        transform: rotate(720deg) scale(0.8)
    }
}

@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #7213ea;
    }

    50% {
        box-shadow: 0 0 0 #1e49e2;
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #7213ea;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #fff;
    }

    50% {
        box-shadow: 0 0 0 #fff;
        margin-top: -20px;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
    }
}



.container-xxl {
    margin: 0 -1.5rem 1rem;
    margin-bottom: 1rem;
    border: 1;
    border-width: 1px 0;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
}

.logo {
    /* Logos */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;

    position: absolute;
    width: 141px;
    height: 48px;
    left: 29px;
    top: 20px;
}

/* Style for the settings icon */
.settings-icon-container {


    display: flex;
    gap: 15px; /* Add some space between the settings and history icons */
    align-items: center;
}

.settings-icon {
    width: 15px;
    height: 15px;
}

/* Sliding settings panel */
.settings-slider {
    position: fixed;
    top: 0;
    right: -300px;
    /* Initially hidden */
    width: 300px;
    height: 100%;
    background: rgb(233, 234, 252);
    z-index: 1000;
    padding: 20px;
    transition: right 0.4s ease;
}

.slider-content {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.slider-content label {
    font-size: 10px;
    color: #333;
    margin-bottom: 0px;
}

/* Style for the language dropdown to match pill buttons */
.slider-content select {
    padding: 10px;
    border-radius: 50px; /* Pill-shaped dropdown */
    border: 2px solid #6743EE; /* Border color */
    background: none;
    color: #6743EE; /* Text color */
    font-size: 10px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
}

.slider-content select:hover {
    background: #6743EE; /* Hover background */
    color: white; /* Hover text color */
}

.custom-button {
    padding: 10px 15px;
    margin: 20px;
    border-radius: 50px; /* Makes the buttons pill-shaped */
    border: 2px solid #6743EE; /* Border color */
    background: none; /* No background */
    color: #6743EE; /* Text color matches the border */
    font-size: 14px; /* Smaller font size */
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 12px;
}

.custom-button:hover {
    background: #6743EE; /* Add background on hover */
    color: white; /* Change text to white on hover */
}

.custom-button:active {
    background: #6743EE; /* Darker background when clicked */
    color: white;
}

/* Modal CSS */
/* Modal styling */
/* Styling for the modal */
/* Modal styling to appear below the button */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex; /* Show the modal when active */
}

.modal__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1; /* Behind the modal content */
}

.modal__inner {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;  /* Set a maximum width */
    width: 90%;        /* Make sure it’s responsive */
    max-height: 80vh;  /* Maximum height set to 80% of the viewport */
    overflow-y: auto;  /* Add scroll if content exceeds max height */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow for aesthetics */
    position: relative;
    z-index: 10; /* Ensure modal content is above the background */
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

/* Large Close Button */
.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 36px;   /* Large size for visibility */
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal__close:hover {
    color: #6743EE;    /* Change color on hover */
}

.modal__content {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap; /* Preserve text formatting */
}



/* Download Script Button at Top Right */
.modal__download {
    position: absolute;
    top: 1em;
    right: 4em;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .modal__inner {
        width: 90%;
        height: 90%;
    }
}

textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.custom-button {
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    border: 2px solid #6743EE;
    background: none;
    color: #6743EE;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.custom-button:hover {
    background: #6743EE;
    color: white;
}

.center-text {
    text-align: center;
}


a {
    color: #2980b9;
    transition: color 0.3s ease;
    font-size: xx-small;
}

a:hover {
    color: #3498db;
}

/* Flexbox for Layout */

.center-text {
    text-align: center;
    margin-top: 0px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.flex-container div {
    flex: 1; /* Ensure equal space for both buttons */
    text-align: center; /* Center the text in each column */
}

.flex-container a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 10px;
}

/* Pill-shaped Buttons */
.pill-button, .submit-button, .custom-button {
    font-size: 14px; /* Smaller font size for consistency */
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 50px; /* Pill shape */
    border: 2px solid #6743EE; /* Border color */
    background: none; /* No background */
    color: #6743EE; /* Text color */
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.pill-button:hover, .submit-button:hover, .custom-button:hover {
    background: #6743EE; /* Add background on hover */
    color: white; /* Hover text color */
}

.pill-button:active, .submit-button:active, .custom-button:active {
    background: #6743EE; /* Active background */
    color: white; /* Active text color */
}

.submit-button {
    background: linear-gradient(90deg, #3e78f3 0%, #6743EE 100%);
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

$primary: #7213ea;
$secondary: #1e49e2;

/* Styles for the profile selection radio buttons */
.l-radio {
    padding: 3px;
    border-radius: 50px;
    display: inline-flex;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 6px 0;
    -webkit-tap-highlight-color: transparent;
  }
  
  .l-radio:hover, .l-radio:focus-within {
    background: rgba(159, 159, 159, 0.1);
  }
  
  .l-radio input {
    vertical-align: middle;
    width: 15px;
    height: 15px;
    border-radius: 5px;
    background: none;
    border: 0;
    box-shadow: inset 0 0 0 1.5px #9F9F9F;
    appearance: none;
    padding: 0;
    margin: 0;
    transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
    pointer-events: none;
  }
  
  .l-radio input:focus {
    outline: none;
  }
  
  .l-radio input:checked {
    box-shadow: inset 0 0 0 6px #6743ee; /* Customize this color */
  }
  
  /* Define gradient for text */
.l-radio span {
    vertical-align: middle;
    display: inline-block;
    line-height: 20px;
    padding: 0 10px;
    font-size: 11px;  /* Small text */
    background-clip: text;
  }  

  .h3-tooltip {
    position: relative;
    cursor: pointer;
}

h3{

    font-weight: 600;
    color: #4B4B4B;
    padding: 0px; /* Reduced spacing */
    padding-top: 5px;
    background: linear-gradient(90deg, #6743EE, #1e49e2); /* Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the text fill with gradient */
}

.h3-tooltip::after {
    content: attr(data-tooltip); /* Use custom attribute instead of title */
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    font-size: 12px;
    z-index: 10;
}

.h3-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* History Icon Style */
.history-icon {
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-left: 10px; /* Adds space between settings and history icons */
}

/* Sliding history panel */
.history-slider {
    position: fixed;
    top: 0;
    right: -300px; /* Initially hidden off-screen */
    width: 300px;
    height: 100%;
    background: rgb(233, 234, 252);
    z-index: 1000;
    transition: right 0.4s ease;
    max-height: 1000px; /* Allow the history panel to grow */
    overflow-y: auto; /* Enable vertical scroll */
    padding: 10px;
    border: 1px solid #ccc; /* Optional: Add a border for better visibility */
}

/* Ensure the history content doesn't overflow */
.slider-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-button {
    padding: 10px 15px;
    margin: 20px;
    border-radius: 50px;
    border: 2px solid #6743EE;
    background: none;
    color: #6743EE;
    font-size: 10px;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.custom-button:hover {
    background: #6743EE;
    color: white;
}

.podcast-ready-container {
    text-align: center;
    margin-top: 5px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.podcast-ready-container h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
}

.podcast-ready-container audio {
    margin-top: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.flex-container {
    display: flex;
    justify-content: center;
    gap: 20px;            /* Space between the buttons */
    margin-top: 20px;     /* Add space above the buttons */
}

.help-icon {
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-left: 10px; /* Adds space between the history and help icons */
}

/* Text and Content Formatting */
.modal__content p {
    font-size: 12px;
    margin-bottom: 1px; /* Space between paragraphs */
}

.modal__content h3 {
    font-size: 1.25rem;
    color: #5a57f2; /* Keep heading color consistent with app theme */
    margin-bottom: 15px; /* Space below heading */
}

.modal__content strong {
    font-weight: 800;
}

/* Additional Improvements for Mobile Responsiveness */
@media (max-width: 768px) {
    .modal__inner {
        max-width: 95%; /* Ensure good spacing on small screens */
    }
}

.gradient-line {
    width: 100%; /* Full width of the container */
    height: 1px; /* Adjust the height of the line */
    margin: 10px 0; /* Space above and below the line */
    background: linear-gradient(90deg, #3e78f3 10%, #6743EE 100%); /* Gradient color scheme */
    border: none;
}

/* General Alert Styling */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Alert for Danger/Error Messages */
.alert-danger {
    background: linear-gradient(90deg, #ff5f6d 0%, #6743EE 100%);
    border: 1px solid rgba(255, 95, 109, 0.6);
}

/* Alert for Success Messages */
.alert-success {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    border: 1px solid rgba(67, 206, 162, 0.6);
}

/* Close Button */
.alert .close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.small-disclaimer {
    font-size: xx-small;
    padding: 5px;
    font-weight: 600;
    padding-bottom: 10px;
    color: red;
}