* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #0b1020;
    color: #f5f5f5;
}

.app-container {
    max-width: 900px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}
.logo span {
    color: #4ade80;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.chat-window {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.message.user {
    justify-content: flex-end;
}

.message.user .bubble {
    background: #2563eb;
    color: #fff;
    border-radius: 16px 16px 0 16px;
}

.message.bot .bubble {
    background: #111827;
    color: #e5e7eb;
    border-radius: 16px 16px 16px 0;
}

.bubble {
    padding: 10px 14px;
    max-width: 70%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #4ade80;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-input-area {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

#user-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #020617;
    color: #e5e7eb;
    outline: none;
}

#user-input:focus {
    border-color: #4ade80;
}

button[type="submit"] {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #4ade80;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.internal-info {
    margin-top: 4px;
    font-size: 0.8rem;
    opacity: 0.8;
}
