/* UBuild.pro - Design System: Operator Dashboard / AAFiends Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
    /* Backgrounds */
    --bg-base: #020202;
    --bg-darker: #050505;
    --bg-card: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Terminal Glows & Accents */
    --accent-sys: #10b981; /* Terminal Green */
    --accent-sys-glow: rgba(16, 185, 129, 0.5);
    
    --accent-admin: #3b82f6; /* Electric Blue */
    --accent-admin-glow: rgba(59, 130, 246, 0.5);
    
    --accent-alert: #ef4444; /* Alert Red */
    --accent-alert-glow: rgba(239, 68, 68, 0.5);
    
    --accent-patch: #f59e0b; /* Amber/Gold */
    --accent-patch-glow: rgba(245, 158, 11, 0.5);
    
    --accent-action: #f97316; /* Glowing Orange */
    --accent-action-glow: rgba(249, 115, 22, 0.6);
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-darker);
    color: #f5f5f5;
    font-family: var(--font-primary);
    overflow-x: hidden;
}

/* Custom Scrollbar - Cybernetic Style */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-sys);
}

/* Typography Overrides */
.font-sans { font-family: var(--font-primary); }
.font-mono { font-family: var(--font-mono); }

/* Tech Mesh Background */
.tech-bg {
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.04) 0%, transparent 35%);
}

/* Glassmorphism / Terminal Panels */
.vault-panel {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2rem;
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.5); /* sys accent */
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.1);
}

/* Operator image treatments */
.operator-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}
.operator-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    pointer-events: none;
}

/* Photo frame hover-zoom */
.image-zoom-container {
    overflow: hidden;
    position: relative;
    border-radius: 1.5rem;
}
.image-zoom-container img {
    transition: transform 0.7s ease-in-out;
}
.glass-card:hover .image-zoom-container img {
    transform: scale(1.05);
}

/* Quick inspect text overlay */
.inspect-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.glass-card:hover .inspect-overlay {
    opacity: 1;
}

/* Cross-fade on hover for screenshots */
.screenshot-thumb {
    pointer-events: none;
}
.glass-card:hover .screenshot-thumb.loaded {
    opacity: 1;
}

/* Terminal Input Elements */
.vault-input {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.vault-input:focus {
    border-color: var(--accent-admin);
    box-shadow: 0 0 10px var(--accent-admin-glow);
    outline: none;
}
.vault-input::placeholder {
    color: #555;
}

/* Custom fade effects */
.fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Action Button - Glowing Orange */
.btn-electric {
    background: var(--accent-action);
    color: #fff;
    border-radius: 0.75rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-action-glow);
    font-weight: 800;
    text-transform: uppercase;
}
.btn-electric:hover {
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.8);
    transform: translateY(-2px);
}

/* Poem / Log Block */
.log-block {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.05), transparent);
    border-left: 4px solid var(--accent-sys);
    backdrop-filter: blur(8px);
}

/* Sabbatical Notice Patch */
.sabbatical-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}
.sabbatical-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent-patch);
}
