/*
 Copyright Â© 2025 Skinsurf (SURFNET)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
https://creativecommons.org/licenses/by-nc-sa/4.0/ 
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: #000;
    color: #0ffab3; /* Mint green */
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Removed: #particle-canvas styles */

.scan-line {
    position: fixed;
    top: 0%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to bottom, rgba(0, 255, 179, 0), rgba(0, 255, 179, 0.8), rgba(0, 255, 179, 0));
    z-index: 3;
    pointer-events: none;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Removed: .noise styles */

.terminal {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    margin: 0vh auto;
    border: 5px ridge #0ffab3;
    opacity: 90%;
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(0, 255, 179, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.88);
}

.terminal-header {
    padding: 12px 15px;
    background-color: rgba(0, 20, 15, 0.9);
    border-bottom: 1px solid #0ffab3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-weight: bold;
    text-shadow: 0 0 8px #0ffab3;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.terminal-controls {
    display: flex;
}

.control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
}

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

.terminal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 220px;
    border-right: 1px solid #0ffab3;
    padding: 15px;
    overflow-y: auto;
    background-color: rgba(0, 10, 8, 0.75);
    display: flex;
    flex-direction: column;
}

.drive-info {
    padding: 10px;
    background-color: rgba(0, 30, 22, 0.7);
    border: 1px solid #0ffab3;
    border-radius: 4px;
    margin-bottom: 15px;
}

.drive-info .progress {
    height: 8px;
    background-color: rgba(0, 20, 15, 0.8);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.drive-info .progress-inner {
    height: 100%;
    width: 22%;
    background-color: #0ffab3;
    border-radius: 4px;
}

.directory {
    margin-bottom: 18px;
}

.directory-title {
    font-weight: bold;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px 6px;
    border-radius: 3px;
    transition: all 0.2s;
}

.directory-title:hover {
    background-color: rgba(0, 255, 179, 0.1);
}

.directory-title::before {
    content: "▶";
    margin-right: 8px;
    font-size: 10px;
    transition: transform 0.2s;
}

.directory.expanded .directory-title::before {
    transform: rotate(90deg);
}

.directory-content {
    margin-left: 20px;
    display: none;
}

.directory.expanded .directory-content {
    display: block;
}

.file {
    padding: 5px 8px;
    cursor: pointer;
    margin-bottom: 4px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.file:hover {
    background-color: rgba(0, 255, 179, 0.15);
    transform: translateX(3px);
}

.file i {
    margin-right: 8px;
    font-size: 0.9em;
}

.file.active {
    background-color: rgba(0, 255, 179, 0.2);
    color: #0ffab3;
    text-shadow: 0 0 5px #0ffab3;
}

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.path-bar {
    padding: 8px 15px;
    background-color: rgba(0, 20, 15, 0.9);
    border-bottom: 1px solid #0ffab3;
    font-size: 0.95em;
    display: flex;
    align-items: center;
}

.path-bar .prompt {
    margin-right: 8px;
}

.viewer {
    flex: 1;
    padding: 0;
    overflow: hidden;
    position: relative;
}

#site-viewer {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}

.viewer-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 5;
    padding: 20px;
    text-align: center;
}

.viewer-message h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    text-shadow: 0 0 10px #0ffab3;
}

.viewer-message p {
    margin-bottom: 10px;
    max-width: 600px;
    line-height: 1.5;
}

.terminal-footer {
    padding: 8px 15px;
    background-color: rgba(0, 20, 15, 0.9);
    border-top: 1px solid #0ffab3;
    font-size: 0.85em;
    display: flex;
    justify-content: space-between;
}

.status-indicator {
    display: flex;
    align-items: center;
}

.status-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0ffab3;
    margin-right: 8px;
    box-shadow: 0 0 8px #0ffab3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.glow {
    text-shadow: 0 0 5px #0ffab3, 0 0 10px #0ffab3;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 10, 8, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #0ffab3;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0acd8a;
}

.context-menu {
    position: absolute;
    background-color: rgba(0, 30, 22, 0.95);
    border: 1px solid #0ffab3;
    border-radius: 4px;
    padding: 5px 0;
    z-index: 10;
    display: none;
}

.context-menu-item {
    padding: 8px 15px;
    cursor: pointer;
}

.context-menu-item:hover {
    background-color: rgba(0, 255, 179, 0.15);
}

/* Removed: .code-rain, .code-column, .code-char, and @keyframes rain styles */