@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@300;400;600&display=swap');

/* Root variables */
:root {
    --primary-color: #626a9b;
    --second-color: #626a9b;
    --third-color: #fdc381;
    --chat-color: #332F54;
    --profile-color: #fdc381;
    --font-family: "Cabin", sans-serif;
}

/* General styles for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    position: relative;
}

/* Body styles */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    padding: 0;
}

/* Add to styles-messaging.css */
header {
  background: linear-gradient(135deg, #4B0082 0%, #6B22AB 50%, #4B0082 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  padding: 1.2rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--medium-shadow);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 17rem;
  justify-content: flex-start;
}

/* Logo Group - stays left */
.logo-group {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevents shrinking */
    margin-right: auto;
}

.nav-wrapper {
    margin-left: auto; /* Magic right-align */
}

nav#navbar1 {
    margin-left: auto; /* Minimum space between logo and nav */
}

.logo-title1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.gold-text,
.section-title.gold,
.column-item i,
.logo-title1 .connect {
  background: var(--metallic-gold);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  animation: goldShine 6s ease-in-out infinite;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.logo-title1 .lumu {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.content-wrapper {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    padding-top: 80px;
    margin: 0 auto;
    display: flex;
    padding-bottom: 0px;
}

.logo1 {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

/* Navbar */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

nav ul li a {
    transition: background 0.3s ease;
    display: block;
    color: #2b2b2b;
    text-decoration: none;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

nav ul li a:hover {
    background: #E0E0E0;
    border-radius: 5px;
    color: inherit;
    text-decoration: none;
}

/* Hamburger Icon */
a {
    text-decoration: none;
    cursor: pointer;
}

/* Replace the existing nav styles with these */
nav#navbar1 ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav#navbar1 ul li a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

nav#navbar1 ul li a:hover {
    background: var(--gold-gradient);
    color: var(--cadbury-purple);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

/* Keep the existing hamburger styles but update them */
.hamburger1 {
  display: none;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

.hamburger1:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu styles */
@media (max-width: 1024px) {

    .header-container {
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }

    .logo-title1 {
      font-size: 1.2rem;
    }

    .hamburger1 {
      display: block;
      margin-left: auto;
    }

    .logo-group {
        display: flex;
        align-items: center;
    }

    nav#navbar1 ul {
        display: none;
        position: fixed;
        top: 70px; /* Match header height */
        left: 0;
        right: 0;
        background: var(--cadbury-purple-dark);
        padding: 20px 0;
        flex-direction: column;
    }

    nav#navbar1 ul.active {
        display: flex;
    }

    nav#navbar1 ul li {
        width: 100%;
        text-align: center;
        margin: 0.2rem 0;
    }

    nav#navbar1 ul li a {
        display: block;
        padding: 1.2rem 2rem;
        margin: 0;
        border-radius: 0;
        transition: all 0.2s ease;
        text-align: center;
    }

    nav#navbar1 ul li a:hover {
        background: var(--gold-gradient);
        color: var(--cadbury-purple);
        transform: none;
    }
}

button,
input {
    background: none;
    border: none;
    outline: none;
}

i {
    font-size: 26px;
    cursor: pointer;
    color: white;
}

i:hover {
    filter: brightness(2);
}

.logo-icon,
.search-icon {
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    background: #333;
    color: white;
    width: 100%;
    margin: 0;
    margin-top: auto;
    font-family: 'Poppins', sans-serif;
}

/* Adjust header, main, and footer to fill container */
header, .main-content, footer {
    width: 100%;
    box-sizing: border-box; /* Include padding in total width */
}

/* Logo and Title */
.logo-container1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}


.logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.logo-title {
    font-size: 25px;
    color: black;
    font-weight: bold;
    font-family: 'Dancing Script', cursive;
}

.chat-icon {
    color: var(--third-color);
}

/* Main container styles */
.main-container {
    max-width: 6000px;
    width: 100%;
    min-height: 55vh;
    height: 100%;
    background: var(--primary-color);
    border-radius: 0px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 0px solid #E2D3F4;
    padding: 0;
    margin: 0;
    flex: 1;
}

/* Navbar styles */
.navbar {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 20px 4%;
}

.nav-left,
.nav-right {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-logo {
    width: 120px;
}

.search-bar {
    width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #E2D3F4;
    padding: 8px 8px 8px 13px;
    border-radius: 0px;
    position: relative;
}

.search-bar img {
    width: 22px;
    height: 22px;
}

.search-bar input {
    width: 100%;
    font-size: 17px;
    font-weight: 400;
    padding-left: 12px;
    color: var(--chat-color)
}

/* Container for search results */
.search-results {
    position: absolute;
    top: 100%; /* Position the results below the input field */
    left: 0;
    width: 100%; /* Make the dropdown take the same width as the input */
    max-height: 120px;
    overflow: hidden;
    background-color: #E2D3F4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Styling for the search input field */
.search-bar input {
    width: 100%;
    padding: 8px 30px 8px 30px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

/* Styling for each result item */
.search-result-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.search-result-item:hover {
    background-color: #626a9b;
}

/* No results message */
.no-results-message {
    padding: 10px;
    font-size: 14px;
    color: #999;
}

/* Styling for the bottom search results */
.bottom-sec .search-bar {
    margin-top: 10px;
}

/* Limit the number of items shown to 3 */
.search-result-item:nth-child(n+4) {
    display: none; /* Hide any items beyond the 3rd one */
}

/* Styling for each result item */
.search-result-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.setting {
    width: 30px;
}

.profile-link {
    position: relative;
}

.profile-link img {
    width: 40px;
    border-radius: 50%;
    border: 3px solid var(--profile-color);
}

.profile-link::after {
    content: '';
    width: 13px;
    height: 13px;
    background: greenyellow;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
}

.bottom-sec {
    height: calc(100vh - 150px);
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 4% 50px 4%;
    gap: 20px;
    overflow: hidden;
    width: 90%; /* Reduced width to allow for margin */
    position: relative;
}

.side-menu {
    width: 250px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

.side-menu::-webkit-scrollbar {
    display: none;
}

.side-menu ul {
    list-style-type: none;
    background: #3C3E69;
    padding: 40px 20px 20px 20px;
    border-radius: 20px;
}

.side-menu ul li {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.side-menu ul li:first-child {
    margin-top: 0;
}

.side-menu ul li img {
    width: 25px;
}

.side-menu ul li a {
    text-decoration: none;
    color: #E2D3F4;
    font-weight: 500;
    font-size: 18px;
    transition: 0.4s;
}

.side-menu ul li a:hover,
.side-menu ul li .active-link {
    color: #fff;
}

.contacts {
    width: 100%;
    height: fit-content;
    margin-top: 20px;
}

/* Chat item styles */
.chat {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    background: #3C3E69;
    padding: 10px 20px;
    border-radius: 15px;
    transition: 0.4s;
}

.chat img {
    width: 35px;
    border-radius: 50%;
    border: 3px solid var(--profile-color);
}

.chat p {
    font-size: 17px;
    color: white;
    font-weight: 500;
    transition: 0.4s;
}

.chat:hover {
    background: #E2D3F4;
}

.chat:hover p {
    color: var(--chat-color)
}

.contactstion {
    width: 100%;
    max-width: 900px; /* Adjust this value as needed */
    height: 100%;
    margin: 0 auto;
    background: #3C3E69;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-grow: 1;
}


.chat-header {
    width: 100%;
    height: fit-content;
    padding: 10px 4% 5px 4%;
    border-bottom: 2px solid #544F7E;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-top: 5px;
}

.profile-link-main {
    position: relative;
}

.profile-link-main::after {
    content: '';
    width: 13px;
    height: 13px;
    background: greenyellow;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    z-index: 20;
}

.profile-link-header h2 {
    margin-top: -8px;
    color: #E2D3F4;
}

/* Input area styles */
.input-area {
    width: 100%;
    height: 65px;
    border-top: 2px solid #544F7E;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    padding: 12px 4%;
    background: #3C3E69;
}

/* Input area styles */
.input-area-message {
    width: 100%;
    height: 65px;
    border-top: 2px solid #544F7E;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    padding: 12px 4%;
    background: var(--chat-color)
}
.input-area img {
    width: 25px;
}

.input-area-message img {
    width: 25px;
}
.message-input-form {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    border: 2px solid #544F7E;
    padding: 10px 15px;
    border-radius: 15px;
}

.message-input-form-1 {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    border: 2px solid #544F7E;
    padding: 10px 15px;
    border-radius: 15px;
}

.message-input-form input {
    flex-grow: 1;
    font-size: 16px;
    color: #E2D3F4;
}

.message-input-form-1 input {
    flex-grow: 1;
    font-size: 16px;
    color: #E2D3F4;
}

.message-input-form input::placeholder {
    color: #9386a2;
}

.message-input-form-1 input::placeholder {
    color: #9386a2;
}

/* All chat container styles */


/* Add these styles for chat messages */
.message-item {
    background: #3C3E69;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    color: white;
}

.message-item p {
    margin: 0;
}

.message-item small {
    color: #E2D3F4;
    font-size: 12px;
}

.message-item img {
    width: 40px;
    border-radius: 50%;
    border: 3px solid var(--profile-color);
}

.message-content h4 {
    color: var(--profile-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.message-content p {
    color: white;
}

.my-message {
    margin-left: 40%;
    background: var(--second-color);
}

.message-content h4 span {
    color: #E2D3F4;
}

/* Menu button styles for mobile */
.menu-btn {
    display: none;
}

.menu-btn img {
    width: 27px;
}

.side-menu .search-bar {
    display: none;
}

/* Style for the Profile header */
.profile-header {
    font-family: Poppins; /* Set font to cursive */
    color: white; /* Set text color to white */
    font-size: 1.5rem;
    margin-bottom: 0px;
}

/* Center the ri-more-2-fill icon */
.more-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

/* General styling for the profile section */
.all-chat {
    font-family: Arial, sans-serif; /* Set font to cursive */
    color: white; /* Set text color to white */
    padding: 20px; /* Add some padding around the content */
    border-radius: 10px; /* Rounded corners */
    max-width: 100%; /* Limit width for better readability */
    margin: 0 auto; /* Center the container */
    overflow-y: auto; /* Enable vertical scrolling */
    flex-grow: 1;
    height: auto;
    padding: 15px 4% 0 4%;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 90px;
}

/* General styling for the profile section */
.all-chat.expanded {
    height: 600px;
    overflow-y: auto;
}

/* Styling for each field */
.field {
    margin-bottom: 15px; /* Space between fields */
}

.field label {
    display: block; /* Make labels block elements */
    margin-bottom: 5px; /* Space between label and input */
    font-weight: bold; /* Bold labels */
}

.field input,
.field select,
.field textarea {
    width: 100%; /* Full width inputs */
    padding: 8px; /* Padding inside inputs */
    border: 1px solid #555; /* Border color */
    border-radius: 5px; /* Rounded corners for inputs */
    background-color: #444; /* Darker background for inputs */
    color: white; /* White text for inputs */
    font-family: Poppins; /* Cursive font for inputs */
}

.field textarea {
    resize: vertical; /* Allow vertical resizing of textarea */
}

.hidden {
    display: none !important;
}

/* Styling for the Update Profile button */
.update-button {
    display: block; /* Make button a block element */
    width: 100%; /* Full width button */
    padding: 10px; /* Padding inside button */
    background-color: #332F54; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    font-family: Poppins; /* Cursive font */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Pointer cursor on hover */
    margin-top: 40px; /* Space above the button */
}

.update-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* General chat container styling */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

/* Style for the delete button */
.delete-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 0px 0px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 0.5px;
}

.delete-button:hover {
    background-color: #ff1a1a;
}

/* CSS for replies */
.replies {
    margin-left: 20px; /* Indent replies */
    border-left: 2px solid #ccc; /* Add a vertical line to indicate hierarchy */
    padding-left: 10px; /* Add some padding */
}

/* CSS for reply button */
.reply-button {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Gray state when active (clicked) */
.reply-button:active {
    background-color: #4CAF50; /* Gray background */
}

/* Gray state when hovering */
.reply-button:hover {
    background-color: #4CAF50; /* Gray background */
}

.reply {
    margin-top: 10px; /* Space between replies */
    padding: 5px;
    border-radius: 5px;
}

/* CSS for grayed-out reply button */
.reply-button.disabled {
    background-color: #ccc; /* Gray background */
    cursor: not-allowed; /* Change cursor to indicate it's not clickable */
    opacity: 0.7; /* Reduce opacity */
}

/* Styling for individual messages */
.message {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    max-width: 70%;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

/* User's messages (aligned to the right) */
.message.sent {
    align-self: flex-end;
    background-color: #dcf8c6;
    margin-left: auto;
}

/* Others' messages (aligned to the left) */
.message.received {
    align-self: flex-start;
    background-color: #ececec;
    margin-right: auto;
}

/* Message sender's name */
.message strong {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

/* Unique sender's name */
.message .special-name {
    color: #D4AF37; /* Gold color for example */
    font-size: 12px;
    margin-bottom: 5px;
}

/* Message text */
.message p {
    margin: 0;
    font-size: 14px;
    color: #000;
}

/* Message timestamp */
.message small {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
}

/* Message actions (like, dislike, reply buttons) */
.message-actions {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.message-actions button {
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.message-actions button:hover {
    background-color: #ddd;
}

/* Chat input area */
.chat-input {
    display: flex;
    gap: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.chat-input button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.chat-input button:hover {
    background-color: #0056b3;
}

.notifications-content {
    padding: 20px;
    background-color: none;
    border-radius: 8px;
    max-height: 900px;
    overflow-y: auto;
}

.notification {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f4e1d9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.notification-item {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f4e1d9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.notification p {
    margin: 0;
    font-size: 14px;
    color: black;
}

.notification small {
    color: black;
    font-size: 12px;
}

#notifications-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px; /* Add space for scrollbar */
}

.notification-item p {
    margin: 0;
    font-size: 14px;
    color: black;
}

.notification-item small {
    color: black;
    font-size: 12px;
}

/* Responsive styles for max-width 800px */
@media(max-width: 800px){
    .menu-btn{
        display: block;
    }

    .logo-title1 {
      font-size: 1.2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed; /* Ensures it supersedes everything */
        top: 52px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #C6D5E9;
        width: 100%;
        padding: 10px 0;
    }
    nav ul li {
        margin: 5px 0;
        text-align: center;
        width: 100%;
        font-size: 16px;
    }
    nav#navbar1.active ul {
        display: flex;
    }
    .main-container {
        flex: 1;
        min-height: 50vh;
        box-sizing: border-box;
        padding: 10px;
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    .content-wrapper {
	padding-top: 75px;
	padding-bottom: 0px;
    }
    .chat-area {
	height: calc(100vh - 250px);
    }
    footer {
        text-align: center;
        padding: 20px;
        background: #333;
        color: white;
        width: 100%;
        font-family: 'Poppins', sans-serif;
        margin-top: auto;
        box-sizing: border-box;
    }
    .side-menu {
        width: 280px;
        position: absolute;
        top: 0;
        left: -280px;
        z-index: 1000;
        background: #49426E;
        padding: 20px;
        transition: left 0.4s ease;
    }
    .side-menu.active-link {
        left: 0;
    }
    .side-menu ul {
        width: 100%;
        padding: 20px 20px 10px 20px;
    }
    .side-menu ul li {
        margin: 12px 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .side-menu ul li img {
        width: 22px;
    }
    .side-menu ul li a {
        font-size: 16px;
    }
    .contacts {
        margin-top: 10px;
    }
    .chat {
        gap: 12px;
        margin: 8px 0;
        padding: 8px 17px;
    }
    .chat img {
        width: 30px;
        border: 2px solid var(--profile-color);
    }
    .chat p {
        font-size: 14px;
    }
    .nav-right .search-bar {
        display: none;
    }
    .side-menu .search-bar {
        display: flex;
        width: 100%;
        padding: 8px 8px 8px 10px;
        margin-bottom: 20px;
    }
    .search-bar img {
        width: 20px;
        height: 20px;
    }
    .search-bar input {
        font-size: 16px;
        padding-left: 10px;
    }
    .navbar {
        padding: 15px 4%;
    }
    .nav-left {
        gap: 25px; /* Reduce gap between items */
    }

    .nav-right {
        flex-direction: column;
        margin-top: 0px; /* Add space between nav-left and nav-right */
    }
    /* Center "Lumu Chat Web App" text */
    .nav-left .app-name {
        display: block; /* Make the text a block element */
        margin-top: 0px; /* Add space between the icon and text */
        font-size: 1.1rem; /* Increase font size for smaller screens */
    }
    .main-logo {
        width: 100px;
    }
    .setting {
        width: 45px;
    }
    .profile-link img {
        width: 30px;
        border: 2px solid var(--profile-color);
    }
    .bottom-sec {
        height: 84vh;
        padding: 0.4% 15px 4%;
    }
    chat-header {
        padding: 20px 4% 0 4%;
    }
    .profile-link-header {
        gap: 12px;
    }
    .profile-link-header .profile-link-main img {
        width: 35px;
        border: 2px solid var(--profile-color);
        margin-bottom: 10px;
    }
    .profile-link-main:after {
        width: 10px;
        height: 10px;
    }
    .profile-link-header h2 {
        font-size: 18px;
    }
    .input-area {
        height: 65px;
        gap: 10px;
        padding: 12px 4%;
        background: var(--chat-color);
    }
    .input-area-message {
        height: 65px;
        gap: 10px;
        padding: 12px 4%;
        background: var(--chat-color);
    }
    .input-area img {
        width: 25px;
    }
    .input-area-message img {
        width: 25px;
    }
    .message-input-form {
        width: 80%;
        gap: 5px;
        padding: 8px 10px;
    }
    .message-input-form-1 {
        width: 80%;
        gap: 5px;
        padding: 8px 10px;
    }
    .message-input-form input {
        width: 80%;
        font-size: 15px;
    }
    .message-input-form-1 input {
        width: 80%;
        font-size: 15px;
    }
     .message-input-form img {
        width: 20px;
    }
     .message-input-form-1 img {
        width: 20px;
    }
    .all-chat {
        height: calc(100% - 120px);
        padding: 15px 4% 0 4%;
        overflow-y: scroll;
    }
    .message-item {
        width: 70%;
        padding: 12px 15px;
	gap: 12px;
	margin-bottom: 10px;
    }
    .message-item img {
	width: 30px;
	border: 2px solid #ffa43d;
    }
    .message-content h4 {
	font-size: 14px;
    }
    .message-content p {
	font-size: 14px;
    }
    .my-message {
	margin-left: 30%;
    }
    /* Style for the Profile header */
    .profile-header {
        font-family: Poppins; /* Set font to cursive */
        color: white; /* Set text color to white */
        align-items: center;
    }

    /* Center the ri-more-2-fill icon */
    more-icon {
        align-items: center;
    }
}

/* Responsive styles for max-width 500px */

@media(max-width: 500px) {
    .message-item {
	max-width: 400px;
	width: 95%;
    }
    .my-message {
	margin-left: 5%;
    }
}
