
/* QuantumOS Core Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/codemirror.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/theme/dracula.min.css');
:root {
    --system-accent: #00ffff;
    --system-accent-dark: #0088ff;
--system-danger: #ff5f56;
    --system-warning: #ffbd2e;
    --system-success: #27c93f;
    --system-info: #4d90fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
}
body {
    overflow: hidden;
    background: radial-gradient(circle at center, #001122, #000000);
}
#os-container {
    position: relative;
    user-select: none;
}
.window {
    position: absolute;
    min-width: 300px;
    min-height: 200px;
    background: rgba(10, 20, 30, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.1);
overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.window-titlebar {
    height: 32px;
    background: linear-gradient(to right, var(--system-accent-dark), var(--system-accent));
    color: white;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: move;
    user-select: none;
    font-weight: 500;
    position: relative;
}

.window-titlebar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 95, 86, 0.5), 
        rgba(255, 189, 46, 0.5), 
        rgba(39, 201, 63, 0.5));
}
.window-controls {
    margin-left: auto;
    display: flex;
}

.window-control {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 8px;
}

.window-close {
    background: #ff5f56;
}

.window-minimize {
    background: #ffbd2e;
}

.window-maximize {
    background: #27c93f;
}

.window-content {
    padding: 15px;
    height: calc(100% - 32px);
    overflow: auto;
}
.notification {
    background: rgba(40, 40, 60, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--system-accent);
    animation: slideIn 0.3s forwards;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.error {
    border-left-color: var(--system-danger);
}

.notification.warning {
    border-left-color: var(--system-warning);
}

.notification.success {
    border-left-color: var(--system-success);
}

.notification.info {
    border-left-color: var(--system-info);
}
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.context-menu {
    position: absolute;
    background: rgba(40, 40, 60, 0.98);
    border-radius: 6px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    min-width: 220px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.context-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        var(--system-danger), 
        var(--system-warning), 
        var(--system-success));
}
.context-menu-item {
    padding: 8px 15px;
    cursor: pointer;
}

.context-menu-item:hover {
    background: rgba(90, 90, 120, 0.5);
}

/* Terminal styles */
.terminal {
    background: rgba(10, 10, 20, 0.95);
    color: #0f0;
    font-family: 'Roboto Mono', monospace;
    padding: 15px;
    overflow: auto;
    height: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, 
        rgba(0, 255, 0, 0.1), 
        transparent);
    pointer-events: none;
}
.terminal-line {
    white-space: pre;
    line-height: 1.3;
}

.terminal-input {
    display: flex;
}

.terminal-prompt {
    color: #0f0;
    margin-right: 5px;
}

.terminal-cursor {
    background: #0f0;
    width: 8px;
    height: 16px;
    display: inline-block;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Code Editor */
.CodeMirror {
    height: 100% !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 14px;
    background: rgba(20, 20, 30, 0.9) !important;
}

/* Process Manager */
.process-table {
    width: 100%;
    border-collapse: collapse;
}

.process-table th, .process-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-table th {
    background: rgba(70, 70, 90, 0.5);
    font-weight: 500;
}

.process-table tr:hover {
    background: rgba(90, 90, 120, 0.3);
}

/* File Explorer */
.file-explorer {
    display: flex;
    height: 100%;
}

.file-explorer .sidebar {
    width: 200px;
    background: rgba(30, 30, 40, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.file-explorer .content {
    flex: 1;
    padding: 15px;
    overflow: auto;
}
/* Quantum Boot Sequence Styles */
#quantum-boot {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #000a1a, #000000);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boot-overlay {
    width: 600px;
    text-align: center;
}

.boot-logo {
    margin-bottom: 40px;
    position: relative;
}

.quantum-sphere {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(0, 255, 255, 0.8), 
        rgba(0, 100, 255, 0.2));
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    animation: quantum-pulse 3s infinite alternate;
}

@keyframes quantum-pulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 70px rgba(0, 255, 255, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
}

.boot-logo h1 {
    font-size: 2.5rem;
    margin: 10px 0;
    background: linear-gradient(to right, #00ffff, #0088ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.version {
    opacity: 0.7;
    font-size: 0.9rem;
}

.boot-progress {
    margin: 30px 0;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(to right, #00ffff, #0088ff);
    width: 0;
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.step-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.boot-hint {
    margin-top: 40px;
    padding: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(0, 50, 100, 0.2);
    animation: hint-pulse 2s infinite;
}

@keyframes hint-pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* DeepSite badge positioning */
.hf-deepsite-badge {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
}
/* System Effects */
.glass-effect {
    background: rgba(40, 40, 60, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(142, 45, 226, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(142, 45, 226, 0); }
    100% { box-shadow: 0 0 0 0 rgba(142, 45, 226, 0); }
}
