:root {
    --bg-color: #050505;
    --text-color: #ffb000; /* Amber terminal color */
    --sys-color: #ffcc00;
    --font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login Screen */
.screen-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.login-box {
    border: 1px solid var(--text-color);
    padding: 30px;
    text-align: center;
    max-width: 400px;
    background: #111;
}

.login-box input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    background: #000;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    font-family: var(--font-family);
}

.button-row button {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-family);
}

/* Terminal HUD */
.terminal-container {
    display: flex;
    flex-direction: column;
    width: 90vw;
    height: 90vh;
    max-width: 800px;
    border: 2px solid var(--text-color);
    padding: 20px;
    background: #0a0a0a;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Chat Box */
#chat-box {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    padding-right: 10px;
    font-family: 'Consolas', 'Courier New', Courier, monospace !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.5px !important;
}

.message {
    padding: 12px 14px !important;
    margin-bottom: 15px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    max-width: 80%;
}

.ai-message {
    align-self: flex-start;
    border-left: 2px solid var(--text-color);
}

/* --- THE NEW ACTION BAR STYLING --- */
.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
    padding: 10px;
    border: 1px solid #3fb950;
    background: rgba(35, 134, 54, 0.1);
    border-radius: 4px;
}

.action-btn {
    background-color: transparent;
    color: #3fb950;
    border: 1px solid #3fb950;
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.action-btn:hover {
    background-color: #3fb950;
    color: #121212;
    box-shadow: 0 0 10px rgba(63, 185, 80, 0.5);
}

/* Input Area */
.input-area {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--text-color);
    padding-top: 10px;
}

.prompt-arrow {
    margin-right: 10px;
    font-weight: bold;
}

#user-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 16px;
    outline: none;
}

#send-btn {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: bold;
}

.nda-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 14px;
}

.login-box input[type="checkbox"] {
    width: auto; 
    margin: 0;
    cursor: pointer;
}

.nda-container label {
    cursor: pointer;
}