/* Layout styles - Header, containers, grid */

/* Desktop: fill the viewport as a fixed column (header / scrolling main / footer)
   so the page itself never scrolls — the chat stays put and each panel scrolls
   internally. Mobile (<=768px) reverts to normal document flow (see mobile.css). */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header — minimal: fixed 50px, single left-justified row */
.header {
    flex: 0 0 50px;
    height: 50px;
    background: #d97706;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.logo-name {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.85rem;
    color: #fef3c7;
    line-height: 1;
}

/* Status Bar */
.status-bar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    text-align: center;
}

.status {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: #059669;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
    background-color: #10b981;
}

/* Main Layout — full width (no centered card), fills the space below the header;
   the chat-container inside stretches so its two panels scroll independently. */
.main-container {
    max-width: none;
    width: 100%;
    margin: 0;          /* override .container's `margin: 0 auto`, which (with auto
                           side margins) collapses the flex item to content width */
    padding: 0;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}