/*
// Compress CSS
// DO NOT COMPRESS ROOT
*/

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Fira+Code&family=IBM+Plex+Mono&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Global Styles */
*, *::before, *::after { box-sizing: inherit; }
:root {
    --bg-color: #0a0a0a;
    --text-color: #00ff00;
    --topic-color: #00ffff;
    --heading-color: #ffbf00;
    --border-color: #008000;
    --button-bg-color: #004d00;
    --inner-border-color: #00ffff;
    --inner-shadow-color: rgba(0, 255, 255, 0.7);
    --button-hover-bg-color: #006600;
    --delete-button-bg-color: #800000;
    --delete-button-hover-bg-color: #b30000;
    --pin-button-bg-color: #4b0082;
    --compressed_replies_text: #666666;
    --pin-button-hover-bg-color: #6a0dad;
    --lock-button-bg-color: #E18B00;
    --lock-button-hover-bg-color: #D08D00;
    --form-bg-color: #1a1a1a;
    --error-color: #ff4040;
    --success-color: #00cc00;
    --shadow-color: rgba(0, 255, 0, 0.3);
    --heading-shadow-color: rgba(255, 0, 0, 0.5);
    --post-bg-color: #0d0d0d;
    --post-inner-border: #004d00;
    --separator-color: #003300;
}

/* Layout Containers */
.forum_main_wrapper { color: var(--text-color); display: flex; justify-content: center; align-items: flex-start; border-radius: 10px; }
.mf_container { border-radius: 10px; padding: 15px; width: 100%; box-sizing: border-box; font-weight: normal; }
.mf_container h1, .mf_container h2, .mf_container h3 { color: var(--heading-color); text-shadow: 0 0 8px var(--heading-shadow-color); border-bottom: 2px dashed var(--border-color); padding-bottom: 10px; margin: 0 0 15px; text-transform: uppercase; text-align: left; }
.mf_container h1 { font-size: 2.5em; }
.mf_container h2 { font-size: 1.8em; }
.mf_container h3 { font-size: 1.4em; }
.mf_container a { color: var(--topic-color); text-decoration: none; }
.mf_container a:hover { text-decoration: underline; color: var(--text-color); }

/* Header */
.mf_forum_header { text-align: left; margin-bottom: 30px; }

/* User Status */
.mf_user_status { text-align: left; margin-bottom: -5px; padding: 15px; border: 1px dashed var(--border-color); border-radius: 6px; background-color: var(--form-bg-color); display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 15px; box-shadow: inset 0 0 5px var(--shadow-color); }
.mf_user_status span { flex-grow: 1; text-align: left; font-size: 0.95em; }

/* Form Section */
.mf_form_section { background-color: var(--form-bg-color); padding: 20px; border: 1px dashed var(--border-color); border-radius: 6px; margin-top: 25px; box-shadow: inset 0 0 5px var(--shadow-color); text-align: left; }
.mf_form_section label { display: block; margin-bottom: 8px; color: var(--heading-color); font-weight: bold; text-transform: uppercase; font-size: 0.9em; }
.mf_form_section input[type="text"], .mf_form_section input[type="password"], .mf_form_section textarea { width: 100%; padding: 5px; margin-bottom: 18px; border: 1px solid var(--border-color); background-color: var(--bg-color); color: var(--text-color); border-radius: 4px; font-family: 'VT323', monospace; font-size: 1.5em; box-sizing: border-box; outline: none; box-shadow: inset 0 0 3px var(--shadow-color); }
.mf_form_section input[type="text"]:focus, .mf_form_section input[type="password"]:focus, .mf_form_section textarea:focus { border-color: var(--inner-border-color); box-shadow: inset 0 0 5px var(--heading-shadow-color), 0 0 5px var(--heading-shadow-color); }
.mf_form_section textarea { resize: vertical; min-height: 120px; }
.mf_form_buttons { display: flex; align-items: center; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.mf_form_buttons #mf_bbcode_button { margin-left: auto; }

/* Buttons */
.mf_button { background-color: var(--button-bg-color); color: var(--text-color); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 4px; cursor: pointer; font-family: 'VT323', monospace; font-size: 1em; text-transform: uppercase; text-decoration: none; display: inline-block; margin-right: 0; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; box-shadow: 0 0 5px var(--shadow-color); text-align: center; white-space: nowrap; }
.mf_button:hover { background-color: var(--button-hover-bg-color); color: var(--heading-color); box-shadow: 0 0 8px var(--inner-shadow-color); }
.mf_button_delete, .mf_button_delete_icon { background-color: var(--delete-button-bg-color); border-color: var(--error-color); box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
.mf_button_delete:hover, .mf_button_delete_icon:hover { background-color: var(--delete-button-hover-bg-color); color: #fff; box-shadow: 0 0 8px rgba(255, 0, 0, 0.8); }
.mf_button_pin_icon { background-color: var(--pin-button-bg-color); border-color: #9932cc; box-shadow: 0 0 5px rgba(75, 0, 130, 0.5); }
.mf_button_pin_icon:hover { background-color: var(--pin-button-hover-bg-color); color: #fff; box-shadow: 0 0 8px rgba(75, 0, 130, 0.8); }
.mf_button_lock_icon { background-color: var(--lock-button-bg-color); border-color: #E18B00; }
.mf_button_lock_icon:hover { background-color: var(--lock-button-hover-bg-color); }
.mf_button_nav_icon { font-size: 1.40em; }
.mf_button_back { background-color: saddlebrown; border: 1px solid #a15c16;}
.mf_button_back:hover { background-color: #a15016; }
.mf_quote_button { background-color: var(--button-bg-color); }
.mf_quote_button:hover { background-color: var(--button-hover-bg-color); }
.mf_small_button { padding: 6px 12px; font-size: 0.8em; }
.mf_button_group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; justify-content: flex-start; }
.mf_nav_buttons { display: flex; justify-content: space-between; }
.mf_nav_buttons .mf_button { flex-grow: 1; margin: 0 5px; text-align: center; }
.mf_nav_buttons .mf_button:first-child { margin-left: 0; }
.mf_nav_buttons .mf_button:last-child { margin-right: 0; }

/* Indicators */
.mf_pinned_indicator { color: #9932cc; font-weight: bold; font-size: 1.1em; margin-right: -3px; vertical-align: middle; position: relative; top: 0; }
.mf_locked_indicator { color: #ffbf00; font-weight: bold; font-size: 1em; margin-right: -3px; vertical-align: middle; position: relative; top: -2px; }
.mf_collapse_indicator, .mf_expand_indicator { color: var(--heading-color); font-size: 1.1em; display: inline-block; margin-right: -5px; position: relative; top: 2px; }
.mf_reply_indicator { color: var(--heading-color); font-size: 1.2em; display: inline-block; margin-right: -5px; }
.mf_new_indicator { color: var(--error-color); font-weight: bold; font-size: 0.8em; margin-right: -3px; vertical-align: middle; position: relative; top: -2px; }
.mf_edited_indicator { color: #ffa500; font-style: italic; font-size: 0.9em; }

/* Collapse Replies */
.mf_collapse_replies { color: var(--compressed_replies_text); margin-top: -10px; cursor: pointer; text-decoration: none; display: inline-block; }
.mf_collapse_replies .mf_new_indicator { cursor: pointer; }

/* Posts */
.mf_post_list { margin-top: 30px; background-color: var(--post-bg-color); border: 1px dashed var(--border-color); border-radius: 6px; padding: 15px; box-shadow: inset 0 0 5px var(--shadow-color); text-align: left; }
.mf_post_item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.mf_post_item_header { color: var(--heading-color); }
.mf_post_subject { color: var(--topic-color); text-decoration: none; font-weight: bold; font-size: 1.1em; text-shadow: 0 0 3px var(--heading-shadow-color); }
.mf_post_subject:hover { text-decoration: underline; color: var(--text-color); }
.mf_post_subject_full { font-size: 1.5em; text-shadow: 0 0 5px var(--heading-shadow-color); }
.mf_post_meta { font-size: 0.8em; color: #999; display: inline-block; }
.mf_post_item_message { white-space: pre-line; line-height: 1.25; margin-bottom: 30px; margin-top: 15px ;border-top: 2px dashed var(--border-color); }
.mf_post_replies { margin-top: -7px; }
.mf_post_replies .mf_post_item + .mf_post_item { margin-top: -8px; }
.mf_post_actions { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; flex-wrap: wrap; gap: 10px; }
.mf_post_actions_left, .mf_post_actions_right { display: flex; gap: 10px; flex-wrap: wrap; }
.mf_main_view_post .mf_post_item { margin-bottom: 15px; padding-bottom: 15px; }
.mf_main_view_post .mf_pinned_indicator { font-size: 1.3em; vertical-align: middle; position: relative; top: -3px; }
.mf_main_view_post .mf_locked_indicator { font-size: 1.2em; vertical-align: middle; position: relative; top: -4px; }
.mf_main_view_post .mf_new_indicator { font-size: 1.1em; vertical-align: middle; position: relative; top: -3px; }
.mf_main_view_post .mf_post_item:last-child { border-bottom: 2px dashed var(--border-color); }

/* BBCode */
.mf_bbcode_custom_list { margin: 0; padding: 0; list-style: none; white-space: normal; }
.mf_bbcode_list_item_wrapper { display: flex; align-items: flex-start; }
.mf_bbcode_list_bullet_unordered, .mf_bbcode_list_bullet_ordered { margin-right: 0.5em; flex-shrink: 0; text-align: left; color: var(--text-color); }
.mf_bbcode_quote { font-weight: bold; margin-bottom: 5px; }
.mf_bbcode_spoiler { background-color: #333; color: #333; cursor: help; padding: 2px 5px; border-radius: 3px; user-select: none; transition: color 0.3s ease, background-color 0.3s ease; }
.mf_bbcode_spoiler:hover { background-color: var(--post-bg-color); color: var(--text-color); }
.mf_bbcode_code { background-color: #000; border: 1px dashed var(--border-color); padding: 10px; margin: 10px 0; white-space: pre-wrap; word-break: break-all; overflow-x: auto; border-radius: 4px; box-shadow: inset 0 0 5px var(--shadow-color); color: #00ffcc; }
.bbcode-item { display: flex; align-items: flex-start; cursor: pointer; padding: 5px 7px; border-bottom: 1px dashed #eee; transition: background-color 0.2s ease; }
.bbcode-item:hover { background-color: #e9e9e9; }
.bbcode-item:last-child { border-bottom: none; }
.bbcode-tag { font-weight: bold; color: var(--heading-color); font-family: monospace; flex-shrink: 0; width: 110px; box-sizing: border-box; }
.bbcode-description { font-size: 0.9em; color: var(--text-color); flex-grow: 1; }

/* Dropdown */
.mf_security_select { background-color: var(--background-color, #1a1a1a); color: var(--text-color, #d3d3d3); border: 1px solid var(--border-color, #333); border-radius: 10px; padding: 10px; margin-bottom: 10px; font-size: 0.9em; width: 100%; max-width: 26em; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d3d3d3' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.5em center; background-size: 1em; }
.mf_security_select:hover { background-color: var(--hover-background, #2a2a2a); border-color: var(--hover-border, #444); }
.mf_security_select:focus { outline: none; border-color: var(--focus-border, #666); box-shadow: 0 0 5px var(--focus-shadow, #666); }
.mf_security_select option { background-color: var(--background-color, #1a1a1a); color: var(--text-color, #d3d3d3); }
.mf_security_select option[value=""] { color: var(--placeholder-color, #888); }
.mf_security_select::-ms-expand { display: none; }

/* Error and Success */
.mf_error { color: var(--error-color); background-color: #330000; border: 1px dashed var(--error-color); padding: 12px; margin-bottom: 20px; border-radius: 6px; box-shadow: inset 0 0 5px rgba(255, 0, 0, 0.3); text-align: left; }
.mf_success { color: var(--success-color); background-color: #003300; border: 1px dashed var(--success-color); padding: 12px; margin-bottom: 20px; border-radius: 6px; box-shadow: inset 0 0 5px rgba(0, 204, 0, 0.3); text-align: left; }

/* Pagination */
.mf_pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; font-family: 'VT323', monospace; font-size: 1.1em; }
.mf_pagination_button { background-color: var(--button-bg-color); color: var(--text-color); border: 1px solid var(--border-color); padding: 4px 12px; border-radius: 4px; text-decoration: none; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; box-shadow: 0 0 5px var(--shadow-color); }
.mf_pagination_button:hover { background-color: var(--button-hover-bg-color); color: var(--heading-color); box-shadow: 0 0 8px var(--inner-shadow-color); }
.mf_pagination_current { background-color: var(--button-hover-bg-color); color: var(--heading-color); border: 1px solid var(--inner-border-color); padding: 8px 12px; border-radius: 4px; box-shadow: 0 0 8px var(--inner-shadow-color); }
.mf_pagination_chevron { font-size: 1.2em; padding: 8px 10px; }
.mf_pagination_disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.mf_pagination_ellipsis { color: var(--text-color); padding: 0; }

/* Utility Classes */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.mf_password_requirements { margin-bottom: 15px; }
#mf_edit_subject, #mf_post_subject, #mf_reg_password, #mf_log_username, #mf_security_ans_1, #mf_security_ans_2, #mf_security_ans_3, #mf_new_password { margin-bottom: 15px; }

/* Popup */
#mf_bbcode_popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #323232; border: 1px solid #ccc; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); padding: 20px; z-index: 1001; max-height: 90vh; max-width: 600px; overflow-y: auto; border-radius: 8px; min-width: 300px; text-align: left; }
#mf_bbcode_overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }

/* Media Queries */
@media (max-width: 1000px) {
    .mf_collapse_replies { margin-top: -3px; }
    .mf_collapse_indicator, .mf_expand_indicator { font-size: 1.3em; top: 0; }
    .mf_post_item { margin-top: -3px; }
    .mf_pinned_indicator { font-size: 1.2em; top: -2px; }
    .mf_main_view_post .mf_pinned_indicator { font-size: 1.5em; top: -4px; }
    .mf_main_view_post .mf_locked_indicator { font-size: 1.4em; }
    .mf_post_item_message { margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .mf_main_view_post .mf_post_item_message { margin-top: 15px; }
    .mf_collapse_replies { margin-top: -3px; }
    .mf_container { margin: 5px; }
    .mf_container h1 { font-size: 2em; }
    .mf_container h2 { font-size: 1.5em; }
    .mf_container h3 { font-size: 1.2em; }
    .mf_user_status { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
    .mf_button_group { flex-direction: column; gap: 8px; width: 100%; }
    .mf_button { width: 100%; margin: 5px 0 0 0; }
    .mf_button_delete { margin-bottom: 10px; }
    .mf_post_item_header { margin-top: 5px; }
    .mf_post_actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .mf_post_actions_left { flex-direction: row; justify-content: flex-start; width: 100%; }
    .mf_post_actions .mf_button { width: 100%; margin-left: 0; margin-right: 0; }
    .mf_post_actions_left .mf_button { width: auto; flex-grow: 1; margin-right: 5px; }
    .mf_post_actions_left .mf_button:last-child { margin-right: 0; }
    .bbcode-tag { width: 90px; }
    #mf_bbcode_popup { left: 48.5%; max-width: 325px; }
    .mf_pagination { flex-wrap: wrap; gap: 5px; font-size: 1em; }
    .mf_pagination_button, .mf_pagination_current, .mf_pagination_chevron { padding: 4px 12px; box-shadow: none; color: var(--topic-color); text-decoration: underline; }
    .mf_pagination_disabled { color: var(--text-color); opacity: 0.5; text-decoration: none; }
}

/* Artifact Tracking
// artifact_id: 9c02cf73-5511-415a-a437-c771de7c5494
*/
