body {
    background: linear-gradient(#121212, #1c0333, #360f5a);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    padding-top: 5%;
}

/* Hiding scrollbars */
html, body {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none;
}

/* Navbar */
.navbar {
    /*background: #121212;*/
    background: transparent;
}

.navbar .container {
    max-width: 100% !important;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    margin-left: 20px;
}

/* History button */
.history-btn {
    background-color: #1ed760 !important;
    color: white !important;
    border: none;
    font-size: 18px;
    border-radius: 8px;
    padding: 3px 10px;
    margin-right: 20px;
    transition: 0.3s;
    box-shadow: 0 0 8px rgba(28, 248, 119, 0.3);
}

.history-btn:hover {
    background-color: #5c2e94 !important;
    box-shadow: 0 0 12px rgba(92, 46, 148, 0.8);
}

/* Form */
textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    color: #fff !important;
    caret-color: #fff !important;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    resize: none;
    outline: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

textarea::-webkit-scrollbar {
    display: none;
}

/* Button */
.btn-primary {
    background: #1ed760 !important;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(30, 215, 96, 0.4);
}

.btn-primary:hover {
    background: #1db954 !important;
    box-shadow: 0 0 12px rgba(30, 255, 96, 0.6);
    transform: scale(1.05);
}

h1 {
    font-weight: bold;
}

#playlistEmbed {
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

/* Error Notification */
#error-alert {
    position: fixed !important;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: auto;
    min-width: 300px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff;
    font-size: 20px;
    padding: 15px;
    text-align: center;
    z-index: 1050 !important;
    border-radius: 8px;
    border: none;
    opacity: 0;
    transition: top 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

#error-alert.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#error-alert.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}