@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Kameron:wght@400..700&display=swap');

body {
    background-color: #1e1e1e;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.abril-fatface-regular {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
}

/* Flexbox container for the main layout */
.main-layout {
    display: flex;
    flex: 1;
    flex-direction: row;
    overflow: auto;
}

/* Sidebar and menu */
#custom-css-section,
#menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 20px;
    z-index: 10;
}

#custom-css-section {
    left: 20px;
    width: 250px;
    /* Reduced width for better responsiveness */
    height: calc(100% - 40px);
}

#menu {
    right: 20px;
}

#controller-container {
    margin-left: 250px;
    /* Adjusted to align with the sidebar */
    flex: 1;
    padding: 20px;
    /* Added padding for content spacing */
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #custom-css-section {
        width: 200px;
    }

    #controller-container {
        margin-left: 0;
        margin-top: 20px;
    }
}

#url-field {
    width: 93%;
    /* Make it responsive */
    padding: 10px;
    background-color: #333;
    border: none;
    color: white;
    border-radius: 5px;
    text-align: center;
}

/* General button styles */
button {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-family: "Kameron", serif;
}

button:hover {
    background-color: #555;
}

button:active {
    background-color: #777;
}

/* Specific styles for .custom class buttons */
.custom {
    background-color: #282a36;
}

.custom:hover {
    background-color: #3a3f5a;
}

.custom:active {
    background-color: #4a4f6a;
}

/* Adjustments for button width in specific containers */
#menu button,
#custom-css-section button {
    width: 100%;
}

/* Keyframes for sliding down (opening) */
@keyframes slideDown {
    0% {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for sliding up (closing) */
@keyframes slideUp {
    0% {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Dropdown container */
.dropdown-content {
    display: none;
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
}

.dropdown-content.open {
    display: flex;
    animation: slideDown 0.5s forwards ease-in-out;
}

.dropdown-content.close {
    animation: slideUp 0.5s forwards ease-in-out;
}

/* Custom styles for the <select> dropdown */
#controller-select {
    background-color: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    font-family: "Kameron", serif;
    font-size: 16px;
    width: 100%;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#controller-select:focus {
    border-color: #282a36;
    background-color: #444;
}

/* Custom styles for <option> elements */
#controller-select option {
    background-color: #1e1e1e;
    color: white;
}

#controller-select option:hover {
    background-color: #282a36;
}


/* Custom range input styles */
#size-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 5px;
    outline: none;
    margin: 0;
    cursor: pointer;
}

#size-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#size-range::-webkit-slider-thumb:hover {
    background: #777;
}

#size-range::-webkit-slider-thumb:active {
    background: #999;
}

#size-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#size-range::-moz-range-thumb:hover {
    background: #777;
}

#size-range::-moz-range-thumb:active {
    background: #999;
}

/* CodeMirror CSS */
.CodeMirror {
    height: 100%;
    border: 1px solid #333;
    border-radius: 5px;
    background: #1e1e1e;
    color: #f8f8f2;
    overflow: auto;
}

.CodeMirror::-webkit-scrollbar {
    width: 12px;
    background-color: #1e1e1e;
}

.CodeMirror::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

.CodeMirror::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

.CodeMirror::-webkit-scrollbar-thumb:active {
    background-color: #999;
}

.CodeMirror {
    scrollbar-width: thin;
    scrollbar-color: #555 #1e1e1e;
}

.CodeMirror .cm-scroller {
    min-height: 100%;
}

/* Credits Container */
.credits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

/* Credit Item */
.credit-item {
    width: 50px;
    height: 50px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.credit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.credit-item:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* Tooltip on Hover */
.credit-item::after {
    content: attr(data-info);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.credit-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Adjustments for Smaller Screens */
@media (max-width: 600px) {
    .credits-container {
        gap: 10px;
        padding: 8px;
    }

    .credit-item {
        width: 40px;
        height: 40px;
    }

    .credit-item::after {
        font-size: 10px;
        bottom: -25px;
    }

    .credit-item:hover::after {
        bottom: -35px;
    }
}

#color-picker-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#color-picker {
    width: 100%;
    height: 40px;
    border: none;
    padding: 0;
    cursor: pointer;
}

#color-hex,
#color-rgba {
    width: 100%;
    padding: 10px;
    background-color: #333;
    border: none;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-family: "Kameron", serif;
    font-weight: 500;
}

/* WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

::-webkit-scrollbar-thumb:active {
    background: #999;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #555 #1e1e1e;
}

*::-webkit-scrollbar-corner {
    background-color: #1e1e1e;
}

label {
    text-align: center;
    text-transform: uppercase;
}

/* Overlay for the feature request form */
#feature-request-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease;
}

/* Feature Request Form Container */
#feature-request-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2e2e2e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    width: 90%;
    max-width: 600px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Close Button */
#feature-request-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #f0f0f0;
    cursor: pointer;
    transition: color 0.3s ease;
}

#feature-request-close:hover {
    color: #ff5c5c;
}

/* Form Elements */
#feature-request-container label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #f0f0f0;
}

#feature-request-container input,
#feature-request-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-size: 16px;
    background-color: #1e1e1e;
    color: #f0f0f0;
    transition: border-color 0.3s ease;
}

#feature-request-container input:focus,
#feature-request-container textarea:focus {
    border-color: #282a36;
    outline: none;
}

/* Submit Button */
#feature-request-container button {
    background-color: #282a36;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#feature-request-container button:hover {
    background-color: #2e2e2e;
}

#feature-request-container button:disabled {
    background-color: #444;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 600px) {
    #feature-request-container {
        padding: 20px;
    }

    #feature-request-close {
        font-size: 24px;
    }
}

/* Tag Container */
#tag-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* Tag Button */
.tag {
    background-color: #444;
    color: #f0f0f0;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Selected Tag */
.tag.selected {
    background-color: #282a36;
    color: #ffffff;
}

/* Tag Hover State */
.tag:hover {
    background-color: #555;
}

/* Tag Disabled State */
.tag:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* Notification Container */
#notification-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notification {
    background: linear-gradient(145deg, #315217, #64c217);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 300px;
    opacity: 0;
    /* Start hidden */
    transform: translateY(-20px);
    /* Start slightly above */
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* Smooth transitions */
    text-align: center;
    margin-bottom: 10px;
}

.notification.show {
    opacity: 1;
    /* Fully visible */
    transform: translateY(0);
    /* Move to original position */
}

.notification.fade-out {
    opacity: 0;
    /* Hide */
    transform: translateY(-20px);
    /* Move slightly above */
}

.notification.disconnected {
    background: linear-gradient(145deg, #b71c1c, #e53935);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.notification .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.notification .close-btn:hover {
    color: #ccc;
}

#color-hex,
#color-rgba {
    display: none;
}

/* Responsive iframe */
.responsive-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Initially hide the menu */
#menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 2.5s ease, visibility 2.5s ease;
}

/* Show the menu with fade-in effect */
#menu.show {
    opacity: 1;
    visibility: visible;
}

/* Hide the menu with fade-out effect */
#menu.hide {
    opacity: 0;
    visibility: hidden;
}

/* Initially hide the menu */
#custom-css-section {
    opacity: 0;
    visibility: hidden;
    transition: opacity 2.5s ease, visibility 2.5s ease;
}

/* Show the menu with fade-in effect */
#custom-css-section.show {
    opacity: 1;
    visibility: visible;
}

/* Hide the menu with fade-out effect */
#custom-css-section.hide {
    opacity: 0;
    visibility: hidden;
}

#mobile-menu {
    display: none;
}

/* Hide all elements by default */
.hidden {
    display: none;
}

.url {
    display: none;
}

/* Media query to show only #controller-container and #mobile-menu on smaller screens */
@media (max-width: 700px) {

    /* Hide all elements except #controller-container and #mobile-menu */
    body>*:not(#controller-container):not(#mobile-menu):not(#mobile-menu-top):not(#notification-container):not(#mobile-css):not(.url):not(.credits-container):not(#css) {
        display: none;
    }

    /* Style #controller-container to be centered and properly sized */
    #controller-container {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.5);
        max-width: 100%;
        max-height: 100%;
        box-sizing: border-box;
    }

    /* Show and center the mobile menu */
    #mobile-menu {
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 10px;
        font-family: "Abril Fatface", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        background-color: transparent;
    }

    /* Style individual menu items */
    #mobile-menu ul {
        list-style-type: none;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #mobile-menu li {
        cursor: pointer;
        color: #333;
        transition: color 0.3s ease;
    }

    #mobile-menu li:hover {
        color: #555;
    }

    /* Show and center the mobile menu */
    #mobile-menu-top {
        gap: 10px;
        display: flex;
        justify-content: space-between;
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 10px;
        font-family: "Abril Fatface", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        background-color: transparent;
    }

    /* Style individual menu items */
    #mobile-menu-top ul {
        list-style-type: none;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #mobile-menu-top li {
        cursor: pointer;
        color: #333;
        transition: color 0.3s ease;
    }

    #mobile-menu-top li:hover {
        color: #555;
    }

    /* Style for the URL field container */
    .url {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: fixed;
        top: 100px;
        /* Adjust the bottom spacing as needed */
        left: 50%;
        transform: translateX(-50%);
        padding: 10px;
        box-sizing: border-box;
        gap: 5px;
    }

    /* Style for the URL field */
    #url-field {
        width: 100%;
        max-width: 600px;
        /* Optional: Adjust as needed */
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    #customcss {
        width: 25%;
    }

    /* Style the textarea to be centered and responsive */
    #css {
        position: fixed;
        /* Fixed positioning to ensure it's centered relative to the viewport */
        top: 50%;
        /* Center vertically */
        left: 50%;
        /* Center horizontally */
        transform: translate(-50%, -50%);
        /* Adjust the position to truly center */
        width: 90%;
        /* Responsive width */
        max-width: 600px;
        /* Maximum width for better readability */

        /* Responsive height (50% of the viewport height) */
        padding: 15px;
        font-family: monospace;
        font-size: 14px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        resize: none;
        /* Prevent manual resizing */

        box-sizing: border-box;
        overflow-y: auto;
        /* Ensure scrolling if content overflows */
        z-index: 100;
    }
}

/* Default (Dark Theme) Variables */
:root {
    --background-color: #1e1e1e;
    --text-color: #f5f5f5;
    --button-bg: #333;
    --button-hover-bg: #444;
    --button-active-bg: #555;
    --input-bg: #444;
    --input-border: #666;
    --popup-bg: #2b2b2b;
    --popup-border: #444;
    --tab-active-bg: #333;
    --tab-inactive-bg: #444;
    --tab-hover-bg: #555;
}

/* Light Theme Variables when body has .light class */
body.light {
    --background-color: #f0f0f0;
    --text-color: #1e1e1e;
    --button-bg: #e0e0e0;
    --button-hover-bg: #d0d0d0;
    --button-active-bg: #c0c0c0;
    --input-bg: #ffffff;
    --input-border: #cccccc;
    --popup-bg: #ffffff;
    --popup-border: #cccccc;
    --tab-active-bg: #e0e0e0;
    --tab-inactive-bg: #f5f5f5;
    --tab-hover-bg: #dcdcdc;
}

/* General styles applying the theme variables */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

button {
    background-color: var(--button-bg);
    color: var(--text-color);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--button-hover-bg);
}

button:active {
    background-color: var(--button-active-bg);
}

input,
textarea {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #282a36;
    outline: none;
}

.popup {
    background-color: var(--popup-bg);
    border: 1px solid var(--popup-border);
    color: var(--text-color);
}

.tab {
    background-color: var(--tab-inactive-bg);
}

.tab.active {
    background-color: var(--tab-active-bg);
}

.tab:hover {
    background-color: var(--tab-hover-bg);
}

/* Responsive styles */
@media (max-width: 768px) {

    /* Adjustments for mobile view */
    #custom-css-section {
        width: 200px;
    }

    #controller-container {
        margin-left: 0;
        margin-top: 20px;
    }
}

#url-field {
    width: 93%;
    padding: 10px;
    background-color: var(--input-bg);
    border: none;
    color: var(--text-color);
    border-radius: 5px;
    text-align: center;
}

/* Custom range input styles */
#size-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--input-bg);
    border-radius: 5px;
    outline: none;
    margin: 0;
    cursor: pointer;
}

#size-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--button-bg);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#size-range::-webkit-slider-thumb:hover {
    background: var(--button-hover-bg);
}

#size-range::-webkit-slider-thumb:active {
    background: var(--button-active-bg);
}

/* CodeMirror CSS */
.CodeMirror {
    height: 100%;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    background: var(--background-color);
    color: var(--text-color);
    overflow: auto;
}

.CodeMirror::-webkit-scrollbar {
    width: 12px;
    background-color: var(--background-color);
}

.CodeMirror::-webkit-scrollbar-thumb {
    background-color: var(--button-bg);
    border-radius: 10px;
}

.CodeMirror::-webkit-scrollbar-thumb:hover {
    background-color: var(--button-hover-bg);
}

.CodeMirror::-webkit-scrollbar-thumb:active {
    background-color: var(--button-active-bg);
}

.CodeMirror {
    scrollbar-width: thin;
    scrollbar-color: var(--button-bg) var(--background-color);
}

.CodeMirror .cm-scroller {
    min-height: 100%;
}

/* Credits Container */
.credits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

/* Credit Item */
.credit-item {
    width: 50px;
    height: 50px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.credit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.credit-item:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* Tooltip on Hover */
.credit-item::after {
    content: attr(data-info);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.credit-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Adjustments for Smaller Screens */
@media (max-width: 600px) {
    .credits-container {
        gap: 10px;
        padding: 8px;
    }

    .credit-item {
        width: 40px;
        height: 40px;
    }

    .credit-item::after {
        font-size: 10px;
        bottom: -25px;
    }

    .credit-item:hover::after {
        bottom: -35px;
    }
}

#color-picker-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#color-picker {
    width: 100%;
    height: 40px;
    border: none;
    padding: 0;
    cursor: pointer;
}

#color-hex,
#color-rgba {
    width: 100%;
    padding: 10px;
    background-color: var(--input-bg);
    border: none;
    color: var(--text-color);
    border-radius: 5px;
    text-align: center;
}

/* WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--button-bg);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover-bg);
}

::-webkit-scrollbar-thumb:active {
    background: var(--button-active-bg);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--button-bg) var(--background-color);
}

*::-webkit-scrollbar-corner {
    background-color: var(--background-color);
}

label {
    text-align: center;
    text-transform: uppercase;
}

/* Overlay for the feature request form */
#feature-request-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease;
}

/* Feature Request Form Container */
#feature-request-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--popup-bg);
    border: 1px solid var(--popup-border);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#feature-request-container h2 {
    margin-top: 0;
}

#feature-request-container textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    background: var(--input-bg);
    color: var(--text-color);
}

#feature-request-container button {
    background: var(--button-bg);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#feature-request-container button:hover {
    background: var(--button-hover-bg);
}

#feature-request-container button:active {
    background: var(--button-active-bg);
}