body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #333333; /* Grey background like the old site */
    color: #ffffff; /* White text for contrast */
}
.header {
    padding: 10px;
    background-color: #444444; /* Slightly lighter grey for header */
    overflow: visible;
    position: relative;
}
.site-title {
    margin: 0;
    font-size: 24px;
}
.site-title a {
    color: #00FF00; /* Green accent like the old site */
    text-decoration: none;
}
.navbar {
    background-color: #00FF00; /* Green navbar */
    overflow: visible;
}
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.navbar li {
    position: relative;
}
.navbar a {
    display: block;
    color: #000000; /* Black text on green background */
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.navbar li:hover > a {
    background-color: #009900; /* Darker green on hover */
}
.navbar .dropdown-content {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #00FF00; /* Green dropdown */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
}
.navbar .dropdown-content a {
    color: #000000; /* Black text in dropdown */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.navbar .dropdown-content a:hover {
    background-color: #009900; /* Darker green on hover */
}
.navbar li:hover .dropdown-content {
    display: block !important;
}
.upload-section {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffffff; /* White text for contrast */
}
.upload-section a {
    color: #00FF00; /* Green links */
    text-decoration: none;
    margin: 0 5px;
}
.upload-section a:hover {
    color: #009900; /* Darker green on hover */
}
.upload-item {
    margin-left: auto;
}
.tab.active {
    background-color: #009900; /* Darker green */
    color: #000000;
}
.tab {
    background-color: #00FF00; /* Regular green */
    color: #ffffff;
}
.content-box {
    background-color: #444444; /* Grey box for content area */
    padding: 20px;
    margin: 20px;
    border: 2px solid #00FF00; /* Green border */
    border-radius: 5px;
}
.content-box h2 {
    color: #00FF00; /* Green title */
}
.content-box input[type="text"],
.content-box textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #555555; /* Darker grey input background */
    border: 1px solid #00FF00; /* Green border */
    color: #ffffff; /* White text */
}
.content-box button {
    background-color: #00FF00; /* Green button */
    color: #000000; /* Black text */
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
.content-box button:hover {
    background-color: #009900; /* Darker green on hover */
}
footer {
    background-color: #444444;
    padding: 10px;
    text-align: center;
    color: #ffffff;
}
footer a {
    color: #00FF00;
    text-decoration: none;
}

/* New Styles for Links and Buttons */
.delete-btn, .perm-delete-btn, .reply-btn, .submit-reply-btn {
    background-color: #ff4444; /* Red background for delete actions */
    color: #ffffff; /* White text */
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}
.delete-btn:hover, .perm-delete-btn:hover {
    background-color: #cc0000; /* Darker red on hover */
}
.reply-btn {
    background-color: #00FF00; /* Green background for reply */
    color: #000000; /* Black text */
}
.reply-btn:hover {
    background-color: #009900; /* Darker green on hover */
}
.submit-reply-btn {
    background-color: #00FF00; /* Green background for submit */
    color: #000000; /* Black text */
}
.submit-reply-btn:hover {
    background-color: #009900; /* Darker green on hover */
}
.direct-link {
    color: #00FF00; /* Green link */
    text-decoration: none;
    margin-left: 10px;
}
.direct-link:hover {
    color: #009900; /* Darker green on hover */
}
.reply-form {
    margin-top: 10px;
}
.reply-textarea {
    width: 100%;
    max-width: 500px;
    min-height: 80px;
    background-color: #555555;
    border: 1px solid #00FF00;
    color: #ffffff;
    padding: 10px;
    resize: vertical;
}
.upload-section .username-link, .upload-section .mod-panel-link {
    color: #00FF00; /* Green for username and mod panel */
    text-decoration: none;
    margin-right: 10px;
}
.upload-section .username-link:hover, .upload-section .mod-panel-link:hover {
    color: #009900; /* Darker green on hover */
}

/* Existing styles from your provided style.css remain unchanged... */

/* Add these new styles for upload.html */
.thumbnail-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}
.thumbnail-content {
    background: #444;
    padding: 20px;
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    position: relative;
}
.thumbnail-preview {
    max-width: 100%;
    max-height: 400px;
    display: block;
    margin: 20px auto;
}
.cropper-container {
    max-width: 100%;
    max-height: 400px;
    margin: 20px auto;
}
.cropper-controls {
    margin: 10px 0;
}
.tab-container {
    display: flex;
    margin-bottom: 20px;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #00FF00;
    color: #ffffff;
    border: 1px solid #009900;
    margin-right: 5px;
}
.tab.active {
    background-color: #009900;
    color: #000000;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.content-textarea {
    background-color: #555555;
    border: 1px solid #00FF00;
    color: #ffffff;
    width: 100%;
    min-height: 100px;
    display: block;
    resize: vertical;
}
#editor-container {
    background-color: #555555;
    border: 1px solid #00FF00;
    color: #ffffff;
    width: 100%;
    min-height: 100px;
    display: block;
}
.prosemirror-editor {
    padding: 10px;
    outline: none;
}


/* Markdown Link Styling (Darker Green) */
.markdown-body a {
    color: #00cc00 !important; /* Darker than the neon #00ff00 */
    text-decoration: underline;
    font-weight: bold;
}
.markdown-body a:hover {
    color: #00ff00 !important; /* Glow on hover */
}

/* Announcement Link Styling */
.announcement-box a {
    color: #00cc00 !important;
    font-weight: bold;
    text-decoration: underline;
}

/* ... existing CSS ... */

/* --- PHPBB STYLE FORUM CSS --- */

.forum-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: "Verdana", Helvetica, Arial, sans-serif;
}

.forum-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #009900;
    padding-bottom: 10px;
}

/* Category Box - Matches HTML class 'forum-category' */
.forum-category {
    margin-bottom: 20px;
    background-color: #1a1a1a;
    border: 1px solid #004d00;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Category Header - Matches HTML class 'cat-header' */
.cat-header {
    background: linear-gradient(to bottom, #006600 0%, #004d00 100%);
    padding: 10px 15px;
    border-bottom: 1px solid #00cc00;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 1px 1px 2px #000;
}

/* Forum Table */
.forum-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #121212;
}

.forum-table th {
    background-color: #0d0d0d;
    color: #888;
    font-size: 11px;
    text-align: left;
    padding: 6px 10px;
    border-bottom: 1px solid #333;
    font-weight: normal;
    text-transform: uppercase;
}

.forum-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: middle;
}

.forum-table tr:last-child td {
    border-bottom: none;
}

.forum-table tr:hover {
    background-color: #1f1f1f;
}

/* Columns */
.col-icon {
    width: 50px;
    text-align: center;
}

/* ICON FIX - Matches HTML class 'forum-icon' */
.forum-icon {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    filter: grayscale(100%);
    object-fit: contain; /* Ensures logo fits in box */
}

/* Hover effect for the row makes icon colorized */
.forum-table tr:hover .forum-icon {
    filter: grayscale(0%);
    opacity: 1;
}

.col-forum {
    width: 60%;
}

.col-stats {
    width: 15%;
    text-align: center;
    font-size: 12px;
    color: #aaa;
    border-left: 1px solid #222;
    border-right: 1px solid #222;
}

.col-last {
    width: 20%;
    font-size: 12px;
    padding-left: 15px !important;
}

/* Typography */
.forum-title {
    font-size: 16px;
    font-weight: bold;
    color: #00ff00;
    text-decoration: none;
}

.forum-title:hover {
    color: #66ff66;
    text-decoration: underline;
}

.forum-desc {
    font-size: 12px;
    color: #ccc;
    margin-top: 4px;
}

/* Buttons */
.btn-green {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(to bottom, #009900 0%, #006600 100%);
    color: white;
    text-decoration: none;
    border: 1px solid #00ff00;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
}

.btn-small {
    font-size: 10px;
    padding: 2px 5px;
    background-color: #333;
    border: 1px solid #555;
    color: #ddd;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
}
.btn-small:hover {
    background-color: #555;
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    padding: 10px 0;
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: #ccc;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #00ff00;
}


/* Button & UI Styling */
.btn-pill {
    background: #333;
    border: 1px solid #444;
    color: white !important; /* Force white text */
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pill:hover {
    background: #444;
    border-color: #00ff00;
}

/* Green Save Button */
.btn-save {
    background: #00ff00 !important;
    color: black !important; /* Black text on green background */
    border: none;
}

.btn-save:hover {
    background: #00cc00 !important;
}

/* Force Production Update v2 */