body {
    background-color: #000;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    color: #0f0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matrix-container {
    width: 90%;
    max-width: 1000px;
    height: 80vh;
}

.terminal {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #0f0;
    box-shadow: 0 0 10px #0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
}

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

.controls {
    display: flex;
    gap: 10px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #0f0;
}

.close { background-color: #f00; }
.minimize { background-color: #ff0; }
.maximize { background-color: #0f0; }

.terminal-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.path-display {
    margin-bottom: 10px;
    color: #0f0;
}

.command-line {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.prompt {
    margin-right: 10px;
}

.command-input {
    background: transparent;
    border: none;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    flex: 1;
    outline: none;
    caret-color: #0f0;
}

.file-display {
    flex: 1;
    overflow-y: auto;
}

.file-item {
    padding: 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.file-item:hover {
    background-color: rgba(0, 255, 0, 0.1);
}

.file-icon {
    margin-right: 10px;
}

/* Matrix effect background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

/* Add to existing CSS */
.file-info {
    margin-left: auto;
    color: #0a0;
    font-size: 0.8em;
    opacity: 0.7;
}

.error {
    color: #f00;
    animation: blink 1s infinite;
}

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

/* Directory cursor */
.file-item[data-type="directory"] {
    cursor: pointer;
}

.file-item[data-type="directory"]:hover {
    text-shadow: 0 0 5px #0f0;
}

/* Current path styling */
.path-display {
    color: #0f0;
    text-shadow: 0 0 3px #0f0;
    margin-bottom: 10px;
    font-weight: bold;
}
