﻿body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-header {
    height: 60px;
    background: #1a1a1a;
    color: #00ffcc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo-area img {
        height: 35px;
        width: auto;
    }

.home-btn a {
    background-color: #00ffcc;
    color: black;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
}

.chat-body {
    display: flex;
    flex: 1;
    margin-top: 60px;
    margin-bottom: 100px; /* reserve space for footer */
    height: calc(100vh - 160px);
}

.sidebar {
    width: 240px;
    background-color: #1c1c1c;
    padding: 20px;
    border-right: 1px solid #333;
}

    .sidebar h3 {
        color: #00ffcc;
        margin-bottom: 15px;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
    }

    .sidebar li {
        padding: 10px;
        background: #2a2a2a;
        margin-bottom: 10px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.2s;
    }

        .sidebar li:hover {
            background: #3a3a3a;
        }

.main-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #121212;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 70%;
    word-wrap: break-word;
}

    .message.bot {
        background-color: #1f1f1f;
        align-self: flex-start;
        border-left: 4px solid #00ffcc;
    }

    .message.user {
        background-color: #2e2e2e;
        align-self: flex-end;
        border-right: 4px solid #00ffcc;
    }

.chat-input {
    display: flex;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
}

    .chat-input input[type="text"] {
        flex: 1;
        padding: 10px;
        border-radius: 6px;
        border: none;
        outline: none;
        background-color: #2a2a2a;
        color: white;
        font-size: 16px;
        margin-right: 10px;
    }

    .chat-input button {
        background-color: #00ffcc;
        border: none;
        color: black;
        font-size: 18px;
        border-radius: 6px;
        padding: 10px 16px;
        cursor: pointer;
    }

        .chat-input button:hover {
            background-color: #00c9a7;
        }

.footer {
    background: #1c1c1c;
    color: #bbb;
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #2e2e2e;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.4);
}

.footer-left img {
    display: none; /* 👈 No logo in footer now */
}

.footer-left h3 {
    margin: 5px 0;
    font-size: 14px;
    color: #fff;
}

.footer-left p,
.footer-right p {
    margin: 2px 0;
    font-size: 12px;
    color: #bbb;
}


.footer-icons a {
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

    .footer-icons a:hover {
        color: #00ffcc;
    }
