/* Terminal-style CSS */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html {
    font-family: 'JetBrains Mono', monospace;
    background: #1e1e1e;
    color: #abb2bf;
    line-height: 1.6;
}

body {
    display: inline-flex;
    flex-direction: column;
    margin: 2rem;
    max-width: 800px;
    font-size: 14px;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.command-prompt {
    color: #98c379;
    font-weight: bold;
}

.output {
    margin-bottom: 1.5rem;
    margin-left: 1rem;
}

.output span {
    display: block;
    margin-bottom: 0.3rem;
}

.output ul {
    padding-left: 1rem;
    list-style: none;
    margin: 0.5rem 0;
}

.output li {
    margin-bottom: 0.3rem;
}

.output li::before {
    content: '- ';
    color: #61afef;
    font-weight: bold;
}

.project {
    margin-bottom: 1rem;
}

.project-title {
    color: #e06c75;
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
}

.project span {
    display: block;
    margin-bottom: 0.2rem;
}

/* Link styles */
a:visited, a:link, a:hover, a:active {
    color: #61afef;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #98c379;
    text-decoration: underline;
}

/* Status bar at bottom */
.status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #3e4451;
}

.directory-info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.highlight {
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.directory {
    font-weight: bold;
    background: #61afef;
    color: #1e1e1e;
    margin-right: 0.5rem;
}

.branch {
    background: #98c379;
    color: #1e1e1e;
    margin-right: 0.5rem;
}

.command-result {
    background: #3e4451;
    color: #98c379;
    font-size: 12px;
}

.cursor {
    margin-left: 0.5rem;
    border: 1px solid #abb2bf;
    width: 8px;
    height: 16px;
    animation: blink 1s infinite;
}

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

/* Responsive design */
@media (max-width: 768px) {
    body {
        margin: 1rem;
        font-size: 12px;
    }
    
    .status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .directory-info {
        flex-wrap: wrap;
    }
}

/* Selection styling */
::selection {
    background: #3e4451;
    color: #abb2bf;
}

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

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #3e4451;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5263;
}
