﻿/**
 * Diamond, Crystal, Glass & Mirror Theme
 * Extension Analyzer styling system.
 * Built with professional glassmorphism, specular reflections, and crystal pulse animations.
 */

/* === RESET & BASE STYLES === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #060814;
    color: #e2e8f0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* === CRYSTALLINE BACKGROUND === */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.65;
}

/* === MIRROR REFLECTION SHIMMER === */
#scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.015) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.015) 100%
    );
}

/* === MAIN CONTAINER === */
#main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* === HERO SECTION === */
#hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    box-sizing: border-box;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(9, 13, 34, 0.55) 0%,
        rgba(6, 8, 20, 0.96) 80%,
        rgba(4, 5, 12, 1) 100%
    );
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

/* === CRYSTAL TITLE === */
.glitch-wrapper {
    margin-bottom: 1.5rem;
}

.glitch {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 800;
    text-transform: capitalize;
    position: relative;
    color: #ffffff;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #ffffff 10%, #e0f7fa 40%, #80deea 70%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 24px rgba(128, 222, 234, 0.2);
    animation: textReflect 6s linear infinite;
}

@keyframes textReflect {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === GLASS TERMINAL WINDOW WITH PULSING SHADOW === */
.terminal-window {
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin: 1rem auto;
    max-width: 800px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    animation: crystalPulse 6s infinite ease-in-out;
}

.terminal-window:hover {
    transform: translateY(-4px) scale(1.005);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 8px rgba(128, 222, 234, 0.25) inset,
        0 0 15px rgba(128, 222, 234, 0.1);
}

@keyframes crystalPulse {
    0%, 100% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    }
    50% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 8px rgba(128, 222, 234, 0.15) inset, 0 0 10px rgba(128, 222, 234, 0.08);
    }
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 1.2rem;
}

.btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.btn.red { background: rgba(255, 95, 86, 0.85); }
.btn.yellow { background: rgba(255, 189, 46, 0.85); }
.btn.green { background: rgba(39, 202, 63, 0.85); }

.terminal-title {
    color: #e0f7fa;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-family: 'Fira Code', monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.prompt {
    color: #80deea;
    margin-right: 0.5rem;
    font-weight: 500;
}

.command {
    color: #ffffff;
    font-weight: 500;
}

.output {
    color: #a0aec0;
    margin-left: 1rem;
}

.success {
    color: #80deea;
    font-weight: 600;
    margin-left: 1rem;
    text-shadow: 0 0 10px rgba(128, 222, 234, 0.35);
}

/* === CTA BUTTONS WITH SPECULAR SHINE === */
.cta-section {
    margin: 1.5rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.25) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.cta-button:hover::after {
    left: 150%;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 25px rgba(128, 222, 234, 0.25),
        0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: scale(0.97) translateY(0);
}

.btn-text {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    background: linear-gradient(90deg, #ffffff, #e0f7fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-subtext {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #80deea;
    letter-spacing: 0.12em;
}

/* === DEVELOPER CREDIT === */
.developer-credit {
    margin-top: 3.5rem;
    font-size: 0.9rem;
}

.credit-label {
    color: #718096;
    margin-right: 0.5rem;
    font-weight: 500;
}

.credit-name {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

/* === APP INTERFACE === */
#app-interface {
    background: rgba(6, 8, 20, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100vh;
    position: relative;
}

/* === TOP BAR === */
#top-bar {
    background: rgba(10, 15, 30, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1rem;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    position: sticky;
    top: 65px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

.control-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

#file-filter {
    width: 100%;
    padding: 0.75rem 1.1rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    transition: all 0.35s ease;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.2) inset,
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

#file-filter:focus {
    outline: none;
    border-color: rgba(128, 222, 234, 0.65);
    background: rgba(0, 0, 0, 0.65);
    box-shadow: 
        0 0 18px rgba(128, 222, 234, 0.25),
        0 0 0 1px rgba(128, 222, 234, 0.15) inset;
}

#file-filter.invalid {
    border-color: rgba(239, 68, 68, 0.65);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.2);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(128, 222, 234, 0.2));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}

#file-filter:focus + .input-glow {
    opacity: 0.15;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.8rem;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.filter-btn input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #80deea;
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.filter-btn .gcount {
    margin-left: 0.4rem;
    color: #80deea;
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(128, 222, 234, 0.12);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

#file-filter-feedback {
    flex: 1;
    color: #718096;
    font-size: 0.75rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 0.6rem;
}

.action-btn {
    padding: 0.55rem 1.05rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.action-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.action-btn:hover::after {
    left: 150%;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.action-btn:active {
    transform: scale(0.97);
}

.action-btn:not([href]) {
    display: none;
}

/* === ADVANCED OPEN SECTION === */
#advanced-open {
    display: none;
    min-height: calc(100vh - 65px);
    padding: 1.5rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

#advanced-open-form {
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 1.5rem;
    animation: crystalPulse 6s infinite ease-in-out;
}

.advanced-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.form-header p {
    color: #a0aec0;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.input-group input[type="url"] {
    flex: 1;
    min-width: 300px;
    padding: 0.95rem 1.2rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    transition: all 0.35s ease;
}

.input-group input[type="url"]:focus {
    outline: none;
    border-color: rgba(128, 222, 234, 0.65);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(128, 222, 234, 0.15);
}

.submit-btn {
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.submit-btn:hover::after {
    left: 150%;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}

.submit-btn:active {
    transform: scale(0.97) translateY(0);
}

.file-upload-section {
    text-align: center;
    padding: 2.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 3.5rem;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.35s ease;
}

.file-upload-section:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.03);
}

.file-input {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #e2e8f0;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.2rem;
}

/* === CARD SHINE & HOVER LIFT === */
.site-specific-form {
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: visible;
}

.site-specific-form:hover {
    transform: translateY(-4px) scale(1.002);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 8px rgba(128, 222, 234, 0.2) inset,
        0 0 15px rgba(128, 222, 234, 0.08);
}

.site-specific-form h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
    letter-spacing: 0.03em;
}

.form-row {
    margin-bottom: 1.5rem;
}

.labeltext {
    display: block;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.form-row input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    transition: border-color 0.3s ease;
}

.form-row input[type="text"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    color: #cbd5e0;
    cursor: pointer;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.radio-group label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: #80deea;
}

.amoxpilist a {
    display: block;
    padding: 0.8rem;
    color: #80deea;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
    font-size: 0.85rem;
}

.amoxpilist a:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 1.4rem;
    color: #ffffff;
}

/* === CONTENT AREA === */
#content-area {
    display: none;
    height: calc(100vh - 65px);
    max-width: 100%;
    margin: 0;
    padding: 0.75rem;
    gap: 0.75rem;
    box-sizing: border-box;
}

/* === LEFT PANEL - FILE EXPLORER === */
#left-panel {
    width: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    animation: crystalPulse 6s infinite ease-in-out;
}

#left-panel.collapsed {
    width: 55px;
}

#left-panel.collapsed .content {
    display: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-header h3 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.03em;
}

.panel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.panel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

#left-panel .content {
    flex: 1;
    overflow-y: auto;
}

#file-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#file-list li {
    position: relative;
    cursor: pointer;
    transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

#file-list li:hover {
    padding-left: 6px;
    background: rgba(255, 255, 255, 0.03);
}

#file-list li.file-selected {
    padding-left: 10px;
    background: rgba(128, 222, 234, 0.08);
    color: #ffffff;
}

#file-list li.file-selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #80deea;
    box-shadow: 0 0 8px #80deea;
}

#file-list li .file-path {
    padding: 0.85rem 1.2rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5rem;
}

#file-list li .file-dir {
    color: #718096;
    font-weight: 400;
}

#file-list li .file-name {
    color: #e2e8f0;
    font-weight: 500;
}

#file-list li.file-selected .file-name {
    color: #80deea;
    font-weight: 600;
}

#file-list li .file-size {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 0.68rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.total-size-wrapper {
    padding: 1.1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
}

.size-label {
    color: #718096;
    margin-right: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
}

#total-size {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
}

/* === RIGHT PANEL - SOURCE CODE VIEWER === */
#right-panel {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    animation: crystalPulse 6s infinite ease-in-out;
    animation-delay: 1.5s;
}

#source-toolbar {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.4rem;
}

.toolbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.toolbar-actions {
    display: flex;
    gap: 0.6rem;
}

.toolbar-btn {
    padding: 0.5rem 1.05rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.toolbar-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.toolbar-btn:hover::after {
    left: 150%;
}

.toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.toolbar-btn:active {
    transform: scale(0.97);
}

#source-code {
    flex: 1;
    overflow: auto;
    padding: 0;
    font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', 'Consolas', 'Source Code Pro', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre;
    tab-size: 4;
    color: #d4d4d4;
    background: #1e1e1e;
}

/* VS Code style code block wrapper */
#source-code pre,
#source-code code {
    background: transparent !important;
    color: #d4d4d4 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    margin: 0 !important;
    padding: 0.75rem 0 !important;
    tab-size: 4 !important;
}

/* Line numbers column — styled like VS Code gutter */
#source-code .linenums ol {
    margin: 0;
    padding: 0;
    list-style: decimal;
    color: #858585;
}

#source-code .linenums ol li {
    padding-left: 1.5rem !important;
    padding-right: 1rem !important;
    border-left: 2px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    min-height: 1.6em;
    background: transparent !important;
}

#source-code .linenums ol li:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-left-color: rgba(128, 222, 234, 0.3);
}

#source-code .linenums ol li::marker {
    color: #4f5663;
    font-variant-numeric: tabular-nums;
}

/* Selected line highlight (VS Code Ctrl+G style) */
#source-code .linenums ol li.file-selected,
#source-code .linenums ol li.highlighted {
    background: rgba(38, 79, 120, 0.35) !important;
    border-left-color: #569cd6;
}


#source-code .auto-wordwrap {
    white-space: pre-wrap;
    word-break: break-all;
}

#initial-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.status-content {
    color: #718096;
    font-weight: 500;
}

.loading-animation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: #80deea;
    border-radius: 50%;
    animation: loading 1.4s infinite ease-in-out both;
    box-shadow: 0 0 6px #80deea;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0.3);
        opacity: 0.3;
    }
    40% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* === FOOTER === */
footer {
    background: rgba(10, 15, 30, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1rem;
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-links a {
    color: #80deea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(128, 222, 234, 0.55);
}

.footer-signature {
    color: #4a5568;
    font-size: 0.8rem;
    font-weight: 500;
}

.heart {
    color: rgba(239, 68, 68, 0.85);
    margin: 0 0.3rem;
    animation: heartbeat 2s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.15); }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    #content-area {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 65px);
    }
    
    #left-panel {
        width: 100%;
        max-height: 320px;
        height: auto;
    }
    
    #source-code {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .glitch {
        font-size: 2.1rem;
    }
    
    .control-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .forms-grid {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* === UTILITY CLASSES === */
.hidden { display: none !important; }
.visible { display: block !important; }

/* === CRYSTA-ICE SCROLLBARS === */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* === FILTER VISIBILITY RULES === */
#file-list.gfilter-images li.gtype-images,
#file-list.gfilter-code li.gtype-code,
#file-list.gfilter-markup li.gtype-markup,
#file-list.gfilter-locales li.gtype-locales,
#file-list.gfilter-misc li.gtype-misc,
#file-list li.file-filtered,
#file-list li.grep-no-match {
    display: none;
}

#file-list li.grep-unknown {
    opacity: 0.45;
}

/* === FILEEXPLORER SPECIFIC TOOLBARS === */
.file-specific-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.file-specific-toolbar > button {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-family: inherit;
}

.file-specific-toolbar > button:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.file-specific-toolbar .find-all-enabled {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.file-specific-download-link {
    color: #80deea;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(128, 222, 234, 0.25);
    background: rgba(128, 222, 234, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.file-specific-download-link:hover {
    color: #ffffff;
    border-color: rgba(128, 222, 234, 0.5);
    background: rgba(128, 222, 234, 0.12);
}

.file-specific-download-link:not([href]) {
    cursor: pointer;
}

/* === CONTENT VERIFIER GLASS PANEL === */
.content-verifier-wrapper {
    display: inline-block;
}

.content-verifier-wrapper .content-verifier-output {
    position: absolute;
    left: 0;
    right: 30px;
    max-height: calc(100vh - 5rem);
    overflow: auto;
    background: rgba(10, 15, 30, 0.95);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    line-height: 1.6rem;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.55);
}

.content-verifier-output table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.info-table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-table-row td {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
}

.info-table-row > :first-child {
    font-weight: 700;
    color: #80deea;
    width: 160px;
}

.info-table-row > :last-child {
    font-family: 'Fira Code', monospace;
    color: #e2e8f0;
    word-break: break-all;
}

img:hover {
    outline: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

/* === SEARCH RESULT STYLING === */
.search-result-container-wrapper {
    position: relative;
    height: 0;
}

.search-result-container {
    position: absolute;
    pointer-events: none;
}

.search-result-highlight {
    stroke-width: 1;
    stroke: rgba(255, 255, 255, 0.3);
    fill: rgba(255, 255, 255, 0.08);
}

.search-result-match {
    stroke-width: 2;
    stroke: #80deea;
    fill: rgba(128, 222, 234, 0.05);
}

/* === TOGGLE FUNCTIONALITY === */
.toggled {
    width: 0 !important;
}

.toggled > .content {
    display: none;
}

.toggled + .toggleable {
    padding-left: 16px !important;
}

.toggler {
    cursor: pointer;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left: 0;
    border-right: 6px solid rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
}

.toggler:hover {
    border-right-color: #ffffff;
}

.toggled .toggler {
    border-left: 6px solid #80deea;
    border-right: 0;
}

/* === GLASS PROGRESS BARS === */
progress {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

progress::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), #80deea);
    border-radius: 4px;
    transition: width 0.3s ease;
}

progress::-moz-progress-bar {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), #80deea);
    border-radius: 4px;
}

/* === TEXT SELECTION === */
::selection {
    background: rgba(128, 222, 234, 0.25);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(128, 222, 234, 0.25);
    color: #ffffff;
}

/* === DASHBOARD HEADER & TAB BAR === */
#dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    padding: 0 2rem;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 101;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-crystal {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(128, 222, 234, 0.5));
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #ffffff 30%, #80deea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-tabs {
    display: flex;
    gap: 0.6rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: transparent;
    border: 1px solid transparent;
    color: #a0aec0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
    color: #80deea;
    background: rgba(128, 222, 234, 0.08);
    border-color: rgba(128, 222, 234, 0.25);
    box-shadow: 0 0 15px rgba(128, 222, 234, 0.1);
}

.tab-icon {
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    align-items: center;
}

.channel-link-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.channel-link-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

/* === INTERACTIVE GLOWING BORDER EFFECT === */
.glowing-card {
    position: relative;
    --spread: 35;
    --glowingeffect-border-width: 1.2px;
}

.glowing-effect {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.glowing-effect-border {
    position: absolute;
    inset: -1.2px;
    border-radius: inherit;
    padding: var(--glowingeffect-border-width, 1.2px);
    background: conic-gradient(
      from calc((var(--start, 0) - var(--spread, 35)) * 1deg) at 50% 50%,
      rgba(0, 0, 0, 0) 0deg,
      #80deea calc(var(--spread, 35) * 0.5deg),
      #ffffff calc(var(--spread, 35) * 1.0deg),
      #00f0ff calc(var(--spread, 35) * 1.5deg),
      rgba(0, 0, 0, 0) calc(var(--spread, 35) * 2.0deg)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: var(--active, 0);
    transition: opacity 0.4s ease;
}

.glowing-effect-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 100px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(128, 222, 234, 0.05), transparent);
    opacity: var(--active, 0);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* ====================================================
   SOURCE CODE TAB — IDE-STYLE REDESIGN
   ==================================================== */

/* --- Left panel header with icon --- */
.panel-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-icon {
    font-size: 1rem;
    opacity: 0.85;
}

/* --- Explorer embedded search bar --- */
.explorer-search {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.15);
}

.explorer-search-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.explorer-search-icon {
    position: absolute;
    left: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.5;
    pointer-events: none;
}

.explorer-search #file-filter {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.2rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #e2e8f0;
    font-family: 'Fira Code', monospace;
    font-size: 0.78rem;
    transition: all 0.3s ease;
}

.explorer-search #file-filter:focus {
    outline: none;
    border-color: rgba(128, 222, 234, 0.5);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 12px rgba(128, 222, 234, 0.15);
}

.search-feedback {
    font-size: 0.7rem;
    color: #80deea;
    margin-top: 0.3rem;
    display: block;
    min-height: 1em;
}

/* --- Filter chip pills inside explorer --- */
.explorer-filters {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.explorer-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.filter-chip {
    font-size: 0.72rem;
    font-weight: 600;
}

/* Override filter-btn for inside-panel style */
.explorer-filters .filter-btn {
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

.explorer-filters .filter-btn:hover {
    background: rgba(128, 222, 234, 0.08);
    border-color: rgba(128, 222, 234, 0.3);
    color: #80deea;
}

.explorer-filters .filter-btn input[type="checkbox"]:checked ~ .filter-chip {
    color: #80deea;
}

/* --- Explorer footer action bar --- */
.explorer-footer {
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    margin-top: auto;
}

.exp-action-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #a0aec0;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.exp-action-btn:hover {
    background: rgba(128, 222, 234, 0.08);
    border-color: rgba(128, 222, 234, 0.3);
    color: #80deea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 222, 234, 0.1);
}

/* --- Right panel toolbar redesign --- */
#source-toolbar {
    background: rgba(10, 15, 30, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toolbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.2rem;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.toolbar-icon {
    font-size: 1rem;
    opacity: 0.8;
}

/* --- Breadcrumb bar --- */
.toolbar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1.2rem 0.6rem;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breadcrumb-root {
    color: #80deea;
    font-weight: 700;
}

.breadcrumb-sep {
    color: #4a5568;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #a0aec0;
}

.breadcrumb-placeholder {
    color: #4a5568;
    font-style: italic;
}

/* Primary toolbar button */
.toolbar-btn-primary {
    background: rgba(128, 222, 234, 0.1) !important;
    border-color: rgba(128, 222, 234, 0.3) !important;
    color: #80deea !important;
}

.toolbar-btn-primary:hover {
    background: rgba(128, 222, 234, 0.2) !important;
    border-color: rgba(128, 222, 234, 0.5) !important;
    box-shadow: 0 0 15px rgba(128, 222, 234, 0.2) !important;
}

/* --- Empty / initial status redesign --- */
#initial-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
}

.status-content {
    text-align: center;
    max-width: 420px;
}

.status-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(128, 222, 234, 0.2);
    background: rgba(128, 222, 234, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(128, 222, 234, 0.08);
    animation: crystalPulse 4s infinite ease-in-out;
}

.status-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.status-subtitle {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.status-hints {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem 1.2rem;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #a0aec0;
    line-height: 1.5;
}

.hint-key {
    font-size: 1rem;
    flex-shrink: 0;
    width: 1.6rem;
    text-align: center;
}

/* --- Bottom status bar --- */
.source-statusbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 1.2rem;
    background: rgba(5, 8, 20, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    font-family: 'Fira Code', monospace;
    flex-shrink: 0;
}

.statusbar-lang {
    color: #80deea;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.statusbar-sep {
    color: rgba(255, 255, 255, 0.1);
}

.statusbar-info {
    color: #718096;
}
