﻿/* public/css/style.css */
/* TRON Legacy Theme - Complete */

/* === 1. Global Styles === */
body {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 16px;
    background-color: #0a0e27;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 255, 255, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 255, 255, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    color: #00ffff;
    margin: 0;
    padding: 0;
    padding-bottom: 40px;
}

a {
    color: #00d9ff;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.5);
    transition: all 0.3s ease;
}
a:visited {
    color: #0099cc;
}
a:hover {
    color: #00ffff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.4);
}
a:active {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* === 2. TRON Layout (Window, Nav, Footer) === */
.window {
    background-color: rgba(10, 14, 39, 0.95);
    border: 2px solid #00ffff;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    min-width: 300px;
    max-width: 95%;
    width: 95%;
    margin: 20px auto;
    position: relative;
}

.window::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.window:hover::before {
    opacity: 0.3;
}

.window-title-bar {
    background: linear-gradient(90deg, #001a33, #003366, #001a33);
    border-bottom: 2px solid #00ffff;
    color: #00ffff;
    padding: 8px 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.window-title-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.window-title-bar .title {
    padding-left: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.window-content {
    padding: 15px;
    background-color: rgba(0, 10, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    margin: 3px;
}

.window-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #001a33, #000d1a);
    border-top: 2px solid #00ffff;
    box-shadow: 0 -5px 20px rgba(0, 255, 255, 0.3);
    padding: 8px;
    text-align: left;
    font-size: 14px;
    color: #00ffff;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.window-footer span {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
.footer-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}
.footer-button {
    font-family: 'Courier New', 'Consolas', monospace;
    background-color: rgba(0, 30, 60, 0.8);
    border: 2px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    padding: 6px 14px;
    min-width: 80px;
    cursor: pointer;
    text-decoration: none;
    color: #00ffff;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.footer-button:visited {
    color: #00ffff;
}
.footer-button:hover {
    text-decoration: none;
    background-color: rgba(0, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 10px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 255, 255, 1);
}
.footer-button:active {
    background-color: rgba(255, 0, 255, 0.3);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
    color: #ff00ff;
}
.footer-text {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* === Movable Launchpad === */
#launchpad {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgba(10, 14, 39, 0.95);
    border: 2px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    z-index: 101;
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 150px;
}
#launchpad-header {
    width: 100%;
    height: auto;
    padding: 8px 12px;
    background: linear-gradient(90deg, #001a33, #003366, #001a33);
    cursor: move;
    color: #00ffff;
    box-sizing: border-box;
    text-align: left;
    border-bottom: 1px solid #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}
#launchpad-header h3 {
    margin: 0;
    font-size: 16px;
    padding-left: 0;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.launchpad-content {
    display: flex;
    flex-direction: row;
    padding: 4px;
    justify-content: flex-start;
    align-items: center;
    background: rgba(0, 10, 20, 0.8);
}
.launchpad-button {
    background-color: rgba(255, 100, 0, 0.6);
    border: 2px solid #ff6400;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.3);
    margin: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.launchpad-button:hover {
    background-color: rgba(255, 150, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 100, 0, 0.6);
}
.launchpad-button:active {
    background-color: rgba(255, 0, 255, 0.3);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}
.launchpad-button img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
}
/* Horizontal divider (between header and content) */
.launchpad-divider {
    width: 95%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    margin: 2px auto;
}
/* Vertical divider (within content) */
.vertical-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, #00ffff, transparent);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    margin: 4px 8px;
}


/* === 3. Form Elements === */
button, input[type="submit"], .edit-button {
    font-family: 'Courier New', 'Consolas', monospace;
    background-color: rgba(0, 30, 60, 0.8);
    border: 2px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    padding: 8px 12px;
    min-width: 80px;
    cursor: pointer;
    text-decoration: none;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
button:hover, input[type="submit"]:hover, .edit-button:hover {
    background-color: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 10px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 255, 255, 1);
}
button:active, input[type="submit"]:active, .edit-button:active {
    background-color: rgba(255, 0, 255, 0.3);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
    color: #ff00ff;
}

input[type="text"], input[type="password"], textarea, select {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), inset 0 0 5px rgba(0, 255, 255, 0.1);
    padding: 8px;
    background-color: rgba(0, 10, 30, 0.9);
    color: #00ffff;
    transition: all 0.3s ease;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 10px rgba(0, 255, 255, 0.2);
}
textarea {
    width: 95%;
    min-height: 300px;
}

/* === 4. Content Styling (Lists & Pages) === */

.page-list {
    list-style-type: none;
    padding-left: 0;
}
.page-list li {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    transition: all 0.3s ease;
}
.page-list li:hover {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.1));
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
.page-list li a {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
}
.page-list .meta {
    font-size: 0.8em;
    color: #0099cc;
    display: block;
    margin-top: 4px;
}

.page-body {
    background: rgba(0, 5, 15, 0.9);
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), inset 0 0 15px rgba(0, 255, 255, 0.05);
    padding: 20px;
    min-height: 200px;
    color: #b3e5fc;
}
.page-body h1, .page-body h2, .page-body h3 {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 8px;
    margin-top: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.page-body img {
    max-width: 100%;
    height: auto;
    border: 2px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}
.page-body code {
    background: rgba(0, 50, 100, 0.5);
    border: 1px solid #00ffff;
    padding: 3px 6px;
    color: #00ffff;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
.page-body pre {
    background: rgba(0, 10, 30, 0.9);
    border: 2px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
    padding: 15px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #00ffff;
}
.page-body pre code {
    background: transparent;
    border: none;
    padding: 0;
    font-size: inherit;
    box-shadow: none;
}
.page-body blockquote {
    border-left: 4px solid #00ffff;
    box-shadow: -5px 0 10px rgba(0, 255, 255, 0.2);
    padding-left: 15px;
    margin-left: 10px;
    font-style: italic;
    color: #b3e5fc;
}
.page-body table,
.profile-bio table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
    background: rgba(0, 10, 30, 0.9);
    border: 2px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    table-layout: auto;
}
.page-body table th,
.profile-bio table th {
    background: linear-gradient(180deg, rgba(0, 50, 100, 0.8), rgba(0, 30, 60, 0.8));
    border: 1px solid #00ffff;
    padding: 10px 12px;
    font-weight: bold;
    text-align: left;
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.page-body table td,
.profile-bio table td {
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 10px 12px;
    background: rgba(0, 10, 30, 0.7);
    color: #b3e5fc;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.page-body table tr:nth-child(even) td,
.profile-bio table tr:nth-child(even) td {
    background: rgba(0, 20, 40, 0.7);
}
.page-body table tr:hover td,
.profile-bio table tr:hover td {
    background: rgba(0, 255, 255, 0.1);
}
/* Table wrapper for horizontal scrolling when needed */
.page-body table,
.profile-bio table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.page-body table > thead,
.page-body table > tbody,
.page-body table > tfoot,
.profile-bio table > thead,
.profile-bio table > tbody,
.profile-bio table > tfoot {
    display: table;
    width: 100%;
}
.page-body table > thead > tr,
.page-body table > tbody > tr,
.page-body table > tfoot > tr,
.profile-bio table > thead > tr,
.profile-bio table > tbody > tr,
.profile-bio table > tfoot > tr {
    display: table-row;
}
.page-body table th,
.page-body table td,
.profile-bio table th,
.profile-bio table td {
    display: table-cell;
}

.page-meta {
    font-size: 0.9em;
    color: #0099cc;
}
.page-meta code {
     background: rgba(0, 50, 100, 0.5);
     border: 1px solid #00ffff;
     padding: 2px 5px;
     font-size: 0.9em;
     color: #00ffff;
}
.page-meta ul {
    font-size: 0.9em;
    max-height: 150px;
    overflow-y: auto;
    background: rgba(0, 10, 30, 0.9);
    border: 2px solid rgba(0, 255, 255, 0.5);
    padding: 10px;
}

/* Page Actions Bar & Buttons */
.page-actions-bar {
    overflow: auto;
    margin-bottom: 15px;
}
.edit-button {
    float: right;
    margin-bottom: 0;
    margin-left: 10px;
}
.print-button {
    float: right;
}


/* === 5. Admin & Notices === */

.notice-box {
    background: rgba(255, 150, 0, 0.1);
    border: 2px solid #ff9500;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
    padding: 12px;
    margin-bottom: 15px;
    color: #ffb84d;
}

.inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.delete-button, .delete-button-small {
    background-color: rgba(60, 0, 0, 0.8);
    color: #ff3366;
    border: 2px solid #ff3366;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
    font-weight: bold;
    transition: all 0.3s ease;
}
.delete-button:hover, .delete-button-small:hover {
    background-color: rgba(255, 51, 102, 0.2);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.6);
    text-shadow: 0 0 10px rgba(255, 51, 102, 1);
}
.delete-button:active, .delete-button-small:active {
    background-color: rgba(255, 0, 0, 0.4);
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}
.delete-button {
    padding: 8px 12px;
}

/* Small Buttons (Edit, Rename, Move, Delete) */
.edit-button-small,
.delete-button-small {
    font-family: 'Courier New', 'Consolas', monospace;
    background-color: rgba(0, 30, 60, 0.8);
    border: 1px solid #00ffff;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    padding: 2px 6px;
    font-size: 11px;
    min-width: 0;
    text-decoration: none;
    color: #00ffff;
    margin: 0;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.edit-button-small:hover {
    background-color: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}
.delete-button-small {
    background-color: rgba(60, 0, 0, 0.8);
    color: #ff3366;
    border-color: #ff3366;
    box-shadow: 0 0 5px rgba(255, 51, 102, 0.3);
}

.edit-button-small:active,
.delete-button-small:active {
    background-color: rgba(255, 0, 255, 0.3);
    border-color: #ff00ff;
}

.page-list-admin {
    list-style-type: none;
    padding-left: 0;
}
.page-list-admin li {
    background: linear-gradient(90deg, rgba(0, 30, 60, 0.5), rgba(0, 40, 80, 0.5));
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    padding: 12px;
    margin-bottom: 8px;
    overflow: auto;
    transition: all 0.3s ease;
}
.page-list-admin li:hover {
    background: linear-gradient(90deg, rgba(0, 40, 80, 0.6), rgba(0, 60, 100, 0.6));
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}
.page-list-admin .meta {
    font-size: 0.8em;
    color: #0099cc;
    display: block;
}

/* === 6. Profile Page Styles === */
.profile-header {
    overflow: auto;
    margin-bottom: 15px;
}
.profile-photo {
    float: left;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    background-color: rgba(0, 30, 60, 0.8);
}
.profile-username {
    margin: 0;
    padding-top: 5px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    letter-spacing: 2px;
}
.profile-tagline {
    font-style: italic;
    color: #b3e5fc;
    font-size: 1.1em;
}
.profile-bio {
    min-height: 100px;
    color: #b3e5fc;
}
.profile-photo-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}


/* === 7. Browser, Search & Breadcrumbs === */

.window-title-bar .title-button {
    display: inline-block;
    padding: 0 5px;
}
.window-title-bar .title-button img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
}
.window-title-bar .title a {
    color: #00ffff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}
.window-title-bar .title a:visited {
    color: #00d9ff;
}
.window-title-bar .title a:hover {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1);
}
.window-title-bar .title a:active {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.search-bar {
    background: linear-gradient(180deg, rgba(0, 30, 60, 0.8), rgba(0, 20, 40, 0.8));
    padding: 10px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.5);
}
.search-bar form {
    display: flex;
}
.search-bar input[type="text"] {
    flex-grow: 1;
    margin-right: 10px;
}

.browser-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 15px;
    background: rgba(0, 5, 15, 0.9);
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), inset 0 0 15px rgba(0, 255, 255, 0.05);
}
.browser-item {
    width: 100px;
    margin: 10px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.browser-item:hover {
    transform: translateY(-5px);
}
.browser-item .icon-link {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #00ffff;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.browser-item .icon-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}
.browser-icon {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 8px auto;
    filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3));
    transition: all 0.3s ease;
}
.browser-item:hover .browser-icon {
    filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.6));
}
.feature-image-icon {
    object-fit: cover;
    border: 2px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.item-name {
    display: block;
    font-size: 12px;
    word-wrap: break-word;
    height: 40px;
    overflow: hidden;
    color: #00ffff;
}
.item-actions {
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    height: 20px;
    line-height: 18px;
    display: flex;
    justify-content: center;
}
.item-actions form {
     margin: 0;
     padding: 0;
     line-height: inherit;
     display: inline;
}


.admin-forms {
    background: linear-gradient(180deg, rgba(0, 30, 60, 0.8), rgba(0, 20, 40, 0.8));
    padding: 15px;
    border-top: 2px solid rgba(0, 255, 255, 0.5);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.admin-forms form {
    display: flex;
}
.admin-forms input[type="text"] {
    margin-right: 10px;
}

/* === Style for broken UUID links === */
.broken-link {
    color: #ff3366;
    text-decoration: line-through;
    cursor: help;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
}
.broken-link:hover {
    text-decoration: line-through;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.8);
}


/* === 8. Responsive Design === */
@media (max-width: 768px) {

    body {
        padding-top: 58px;
        padding-bottom: 0;
        font-size: 18px;
    }

    #launchpad {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 58px;
        flex-direction: row;
        align-items: center;
        border: none;
        box-shadow: 0 2px 20px rgba(0, 255, 255, 0.5);
        background-color: rgba(10, 14, 39, 0.98);
        border-bottom: 2px solid #00ffff;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        box-sizing: border-box;
    }
    #launchpad-header {
        height: 100%;
        width: auto;
        border-right: 2px solid #00ffff;
        cursor: default;
        padding: 0 10px;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        background: linear-gradient(90deg, #001a33, #003366, #001a33);
        color: #00ffff;
    }
    #launchpad-header h3 {
        font-size: 18px;
        white-space: nowrap;
    }

    .launchpad-content {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 4px;
        width: auto;
    }
    .launchpad-divider {
        display: inline-block;
        height: 48px;
        width: 1px;
        margin: 4px 8px;
        background: linear-gradient(180deg, transparent, #00ffff, transparent);
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    }
    .launchpad-button {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    .launchpad-button img {
        width: 40px;
        height: 40px;
        filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
    }

    .window {
        width: 100%;
        margin: 0;
        border: 2px solid #00ffff;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
        padding-bottom: 20px;
        box-sizing: border-box;
    }
    .window-content {
        padding: 10px;
        background-color: rgba(0, 10, 20, 0.8);
        border: 1px solid rgba(0, 255, 255, 0.3);
    }
    .page-body {
        background: rgba(0, 5, 15, 0.9);
        border-color: rgba(0, 255, 255, 0.5);
    }
    .browser-container {
        background: rgba(0, 5, 15, 0.9);
        border-color: rgba(0, 255, 255, 0.5);
    }


    .window-footer {
        position: static;
        text-align: center;
        background: linear-gradient(180deg, #001a33, #000d1a);
        color: #00ffff;
        border-top: 2px solid #00ffff;
        flex-direction: column;
        gap: 8px;
    }
    .window-footer span {
        color: #00ffff;
    }
    .footer-buttons {
        justify-content: center;
        width: 100%;
    }
    .footer-text {
        text-align: center;
        width: 100%;
    }

    .browser-container {
        justify-content: space-around;
    }
    .browser-item {
        width: 85px;
        margin: 5px;
    }
    .browser-icon {
        width: 50px;
        height: 50px;
    }
    .item-name {
        height: 30px;
    }
    .item-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        height: auto;
        line-height: normal;
        margin-top: 5px;
    }
    .item-actions .edit-button-small,
    .item-actions .inline-form {
        margin: 0 1px;
        width: auto;
    }
     .edit-button-small,
     .delete-button-small {
          padding: 3px 6px;
          font-size: 13px;
     }

    .admin-forms {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-forms form {
        flex-direction: column;
        margin-bottom: 10px;
    }
    .admin-forms input[type="text"] {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .admin-forms button, .admin-forms a button {
        width: 100%;
        box-sizing: border-box;
    }

    .profile-header {
        text-align: center;
    }
    .profile-photo {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }

    .window-content input[type="text"],
    .window-content textarea {
        width: 95% !important;
        box-sizing: border-box;
    }
    .window-content input[type="file"] {
        width: 95%;
    }

    .search-bar form {
        flex-direction: column;
    }
    .search-bar input[type="text"] {
        margin-right: 0;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    /* Responsive tables on mobile */
    .page-body table,
    .profile-bio table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }
    .page-body table th,
    .profile-bio table th,
    .page-body table td,
    .profile-bio table td {
        min-width: 80px;
        max-width: none;
        padding: 6px 8px;
    }
}
