﻿html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: #333;
    background-color: transparent;
    border: none;
    padding: 2px 1px 2px 1px;
}
small {
    font-size: 12px;
}

/* Chat Container Styling */
.chat-container {
    margin: 0 auto;
    width: 95%;
    max-width: 650px;
    height: 95%; /* Adjust height as needed */
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    border: none;
}

/* Chat Header Styling */
.chat-header {
    background-color: #007bff; /* Primary blue */
    color: white;
    padding: 18px 20px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    border-bottom: 1px solid #0056b3;
    border: 1px solid #e0e0e0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    /* optional: reset bottom corners */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Chat Window (Messages Display Area) Styling */
.chat-window {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #e9ecef; /* Light grey background for chat area */
    display: flex;
    flex-direction: column;
}

.chat-input {
    display: flex;
    padding: 15px 15px;
    border-top: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Individual Message Styling */
.message {
    max-width: 75%;
    padding: 12px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    position: relative;
    font-size: 14px;
}

/* User Message Styling */
    .message.user {
        background-color: #dcf8c6; /* Light green for user messages */
        align-self: flex-end;
        margin-left: auto; /* Pushes to the right */
        border-bottom-right-radius: 5px; /* Sharpen corner for user message */
    }

/* AI Message Styling */
    .message.ai {
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        align-self: flex-start;
        margin-right: auto; /* Pushes to the left */
        border-bottom-left-radius: 5px; /* Sharpen corner for AI message */
    }

.proposal.parent {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping */
    gap: 10px;
    border: none;
}

.proposal.child {
    flex: 1 1 50px; /* Grow, shrink, minimum width */
    border-radius: 15px;
    background: #E0E0E0;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    word-wrap: break-word;
    margin-right: auto; /* Pushes to the left */
    margin-bottom: 12px;
    cursor: pointer;
}

.RoundBorder {
    border-radius: 10px;
}
.ArrowRight {
    padding-top: 8px;
    padding-left: 6px;
}

.chat-footer {
    background-color: #f8f9fa;
    text-align: center;
    font-size: 8pt;
    color: #525252;
    padding-bottom: 12px;
}

/* Scrollbar Styling (Webkit browsers) */
.chat-window::-webkit-scrollbar {
    width: 8px;
}

.chat-window::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chat-window::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.chat-window::-webkit-scrollbar-thumb:hover {
    background: #555;
}





