/* --- EVE ONLINE / PHOTON UI THEME --- */
:root {
    --eve-bg: #0b0f12;
    --eve-glass: rgba(18, 24, 31, 0.85);
    --eve-glass-hover: rgba(30, 38, 48, 0.9);
    --eve-border: rgba(255, 255, 255, 0.15);
    --eve-accent: #e5b13a; /* EVE Orange/Gold */
    --eve-accent-glow: rgba(229, 177, 58, 0.4);
    --eve-blue: #3498db;
    --eve-red: #e74c3c;
    --eve-text-primary: #dcdcdc;
    --eve-text-muted: #8b9bb4;
}

body {
    background-color: var(--eve-bg);
    color: var(--eve-text-primary);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    height: 100vh;
    margin: 0;
    display: flex;
}

/* Typography Overrides */
h1, h2, h3, h4, .hud-font {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Background Animation Canvas */
#warp-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Subtly darken the canvas so text pops */
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 100%);
}

/* --- THE NEOCOM (Sidebar) --- */
.neocom {
    width: 64px;
    background: rgba(10, 13, 16, 0.95);
    border-right: 1px solid var(--eve-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    z-index: 50;
    backdrop-filter: blur(10px);
    height: 100vh;
    position: fixed;
}

.neocom-item {
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eve-text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
}

.neocom-item:hover, .neocom-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.neocom-item.active::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 3px;
    background-color: var(--eve-accent);
    box-shadow: 0 0 8px var(--eve-accent);
}

.neocom-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    border-radius: 50%;
    /* Updated to MineBro Industries Corp ID: 98628963 */
    background: url('https://images.evetech.net/Corporations/98628963/logo?size=64') center/cover;
    border: 1px solid var(--eve-border);
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.neocom-logo:hover { filter: grayscale(0%); }

/* --- MAIN CONTENT AREA --- */
.main-viewport {
    margin-left: 64px;
    flex-grow: 1;
    height: 100vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    perspective: 1000px;
}

/* --- UI WINDOWS --- */
.eve-window {
    background: var(--eve-glass);
    border: 1px solid var(--eve-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eve-window:hover {
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.window-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-bottom: 1px solid var(--eve-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #fff;
}

.window-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.window-controls i {
    margin-left: 10px;
    opacity: 0.5;
    cursor: pointer;
}
.window-controls i:hover { opacity: 1; }

.window-content {
    padding: 1.5rem;
}

/* --- BUTTONS --- */
.eve-btn {
    background: linear-gradient(to bottom, #3b3b3b, #2a2a2a);
    border: 1px solid #555;
    color: #ccc;
    padding: 8px 24px;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.eve-btn:hover {
    border-color: var(--eve-text-primary);
    color: #fff;
    background: linear-gradient(to bottom, #4a4a4a, #333);
}

.eve-btn-primary {
    background: linear-gradient(to bottom, #d49a2a, #b37d10);
    border-color: #e5b13a;
    color: #000;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}
.eve-btn-primary:hover {
    background: linear-gradient(to bottom, #ecc056, #cc9422);
    color: #000;
    box-shadow: 0 0 15px var(--eve-accent-glow);
}

/* --- GRID DECORATIONS --- */
.tech-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1115;
}
::-webkit-scrollbar-thumb {
    background: #3f434a;
}
::-webkit-scrollbar-thumb:hover {
    background: #5a6069;
}

/* --- UTILS --- */
.text-eve-accent { color: var(--eve-accent); }
.border-eve-accent { border-color: var(--eve-accent); }

.status-dot {
    height: 8px;
    width: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #2ecc71;
}

/* Table Styles */
.eve-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.eve-table th {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid var(--eve-border);
    color: var(--eve-text-muted);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.eve-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.eve-table tr:hover td {
    background: rgba(255,255,255,0.03);
    color: #fff;
}

.spinner {
    border: 2px solid rgba(255,255,255,0.1);
    border-left-color: var(--eve-accent);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }