/* ============================================================
   index_styles.css — Terminal + auth forms (desktop public shell)
   Header / logo / nav / hamburger live in:
     css/shared/main_theme.css + css/shared/header-responsive.css
   Do not re-hide .hamburger-icon here (it broke narrow desktop mode).
   ============================================================ */

/* --- 1. THE TERMINAL FRAME --- */
.terminal-main-frame {
    height: calc(100vh - 410px);
    display: flex;
    padding: 10px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.ai-terminal-box {
    width: 100%;
    display: flex;
    padding: 25px 40px !important;
    margin: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    border: var(--border-style);
    box-shadow: var(--neon-glow);
    border-radius: 4px;
    overflow: hidden;
}

#ai-response-area {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.query-sticky-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #000;
    border-top: var(--border-style);
    flex-shrink: 0;
}

#ai-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--primary-green);
    outline: none;
    font-family: var(--crt-font);
    font-size: 1.1rem;
}

/* --- 2. AUTH FORMS --- */
.terminal-main-frame.auth-view {
    height: auto;
    min-height: calc(100vh - 400px);
    padding-top: 10px;
}

.ai-terminal-box.auth-box {
    max-width: 450px !important;
    padding: 15px 35px !important;
    margin-top: 0 !important;
}

.auth-box h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.auth-box p {
    margin-bottom: 20px;
    line-height: 1.4;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Scrollbar */
#ai-response-area::-webkit-scrollbar {
    width: 6px;
}
#ai-response-area::-webkit-scrollbar-thumb {
    background: var(--primary-green);
}
