/* Terminal Theme Variables */
:root {
    --primary: #00ff41;
    --primary-dark: #00cc33;
    --primary-glow: rgba(0, 255, 65, 0.3);
    --bg-dark: #0d0d0d;
    --bg-card: rgba(0, 255, 65, 0.05);
    --text-primary: #00ff41;
    --text-secondary: #00aa30;
    --glass-border: rgba(0, 255, 65, 0.3);
    --accent-cyan: #00ffff;
    --accent-green: #00ff41;
    --accent-pink: #ff00ff;
}

body {
    background-color: #0d0d0d;
    color: #00ff41;
    font-family: 'Courier New', Courier, monospace;
    /* Removed flex layout to allow full width flow */
}

/* Navigation - Terminal Style */
.nav {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    font-family: 'Courier New', monospace;
    -webkit-text-fill-color: #00ff41;
    background: none;
    text-decoration: none;
}

.nav-links a {
    color: #00aa30;
    font-family: 'Courier New', monospace;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

/* Hamburger - green lines */
.menu-toggle span {
    background: #00ff41;
    box-shadow: 0 0 5px #00ff41;
}

/* Menu Drawer - Terminal Style */
.menu-drawer {
    background: #0a0a0a;
    border-left: 1px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    font-family: 'Courier New', monospace;
}

.menu-header {
    border-bottom: 1px solid #00ff41;
}

.menu-title {
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

.menu-close {
    color: #00ff41;
    border-color: #00ff41;
    background: transparent;
}

.menu-close:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.menu-section-header {
    color: #00ff41;
}

.menu-section-header:hover {
    background: rgba(0, 255, 65, 0.1);
}

.menu-section-header .chevron {
    color: #00aa30;
}

.menu-submenu {
    background: rgba(0, 0, 0, 0.5);
}

.menu-submenu a {
    color: #00aa30;
    border-left-color: transparent;
}

.menu-submenu a:hover {
    color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
    border-left-color: #00ff41;
}

.menu-submenu a.active {
    color: #00ff41;
    border-left-color: #00ff41;
}

.menu-link {
    color: #00ff41;
}

.menu-link:hover {
    background: rgba(0, 255, 65, 0.1);
}

.menu-footer {
    border-top: 1px solid #00ff41;
}

.theme-option {
    border-color: #00aa30;
    background: rgba(0, 0, 0, 0.5);
}

.theme-option:hover {
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
}

.theme-option.active {
    border-color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.15);
}

.theme-name {
    color: #00ff41;
}

.menu-theme-current {
    color: #00ff41;
}

.theme-divider {
    color: #00aa30;
    border-top-color: #00aa30;
}

.container {
    /* Layout inherits from layout.css */
    border: 1px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    min-height: 80vh;
}

h1 {
    text-transform: uppercase;
    border-bottom: 1px dashed #00ff41;
    padding-bottom: 1rem;
}

.file-list {
    list-style: none;
    padding: 0;
}

.card {
    padding: 1rem;
    border: 1px solid #333;
    transition: all 0.2s;
    background: transparent;
    /* Override any glassmorphism */
}

.card:hover {
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.05);
    transform: none;
    /* Disable 3D transforms from void theme */
    box-shadow: none;
}

a {
    color: #00ff41;
    text-decoration: none;
}

.card a,
.file-entry a {
    display: block;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.card .file-id {
    color: #00ff41;
    font-weight: bold;
}

.card .file-meta {
    color: #00aa30;
}

/* Consolidated Card Styles */
.card,
.file-entry {
    background: #000000 !important;
    border: 1px solid #00ff41 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #00ff41 !important;
    font-family: 'Courier New', Courier, monospace !important;
}

.card:hover,
.file-entry:hover {
    background: rgba(0, 255, 65, 0.1) !important;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3) !important;
    transform: none !important;
}

/* Explicit text overrides */
.card .file-id,
.file-entry .file-id {
    color: #00ff41 !important;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff41;
}

.card .file-meta,
.file-entry .file-meta {
    color: #008f11 !important;
    font-size: 0.8rem;
}

.status-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    margin-left: 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    border-radius: 0;
    /* Sharp corners for badges */
}

.status-archived {
    border: 1px solid #888;
    color: #888;
}

.status-active {
    border: 1px solid #00ff41;
    color: #00ff41;
}

.status-intercepted {
    border: 1px solid #ff6600;
    color: #ff6600;
}

.status-translated {
    border: 1px solid #6699ff;
    color: #6699ff;
}

.status-encrypted {
    border: 1px solid #ff0066;
    color: #ff0066;
}

.annotation-indicator {
    color: #8B5CF6;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

/* Timeline Overrides */
.timeline::before {
    background: #00ff41 !important;
    /* Solid green line */
    box-shadow: 0 0 10px #00ff41 !important;
}

.timeline-dot {
    background: #0d0d0d !important;
    border-color: #00ff41 !important;
    box-shadow: 0 0 10px #00ff41 !important;
}

.timeline-content {
    background: transparent !important;
    border: 1px solid #00ff41 !important;
    color: #00ff41 !important;
}

.timeline-era {
    color: #00ff41 !important;
}

.timeline-title {
    color: #00ff41 !important;
    text-transform: uppercase;
}