/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0dcea5;
    padding: 10px 20px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
    margin: 0;
    font-size: 24px;
}

.burger-icon, .profile-icon {
    cursor: pointer;
    font-size: 20px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #2c3e50;
    position: fixed;
    top: 0;
    left: -250px;
    transition: left 0.3s ease;
    padding-top: 60px;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #34495e;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar ul li a i {
    margin-right: 10px;
}

.sidebar ul li:hover {
    background-color: #34495e;
}

/* Main Content */
.main-content {
    margin-left: 0;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.main-content.active {
    margin-left: 250px;
}

/* Chat Container */
.chat-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

#chat-box {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.user-message {
    background-color: #0dcea5;
    color: white;
    align-self: flex-end;
}

.bot-message {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
}

/* Input Section */
.input-section {
    display: flex;
    justify-content: space-between;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #0dcea5;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button i {
    margin-right: 5px;
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.profile-dropdown.active {
    display: block;
}

.profile-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-dropdown ul li {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.profile-dropdown ul li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.profile-dropdown ul li a i {
    margin-right: 10px;
}

.profile-dropdown ul li:hover {
    background-color: #f4f4f9;
}