@font-face {
    font-family: 'ProFont IIx Nerd Font';
    src: url('./static/fonts/AgaveNerdFontMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: #f3edf7;
    font-family: "ProFont IIx Nerd Font", monospace;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

#terminal-window {
    width: 90%;
    max-width: 950px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(7, 7, 34, 0.5), 0 12px 48px rgba(7, 7, 34, 0.6), 0 0 0 1px #21215F;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

#title-bar {
    background: rgba(17, 17, 45, 0.85);
    padding: 6px 8px;
    display: flex;
    align-items: center;
    user-select: none;
    flex-shrink: 0;
    min-height: 38px;
    border-bottom: 1px solid #21215F;
}

.title-buttons {
    display: flex;
    gap: 0;
    margin-left: auto;
}

.title-btn {
    width: 36px;
    height: 32px;
    border: none;
    background: transparent;
    color: #7c80b4;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    font-family: "ProFont IIx Nerd Font", system-ui, sans-serif;
    line-height: 1;
}

.title-btn:hover {
    background: rgba(169, 174, 254, 0.12);
    color: #a9aefe;
}

.title-btn.close:hover {
    background: rgba(253, 70, 99, 0.18);
    color: #FD4663;
}

#title-text {
    color: #7c80b4;
    font-size: 0.85em;
    flex: 1;
    text-align: center;
    padding: 0 8px;
}

#terminal-body {
    background: rgba(7, 7, 34, 0.85);
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 200px;
}

#command-buttons {
    background: rgba(17, 17, 45, 0.85);
    border-top: 1px solid #21215F;
}

#terminal {
    white-space: pre-wrap;
}

.command-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.prompt {
    color: #9BFECE;
    white-space: nowrap;
    margin-right: 8px;
}

#input {
    background: transparent;
    color: #f3edf7;
    border: none;
    font-family: "ProFont IIx Nerd Font", monospace;
    width: 100%;
    outline: none;
    padding: 0;
    caret-color: #fff59b;
}

#command-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
}

#command-buttons button {
    background: rgba(169, 174, 254, 0.08);
    color: #a9aefe;
    border: 1px solid #21215F;
    font-family: "ProFont IIx Nerd Font", monospace;
    font-size: 0.9em;
    padding: 6px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

#command-buttons button:hover {
    background: rgba(169, 174, 254, 0.15);
    border-color: #a9aefe;
    color: #fff59b;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px 0;
    border: 3px solid #a9aefe;
}

.move-in {
    padding-left: 17px;
}

#command-buttons button:active {
    background: rgba(169, 174, 254, 0.22);
}

.ansi-gray {
    color: #7c80b4;
    font-family: "ProFont IIx Nerd Font", monospace;
}

.ansi-pink {
    color: #FD4663;
    font-family: "ProFont IIx Nerd Font", monospace;
}

.silver {
    color: #a9aefe;
    font-family: "ProFont IIx Nerd Font", monospace;
}

.mention {
    color: #f3edf7;
    font-family: "ProFont IIx Nerd Font", monospace;
}

.gold {
    color: #fff59b;
    font-family: "ProFont IIx Nerd Font", monospace;
}

/* ANSI Colors — Noctalia default palette */
/* Regular Colors */
.ansi-black { color: #11112d; }
.ansi-red { color: #FD4663; }
.ansi-green { color: #9BFECE; }
.ansi-yellow { color: #fff59b; }
.ansi-blue { color: #a9aefe; }
.ansi-magenta { color: #FD4663; }
.ansi-cyan { color: #9BFECE; }
.ansi-white { color: #f3edf7; }

/* Bright Colors */
.ansi-bright-black { color: #21215F; }
.ansi-bright-red { color: #FD4663; }
.ansi-bright-green { color: #9BFECE; }
.ansi-bright-yellow { color: #fff59b; }
.ansi-bright-blue { color: #a9aefe; }
.ansi-bright-magenta { color: #FD4663; }
.ansi-bright-cyan { color: #9BFECE; }
.ansi-bright-white { color: #ffffff; }

/* Background Colors */
.ansi-bg-black { background-color: #11112d; }
.ansi-bg-red { background-color: #FD4663; }
.ansi-bg-green { background-color: #9BFECE; }
.ansi-bg-yellow { background-color: #fff59b; }
.ansi-bg-blue { background-color: #a9aefe; }
.ansi-bg-magenta { background-color: #FD4663; }
.ansi-bg-cyan { background-color: #9BFECE; }
.ansi-bg-white { background-color: #f3edf7; }

/* Bright Background Colors */
.ansi-bg-bright-black { background-color: #21215F; }
.ansi-bg-bright-red { background-color: #FD4663; }
.ansi-bg-bright-green { background-color: #9BFECE; }
.ansi-bg-bright-yellow { background-color: #fff59b; }
.ansi-bg-bright-blue { background-color: #a9aefe; }
.ansi-bg-bright-magenta { background-color: #FD4663; }
.ansi-bg-bright-cyan { background-color: #9BFECE; }
.ansi-bg-bright-white { background-color: #ffffff; }
