/* === Overall page === */
body {
    margin: 0;
    padding: 40px 0;
    background-color: #000000;
    color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
                 Helvetica, Arial, sans-serif;
}

/* Terminal window */
.terminal-window {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 10px;
    background: #1e1e1e;
    box-shadow: 0 16px 40px rgba(0,0,0,0.65);
    overflow: hidden;
    border: 1px solid #2b2b2b;
}

/* Top bar */
.terminal-bar {
    background: #2b2b2b;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

/* Mac dots */
.dot { 
    height: 12px; 
    width: 12px; 
    border-radius: 50%; 
    display: inline-block; 
    margin-right: 8px; 
}

.red { background-color: #ff5f57; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #28c840; }

/* Window title */
.terminal-title {
    font-family: "SF Mono", Menlo, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    color: #dddddd;
}

/* Terminal content */
.console {
    padding: 0 0 18px;  /* top | left/right | bottom */
    background: #1e1e1e;
    font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
    color: #f5f5f5;
    white-space: pre-wrap;
    font-size: 15px;
    line-height: 1.35;
}

/* Nudge first line (caption + cursor) up a bit to remove visible top gap */
#caption,
#cursor {
    position: relative;
    top: -4px;   /* adjust to -3 or -5 if you want slightly more/less tight */
}

/* Hide typed text source */
#innertext { 
    display: none; 
}

/* Links - same color always */
.console a {
    color: #f5f5f5 !important;
    text-decoration: none;
    border-bottom: 1px dotted #f5f5f5;
}

.console a:hover {
    border-bottom-style: solid;
}

.console a:visited {
    color: #f5f5f5 !important;
}
