:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --prompt-color: #58a6ff;
    --command-color: #79c0ff;
    --output-color: #8b949e;
    --link-color: #58a6ff;
    --error-color: #ff7b72;
    --success-color: #3fb950;
    --font-family: 'Courier New', Courier, monospace;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    height: 100vh;
    overflow: hidden;
}

.terminal {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.header {
    margin-bottom: 10px;
}

.command {
    color: var(--command-color);
    font-weight: bold;
}

.prompt {
    color: var(--prompt-color);
    margin-right: 10px;
    white-space: nowrap;
}

.input-line {
    display: flex;
    align-items: center;
    width: 100%;
}

#command-input {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 16px;
    flex-grow: 1;
    outline: none;
    caret-color: var(--text-color);
}

.output-line {
    margin-bottom: 5px;
    white-space: pre-wrap;
}

.result {
    color: var(--text-color);
    margin-bottom: 15px;
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Structured Output Styles */
.section-title {
    color: var(--prompt-color);
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #30363d;
    padding-bottom: 5px;
    display: inline-block;
}

.job-entry, .project-entry, .edu-entry {
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 2px solid #30363d;
}

.job-header, .project-header, .edu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.company, .project-name, .school {
    color: var(--command-color);
    font-weight: bold;
    font-size: 1.1em;
}

.date, .location {
    color: var(--output-color);
    font-size: 0.9em;
}

.role, .degree {
    color: var(--success-color);
    font-style: italic;
    margin-bottom: 5px;
    display: block;
}

.details {
    margin-left: 10px;
}

.details ul {
    margin: 5px 0;
    padding-left: 20px;
}

.details li {
    margin-bottom: 2px;
}

.skill-category {
    margin-bottom: 10px;
}

.skill-title {
    color: var(--command-color);
    font-weight: bold;
    display: inline-block;
    width: 200px;
}

.skill-list {
    color: var(--text-color);
}

.contact-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 15px;
    margin-bottom: 15px;
}

.contact-label {
    color: var(--output-color);
}

@media (max-width: 600px) {
    .job-header, .project-header, .edu-header {
        flex-direction: column;
    }
    
    .skill-title {
        display: block;
        width: 100%;
        margin-bottom: 2px;
    }
}

/* Help Command Styles */
.help-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 20px;
    margin-top: 10px;
}

.help-command {
    color: var(--command-color);
    font-weight: bold;
}

.help-description {
    color: var(--text-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    .terminal {
        padding: 10px;
    }
}
