:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #bf00ff; /* Bright Purple */
    --accent-dim: #bf00ff33;
    --surface: #111111;
    --border: #333333;
}

.mobile-only { display: none !important; }
.desktop-only { display: inline-block; }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent scrolling for full immersive feel */
    height: 100vh;
    width: 100vw;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to drop zone */
}

.fullscreen-drop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.fullscreen-drop.drag-over {
    background-color: rgba(191, 0, 255, 0.05);
    box-shadow: inset 0 0 50px rgba(191, 0, 255, 0.1);
}

.content-wrapper {
    background: rgba(17, 17, 17, 0.6); /* More transparent */
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: 8px; /* Reduced radius */
    border: 1px solid var(--border);
    text-align: center;
    max-width: 1200px;
    width: 60vw;
    min-width: 320px;
    height: auto;
    max-height: calc(100vh - 4rem);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: fadeIn 1.5s ease-out forwards; /* Page load fade-in */
    opacity: 0; /* Start hidden for animation */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-wrapper {
    max-width: 450px;
    width: 90%;
    padding: 2.5rem;
}

.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.scrollable::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Removed duplicate actions-panel definition */

#result-view {
    flex: 1 1 auto;
    min-height: 0;
}

#file-list {
    max-height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none !important;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    color: var(--accent); /* Purple accent base */
    text-shadow: 0 0 20px rgba(191, 0, 255, 0.4);
}

.instruction {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.mobile-upload-btn {
    display: none;
    margin-top: 1rem;
}

/* Upload Progress */
.progress-bar-container {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.2s linear;
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 0.9rem;
}

/* Result View */
.file-list {
    margin-bottom: 2rem;
    max-height: 420px;
    overflow-y: auto;
    text-align: left;
}

.result-list {
    padding-right: 0.5rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.result-list .file-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.35);
    flex-direction: column;
    gap: 1rem;
}

.result-list .file-item:last-child {
    border-bottom: 1px solid var(--border);
}

.file-item:last-child {
    border-bottom: none;
}

.file-name {
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}

.file-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.batch-list {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.25);
}

.batch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.batch-title {
    font-weight: 600;
}

.batch-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.batch-items {
    display: grid;
    gap: 0.6rem;
}

.batch-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.batch-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.batch-name {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.batch-size {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
}

.file-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.file-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.file-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
}

.stat-subvalue {
    color: var(--accent);
    font-size: 0.75rem;
}

.benchmark-section {
    width: 100%;
}

.file-meta {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.actions-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    margin-top: 1.5rem;
    width: 100%;
    flex: 0 0 auto;
}

.instruction-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.35);
}

.instruction-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    background: rgba(191, 0, 255, 0.1);
}

.instruction-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.instruction-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.aurora-accordion {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    /* Removed overflow: hidden to fix scrolling/visibility issues */
}

.aurora-accordion-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px; /* Default radius */
    transition: border-radius 0.2s;
}

.aurora-accordion[open] .aurora-accordion-summary {
    border-bottom: 1px solid var(--border);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.aurora-accordion-summary::-webkit-details-marker {
    display: none;
}

.aurora-accordion-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.aurora-accordion-summary:hover .accordion-icon {
    border-color: var(--accent);
    color: var(--accent);
}

.aurora-accordion[open] .accordion-icon {
    transform: rotate(180deg);
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.aurora-accordion.nested-accordion {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.aurora-accordion.nested-accordion .aurora-accordion-summary {
    background: rgba(0, 0, 0, 0.2);
}

.aurora-settings {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.aurora-settings-inner {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aurora-settings.scrollable {
    max-height: 50vh;
}

.aurora-settings-title {
    font-weight: 600;
    font-size: 1rem;
}

.aurora-settings-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.aurora-settings-badge {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.aurora-settings-badge.is-custom {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
}

.reset-defaults-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'JetBrains Mono', monospace;
}

.reset-defaults-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.aurora-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.option-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.option-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.option-input,
.option-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.45rem 0.6rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}

.option-input:focus,
.option-select:focus {
    outline: none;
    border-color: var(--accent);
}

.aurora-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.toggle-pill {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.toggle-pill input {
    display: none;
}

.toggle-pill.active {
    border-color: var(--accent);
    color: #000;
    background: var(--accent);
}

.toggle-pill.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aurora-hint {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.benchmark-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.benchmark-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.primary-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px; /* Reduced radius */
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    transition: transform 0.1s ease, filter 0.2s ease;
}

.primary-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.primary-btn:active {
    transform: translateY(0);
}

.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 600;
}

.outline-btn:hover {
    background: var(--accent-dim);
    color: var(--accent);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-block !important; }

    .content-wrapper {
        width: 92vw;
        height: auto;
        max-height: calc(100vh - 50px); /* Never higher than available window area minus margins */
        padding: 25px; /* Min padding of 25px */
    }
    
    .mobile-upload-btn {
        display: none; /* User requested to remove this and use the instruction box instead */
    }
    
    /* Dashboard Mobile Adjustments */
    .dashboard-container {
        padding: 1rem;
        max-height: 100vh;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .dashboard-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-toggle {
        width: 100%;
        justify-content: center;
    }

    /* Make tables scrollable horizontally */
    .table-panel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .file-table {
        min-width: 600px; /* Ensure table keeps structure and scrolls */
    }

    /* Modals */
    .modal-card {
        width: 95%;
        padding: 1.25rem;
        max-height: 85vh;
    }

    .modal-header {
        margin-bottom: 0.75rem;
    }
}

/* --- Navigation (index.php) --- */
.nav-links {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 20;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--accent);
}
.nav-user {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    margin-right: 1rem;
}
.login-req-msg {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Authentication (login.php, register.php) --- */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 10;
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.form-input {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
}
.error-msg {
    color: #ff4444;
    margin-bottom: 1rem;
}
.success-msg {
    color: var(--accent);
    margin-bottom: 1rem;
}
.auth-link {
    display: block;
    margin-top: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}
.auth-link:hover {
    color: var(--accent);
}
.mb-2rem { margin-bottom: 2rem; }
.w-100 { width: 100%; }

/* --- Dashboard (dashboard.php) --- */
.dashboard-container {
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    max-height: calc(100vh - 2rem);
    overflow: auto;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.welcome-text {
    color: var(--text-primary);
    font-size: 1.2rem;
}
.dashboard-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.dashboard-toggle {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
}
.toggle-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.toggle-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}
.table-panel {
    margin-top: 1rem;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 200;
}
.modal-card {
    width: min(760px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}
.modal-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.dataTables_wrapper {
    color: var(--text-secondary);
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info {
    color: var(--text-secondary);
    font-size: 0.8rem;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    margin-left: 0.4rem;
}
.dataTables_wrapper .dataTables_filter input {
    margin-left: 0.6rem;
}
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-top: 1rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid var(--border) !important;
    color: var(--text-secondary) !important;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: transparent !important;
    transition: all 0.2s ease;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    background: rgba(191, 0, 255, 0.15) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    background: var(--accent-dim) !important;
}
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.admin-card {
    height: 100%;
}
.admin-form .form-group {
    margin-bottom: 1rem;
}
.form-hint {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0.5rem 0 1rem;
}
.inline-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.role-select {
    min-width: 120px;
}
.role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}
.file-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.file-table th, .file-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.file-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: normal;
}
.file-table tr:last-child td {
    border-bottom: none;
}
.file-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}
.status-available { background: rgba(0, 255, 157, 0.2); color: #00ff9d; }
.status-processing { background: rgba(255, 255, 0, 0.2); color: #ffff00; }
.status-failed { background: rgba(255, 0, 0, 0.2); color: #ff4444; }

.action-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
}
.action-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.share-link {
    background: rgba(0,0,0,0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px dashed var(--border);
    user-select: all;
}
.btn-logout { border-color: #ff4444; color: #ff4444; }
.empty-table-msg { text-align: center; color: var(--text-secondary); }
.file-name-link { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--accent); }
.logo-sm { font-size: 2rem; margin: 0; }

/* --- File Details (file.php) --- */
.details-container {
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.file-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}
.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.meta-item {
    text-align: left;
}
.meta-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.meta-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.bench-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.bench-table th, .bench-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.bench-table th {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: normal;
}
.highlight-row {
    background: rgba(191, 0, 255, 0.1);
}
.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}
.back-link:hover {
    color: var(--accent);
}
.share-section {
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 6px;
    border: 1px dashed var(--border);
    margin-top: 1rem;
}
.share-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    outline: none;
}
.generate-btn { padding: 0.5rem 1.5rem; font-size: 0.9rem; }

/* --- JS Dynamic Classes --- */
.glitch-char {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
}

/* --- Utilities & Specific Overrides --- */
.nav-link-logout { color: #ff4444 !important; }
.status-badge-header { margin-top: 0.5rem; }

.highlight-best {
    color: #00ff9d !important;
    font-weight: bold;
}
