body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0f0f0f;
    color: white;
}

.app {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}

h1 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 10px;
}

.subtitle {
    color: #999;        
    margin-top: -15px; 
    text-align: center; 
}

.chat-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px;
}

.message {
    padding: 14px 18px;
    border-radius: 16px;
    line-height: 1.5;
    max-width: 75%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.message.assistant {
    background-color: #1f1f1f;
    align-self: flex-start;
}

.message.user {
    background-color: #2b2b2b;
    align-self: flex-end;
}

.input-area {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 90%);
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    outline: none;
    background-color: #1e1e1e;
    color: white;
}

#user-input::placeholder {
    color: #888888;
}

#send-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 999px;
    background-color: white;
    color: black;
    font-size: 16px;
    cursor: pointer;
}

#send-btn:hover {
    opacity: 0.9;
}

#send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.brand-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 150px;   /* make it big */
    height: auto;
}

.brand-title h1 {
    margin: 0;
    position: relative;
    left: -50px;   /* 🔥 pulls text over logo */
}