body {
    font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
    font-size: 16pt;
    line-height: 1.5;
    margin: 0;
    padding: 20px;
    transition: all .3s;
    background-color: #1e1e1e;
    color: #ffffff;
    height: 100vh;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    padding: 35px 20px 20px;
    position: relative;
    transition: all .3s;
    background-color: #1e1e1e;
    border: 1px solid #444;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

/* Terminal header */
.terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
    border-bottom: 1px solid #444;
}

.terminal-header span {
    font-size: 14pt;
    font-weight: 300;
    color: #ffffff;
}

.system-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn.close { background-color: #ff5f56; }
.btn.minimize { background-color: #ffbd2e; }
.btn.maximize { background-color: #27c93f; }

.pdf-container {
    flex: 1;
    display: flex;
}

.nav-link {
    color: #7d7dff;
    text-decoration: underline;
}

.nav-link:hover {
    color: #9999ff;
}

.pdf-viewer {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 4px;
    background: #2a2a2a;
}

.fallback {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #2a2a2a;
    border-radius: 4px;
    padding: 2rem;
    border: 1px solid #444;
}

.fallback h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.fallback p {
    margin-bottom: 1rem;
}

.fallback a {
    color: #58a6ff;
    text-decoration: underline;
    font-weight: bold;
}

.fallback a:hover {
    color: #79c0ff;
}

/* Light Mode Styles */
@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f5f5;
        color: #333333;
    }
    
    .container {
        background-color: #ffffff;
        border: 1px solid #ddd;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .terminal-header {
        background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
        border-bottom: 1px solid #ccc;
    }
    
    .terminal-header span {
        color: #404040;
    }
    
    .pdf-viewer {
        background: #f9f9f9;
    }
    
    .fallback {
        background: #f9f9f9;
        border: 1px solid #ddd;
    }
    
    .fallback h2 {
        color: #B30000;
    }
    
    .fallback a {
        color: #0969da;
        text-decoration: underline;
    }
    
    .fallback a:hover {
        color: #0550ae;
    }
    
    .prompt {
        color: #0066cc;
    }
    
    .command {
        color: #333333;
    }
    
    .nav-link {
        color: #0033cc;
    }
    
    .nav-link:hover {
        color: #002299;
    }
}