html {
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.path {
    color: #ff69b4; /* Pink */
    font-family: 'Courier New', monospace;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.light .path {
    color: #32cd32; /* Green */
    background-color: rgba(0, 0, 0, 0.1);
}

header {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
    position: relative;
}

header h1 {
    margin: 0;
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

header p {
    margin: 5px 0 0 0;
    font-style: italic;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out 0.5s forwards;
}

nav {
    margin: 20px 0;
}

nav a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #333;
}

#lang-switch {
    position: absolute;
    top: 10px;
    right: 60px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    padding: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    width: 40px;
    height: 30px;
    box-sizing: border-box;
}

#lang-switch:hover {
    background-color: #555;
}

#theme-switch {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    padding: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    width: 40px;
    height: 30px;
    box-sizing: border-box;
}

#theme-switch:hover {
    background-color: #555;
}

#admin-btn {
    position: absolute;
    top: 10px;
    right: 110px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    padding: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    width: 40px;
    height: 30px;
    box-sizing: border-box;
}

#admin-btn:hover {
    background-color: #555;
}

main {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    margin: 0 300px;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #ffd700;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 10px 0;
}

.download-item {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    position: relative;
}

.download-item.recommended {
    border-color: #4caf50;
    background-color: rgba(76, 175, 80, 0.1);
}

.download-link {
    font-size: 1.1em;
    font-weight: bold;
    color: #00bfff;
    text-decoration: none;
    padding-right: 120px;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.download-item.recommended .download-link {
    color: #4caf50;
}

.download-link:hover {
    text-decoration: underline;
}

.downloads {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.9em;
    color: #888;
}

.additional-info {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    margin-left: 10px;
}

.file-info-item {
    font-size: 0.8em;
    color: #aaa;
}

#changelogs-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

#changelogs-container ol {
    list-style-type: decimal;
    padding-left: 20px;
}

#changelogs-container li {
    margin: 5px 0;
}

#changelogs-container h1,
#changelogs-container h2,
#changelogs-container h3,
#changelogs-container h4,
#changelogs-container h5,
#changelogs-container h6 {
    color: #ffd700;
    border-bottom: 1px solid #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

#changelogs-container strong {
    font-weight: bold;
    color: #fff;
}

#changelogs-container code {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ff69b4;
    padding: 2px 4px;
    border-radius: 3px;
}

#changelogs-container pre {
    background-color: #1e1e1e;
    border: 1px solid #333;
    padding: 10px;
    overflow-x: auto;
}

#changelogs-container pre code {
    background: none;
    color: #e0e0e0;
    padding: 0;
}

#changelogs-container a {
    color: #32cd32;
}

.light #changelogs-container h1,
.light #changelogs-container h2,
.light #changelogs-container h3,
.light #changelogs-container h4,
.light #changelogs-container h5,
.light #changelogs-container h6 {
    color: #000;
    border-bottom: 1px solid #ccc;
}

.light #changelogs-container strong {
    color: #000;
}

.light #changelogs-container code {
    background-color: rgba(0, 0, 0, 0.1);
    color: #32cd32;
}

.light #changelogs-container pre {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    color: #000;
}

.light #changelogs-container pre code {
    color: #000;
}

.light #changelogs-container a {
    color: #0066cc;
}

a {
    color: #00bfff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

details {
    margin: 10px 0;
    background-color: #1e1e1e;
    padding: 10px;
    border: 1px solid #333;
    width: 100%;
    box-sizing: border-box;
}

details p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

summary {
    cursor: pointer;
}

.latest-changelog summary {
    color: #ffd700 !important; /* Gold */
    font-size: 1em !important;
    font-weight: bold !important;
    position: relative;
}

.screenshot-placeholder img {
    max-width: 300px;
    border: 1px solid #333;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #9370db;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.gallery div:hover {
    transform: scale(1.05);
}

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

.modal-content {
    max-width: 70%;
    max-height: 80%;
    border: 2px solid #9370db;
}

.admin-modal-content {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.admin-panel-modal-content {
    max-width: 80%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th, .admin-table td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}

.admin-table th {
    background-color: #1e1e1e;
    color: #ffd700;
}

.admin-table td {
    background-color: #2a2a2a;
}

.admin-table a {
    color: #00bfff;
    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

.light .admin-table th {
    background-color: #f0f0f0;
    color: #000;
}

.light .admin-table td {
    background-color: #fff;
    color: #000;
}

.light .admin-table a {
    color: #0066cc;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

#modal-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    color: #e0e0e0;
}

iframe.modal-content {
    width: 100%;
    height: 100%;
}

#modal-content {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    line-height: 1.6;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.light #modal-content {
    color: white !important;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #9370db;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.light .nav-btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}

.light .nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

#prev-btn {
    left: 20px;
}

#next-btn {
    right: 20px;
}

footer {
    background-color: #1e1e1e;
    text-align: center;
    padding: 0 8px;
    border-top: 1px solid #333;
    flex-shrink: 0;
    position: relative;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    margin: 0 auto;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    text-align: center;
    flex: 1 1 auto;
    width: auto;
}

.footer-logo {
        position: absolute !important;
        right: 16px;
        top: calc(50% + 6px);
        transform: translateY(-50%);
        display: block;
        margin: 0;
        text-align: right;
        width: fit-content;
}
@media (max-width: 600px) {
    footer {
        flex-direction: column;
        align-items: center;
        min-height: 80px;
        padding: 20px 8px 12px 8px;
        justify-content: flex-start;
    }
    footer p {
        width: 100%;
        flex: none;
    }
    .footer-logo {
        position: static !important;
        display: block;
        margin: 10px auto 0 auto;
        text-align: center;
        width: fit-content;
        right: auto;
        top: auto;
        transform: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 6px;
    border: 2px solid #1e1e1e;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc9900;
    box-shadow: 0 0 10px #ffd700;
}

::-webkit-scrollbar-corner {
    background: #121212;
}

/* Light Mode */
.light html, .light body {
    background-color: #ffffff !important;
    color: #333;
}

body.light {
    background-color: #ffffff !important;
}

.light header {
    background-color: #e0e0e0;
    border-bottom-color: #ccc;
}

.light header h1 {
    color: #9370db;
    text-shadow: 0 0 10px #9370db, 0 0 20px #9370db, 0 0 30px #9370db;
}

.light header p {
    color: #333;
}

.light nav a {
    color: #9370db;
}

.light nav a:hover {
    background-color: #ccc;
}

.light main {
    background-color: #ffffff;
    color: #333;
}

.light main p, .light main h2, .light main details, .light main summary {
    color: #333 !important;
}

.light main h2 {
    color: #9370db !important;
    border-bottom-color: #ddd;
}

.light h2 {
    color: #9370db;
}

.light p {
    color: #333;
}

.light .download-item {
    border-color: #ccc;
    background-color: rgba(0, 0, 0, 0.05);
}

.light .download-item.recommended {
    border-color: #4caf50;
    background-color: rgba(76, 175, 80, 0.1);
}

.light .download-link {
    color: #0066cc;
}

.light .download-item.recommended .download-link {
    color: #4caf50;
}

.light .downloads {
    color: #666;
}

.light .additional-info .file-info-item {
    color: #666;
}

.light .note {
    color: #666;
}

.light a {
    color: #0066cc;
}

.light details {
    background-color: #f9f9f9;
    border-color: #ddd;
}

.light main summary {
    color: #333 !important;
}

.light main details p {
    color: #333 !important;
}

.light footer {
    background-color: #e0e0e0;
    border-top-color: #ccc;
}

.light footer p {
    color: #333;
}

.light footer p a {
    color: #9370db;
}

.light footer p a:hover {
    color: #7b68ee;
}

.light #lang-switch, .light #theme-switch, .light #admin-btn {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ccc;
}

.light #lang-switch:hover, .light #theme-switch:hover, .light #admin-btn:hover {
    background-color: #ccc;
}

.light ::-webkit-scrollbar {
    background: #e0e0e0;
}

.light ::-webkit-scrollbar-thumb {
    background: #9370db;
}

.light ::-webkit-scrollbar-thumb:hover {
    background: #7b68ee;
}

.light ::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.light ::-webkit-scrollbar-corner {
    background: #f5f5f5;
}

/* Modern Tooltips */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    max-width: 300px;
    word-wrap: break-word;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.gallery div[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1px 16px 23px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    max-width: 300px;
    word-wrap: break-word;
    z-index: 1000;
    opacity: 1;
    display: block;
    text-align: center;
    line-height: 1.4;
}

[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.gallery div[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    top: calc(110% + 5px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 1;
}

header [data-tooltip]:hover::after {
    bottom: auto;
    top: 100%;
    left: -80px;
    transform: none;
}

header [data-tooltip]:hover::before {
    bottom: auto;
    top: calc(100% - 5px);
    left: 10px;
    transform: none;
}

.light [data-tooltip]:hover::after {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
}

.light .gallery div[data-tooltip]:hover::after {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
}

.light .gallery div[data-tooltip]:hover::before {
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffd700;
    }
    to {
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700, 0 0 40px #ffd700;
    }
}

@keyframes glow-light {
    from {
        text-shadow: 0 0 5px #9370db, 0 0 10px #9370db, 0 0 15px #9370db;
    }
    to {
        text-shadow: 0 0 10px #9370db, 0 0 20px #9370db, 0 0 30px #9370db, 0 0 40px #9370db;
    }
}

/* Code styling */
code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #ffd700;
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #e0e0e0;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.light code {
    background-color: rgba(0, 0, 0, 0.1);
    color: #32cd32;
}

.light pre {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

.light pre code {
    color: inherit;
}

.light .latest-changelog summary {
    color: #9370db !important; /* Purple for light theme */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    header h1 {
        font-size: 1.3em;
        word-break: break-word;
    }

    header p {
        font-size: 0.95em;
        word-break: break-word;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 10px 0;
    }

    nav a {
        margin: 0;
        padding: 8px 0;
        font-size: 1.1em;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    #lang-switch, #theme-switch, #admin-btn {
        position: static;
        width: 40px;
        height: 30px;
        margin: 5px 2px;
        display: inline-block;
        vertical-align: top;
    }

    main {
        margin: 0 2px;
        padding: 6px;
    }

    .download-link {
        font-size: 1em;
        padding-right: 0;
        display: block;
        margin-bottom: 5px;
        word-break: break-word;
    }

    .downloads {
        position: static;
        text-align: right;
        margin-top: 5px;
    }

    .additional-info {
        margin-left: 0;
    }

    .file-info-item {
        font-size: 0.8em;
        word-break: break-all;
    }

    h2 {
        font-size: 1.1em;
    }

    section {
        margin-bottom: 16px;
    }

    /* Optional: Verhindere horizontales Scrollen */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Known Bugs responsive */
    #known-bugs {
        padding: 6px;
    }

    .bug-panel {
        width: 100%;
        min-width: unset;
    }

    footer {
        padding: 4px 8px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    footer p {
        text-align: center;
        white-space: normal;
        font-size: 0.95em;
        margin: 0;
        line-height: 1.3;
        word-break: break-word;
        display: block;
    }

    footer a[title],
    footer a[href*="spin.de"] {
        position: static !important;
        display: block;
        text-align: center;
        margin: 6px auto 0 auto;
        width: fit-content;
    }
}

/* Additional mobile adjustments for tooltips */
@media (max-width: 480px) {
    [data-tooltip]:hover::after {
        left: 0;
        transform: none;
        max-width: calc(100vw - 20px);
        white-space: normal;
        word-wrap: break-word;
    }

    .gallery div[data-tooltip]:hover::after {
        left: 0;
        transform: none;
        max-width: calc(100vw - 20px);
    }

    [data-tooltip]:hover::before {
        left: 10px;
        transform: none;
    }

    .gallery div[data-tooltip]:hover::before {
        left: 10px;
        transform: none;
    }

    header [data-tooltip]:hover::after {
        left: 0;
        top: 100%;
        transform: none;
    }

    header [data-tooltip]:hover::before {
        left: 10px;
        top: calc(100% - 5px);
        transform: none;
    }
}

/* Badge for latest release */
.badge {
    background-color: #32cd32; /* Green */
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
}

.light .badge {
    background-color: #32cd32; /* Green for light mode */
    color: #fff;
}

/* Reactions styling */
.reactions {
    font-size: 0.9em;
    color: #ccc;
}

.light .reactions {
    color: #666;
}

/* Bug Report Modal */
#bug-modal-content {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    line-height: 1.6;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.light #bug-modal-content {
    color: white !important;
}

#bug-modal-content h2 {
    color: #ffd700;
    margin-bottom: 20px;
}

#bug-form label {
    display: block;
    margin-top: 10px;
    color: #e0e0e0;
}

#bug-form textarea {
    width: 100%;
    height: 120px;
    padding: 8px;
    margin-top: 5px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 4px;
    resize: vertical;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    box-sizing: border-box;
}

#bug-form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    box-sizing: border-box;
}

#bug-form textarea:-webkit-autofill, #bug-form input[type="text"]:-webkit-autofill, #bug-form input[type="file"]:-webkit-autofill {
    background-color: #333 !important;
    color: #e0e0e0 !important;
    box-shadow: 0 0 0px 1000px #333 inset !important;
    -webkit-text-fill-color: #e0e0e0 !important;
}

#bug-form button {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #ffd700;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
}

#add-screenshot-btn {
    background-color: #4CAF50; /* Green */
    color: white;
}

#add-log-btn {
    background-color: #2196F3; /* Blue */
    color: white;
}

#bug-form button[type="submit"] {
    background-color: #4CAF50; /* Green */
    color: white;
    margin-top: 20px;
    padding: 10px 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#bug-form button:hover {
    opacity: 0.8;
}

#admin-form {
    padding: 10px;
}

#admin-form label {
    display: block;
    margin-top: 15px;
    color: #e0e0e0;
    font-weight: bold;
}

#admin-form input[type="text"], #admin-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    box-sizing: border-box;
}

#admin-form input[type="text"]:-webkit-autofill, #admin-form input[type="password"]:-webkit-autofill {
    background-color: #333 !important;
    color: #e0e0e0 !important;
    box-shadow: 0 0 0px 1000px #333 inset !important;
    -webkit-text-fill-color: #e0e0e0 !important;
}

#admin-form button[type="submit"] {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50; /* Green */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#admin-form button:hover {
    opacity: 0.8;
}

.light #admin-form label {
    color: #333;
}

.light #admin-form input[type="text"], .light #admin-form input[type="password"] {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ccc;
}

.light #admin-form input[type="text"]:-webkit-autofill, .light #admin-form input[type="password"]:-webkit-autofill {
    background-color: #e0e0e0 !important;
    color: #333 !important;
    box-shadow: 0 0 0px 1000px #e0e0e0 inset !important;
    -webkit-text-fill-color: #333 !important;
}

.light #admin-form button[type="submit"] {
    background-color: #4CAF50;
    color: white;
}

.remove-btn {
    background-color: #f44336 !important; /* Red */
    color: white !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 12px;
}

/* File list panels */
#screenshots-list li, #logs-list li {
    border: 1px solid #555;
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-height: 50px;
}

.light #bug-form textarea:-webkit-autofill, .light #bug-form input[type="text"]:-webkit-autofill, .light #bug-form input[type="file"]:-webkit-autofill {
    background-color: #e0e0e0 !important;
    color: #333 !important;
    box-shadow: 0 0 0px 1000px #e0e0e0 inset !important;
    -webkit-text-fill-color: #333 !important;
}

.light #screenshots-list li:nth-child(odd), .light #logs-list li:nth-child(odd) {
    background-color: rgba(160, 160, 160, 0.6);
}

.light #screenshots-list li:nth-child(even), .light #logs-list li:nth-child(even) {
    background-color: rgba(120, 120, 120, 0.6);
}

.light #bug-form label {
    color: #333;
}

.light #bug-form textarea {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ccc;
}

.light #bug-form input[type="text"] {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ccc;
}

#bug-form button:hover {
    background-color: #e0a000;
}

/* Older changelogs styling */
#changelogs-container details summary {
    font-size: 0.9em;
    color: #888;
    font-weight: normal;
}

.light #changelogs-container details summary {
    color: #666;
}

.older-releases-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.older-releases-row a {
    color: #32cd32;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.older-releases-row a:hover {
    background-color: #333;
    text-decoration: none;
}

.light .older-releases-row a {
    color: #0066cc;
    border-color: #ccc;
}

.light .older-releases-row a:hover {
    background-color: #f0f0f0;
}

.older-releases-title {
    color: #ffd700;
}

.light #changelogs-container .older-releases-title {
    color: #9370db;
}

/* FAQ styling - smaller font */
#faq details summary,
#faq details p {
    font-size: 0.9em;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e1e;
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 1;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    padding: 5px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #e0e0e0;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #333;
}

.light .dropdown-content {
    background-color: #f9f9f9;
    border-color: #ccc;
}

.light .dropdown-content a {
    color: #333;
}

.light .dropdown-content a:hover {
    background-color: #e0e0e0;
}

/* Known Bugs */
#known-bugs {
    margin-bottom: 40px;
}

#known-bugs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bug-panel {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    width: calc(33% - 20px);
    min-width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.bug-panel.unfixed {
    border-left: 5px solid #ff0000;
}

.bug-panel.inprogress {
    border-left: 5px solid #ffff00;
}

.bug-panel.fixed {
    border-left: 5px solid #00ff00;
}

.bug-panel h3 {
    margin-top: 0;
    color: #ffd700;
}

.bug-panel p {
    margin: 5px 0;
}

.light .bug-panel {
    background-color: #f9f9f9;
    border-color: #ccc;
    color: #333;
}

.light .bug-panel.unfixed {
    border-left-color: #ff0000;
}

.light .bug-panel.inprogress {
    border-left-color: #ffff00;
}

.light .bug-panel.fixed {
    border-left-color: #00ff00;
}