@font-face {
    font-family: "Nunito";
    src: url("./assets/fonts/Boddrex-Light.ttf") format("truetype");
}
/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ensure body takes full viewport height */
    overflow: hidden; /* Prevent scrolling outside the viewport */
    background: #c77dff;
}

/* Top Navigation Bar */
.top-nav-bar {
    width: 100%;
    background: linear-gradient(to right, #660066, #1a001a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-sizing: border-box;
    margin-bottom: 2px;
}
.video-logo {
    position: absolute;
    top: 10px; /* Distance from the top edge */
    left: 10px; /* Distance from the left edge */
    z-index: 2; /* Ensure it stays on top of the video */
}

.video-logo img {
    height: 100px; /* Adjust the height of the logo */
    width: auto; /* Maintain the aspect ratio */
}
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 5px;
    margin-top: 5px;
}
/* Video Background */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Content Container */
.content-container {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Adjust width to suit your layout */
    justify-content: space-between;
    align-items: center;
}

/* Caption Styles */
.caption {
    flex: 1; /* Occupy available space */
    color: white;
    text-align: left;
    padding-right: 20px; /* Add spacing between caption and login form */
}

.caption h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Add subtle shadow for better visibility */
    font-family: Nunito;
    letter-spacing: 2px;
}

.caption p {
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add subtle shadow for better visibility */
}

/* Login Container */
.login-container {
    flex-shrink: 0; /* Prevent shrinking */
    background: rgba(255, 255, 255, 0.707);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: 300px;
    text-align: center;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #660066;
    font-size: 24px;
}

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #660066;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #4a003b;
}

/* General styles remain the same */
/* Add media queries for responsiveness */

@media (max-width: 768px) {
    /* Adjust video container and content */
    .video-container {
        height: 100vh;
    }

    .content-container {
        flex-direction: column; /* Stack elements vertically */
        top: 55%; /* Adjust for better alignment */
        width: 90%; /* Reduce width on smaller screens */
    }

    .caption {
        text-align: center; /* Center-align text for mobile */
        padding-right: 0; /* Remove padding */
        margin-bottom: 20px; /* Add space between caption and login form */
    }

    .caption h1 {
        font-size: 32px; /* Reduce font size */
        margin-bottom: 10px;
    }

    .caption p {
        font-size: 16px; /* Adjust text size */
        line-height: 1.4;
    }

    /* Adjust login container */
    .login-container {
        width: 100%; /* Take full width of the screen */
        padding: 20px; /* Reduce padding */
        margin-bottom: 10px; /* Add space below the login container */
    }

    .login-form h2 {
        font-size: 20px; /* Reduce heading size */
    }

    .input-field {
        font-size: 14px; /* Adjust input text size */
        padding: 8px; /* Adjust padding */
    }

    .login-button {
        font-size: 14px; /* Reduce button text size */
        padding: 10px;
    }
    .video-logo img {
        height: 40px; /* Adjust the height of the logo */
        width: auto; /* Maintain the aspect ratio */
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .caption h1 {
        font-size: 24px; /* Further reduce font size */
    }

    .caption p {
        font-size: 14px; /* Adjust text size */
    }

    .login-container {
        padding: 15px; /* Reduce padding */
    }

    .input-field {
        padding: 8px; /* Adjust input padding */
    }

    .login-button {
        font-size: 14px; /* Reduce button font size */
    }
}

/* Main Layout */
.main-layout {
    display: flex;
    height: 100%; /* Occupy the full viewport height */
    overflow: hidden; /* Prevent layout from overflowing */
    
}

/* Sidebar */
.sidebar {
    width: 5%;
    background: linear-gradient(to bottom, #660066, #1a001a); /* Gradient from top to bottom */
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    height: 100%; /* Match the parent height */
    border-top-right-radius: 10px;
}

.sidebar-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.sidebar-header a{
    color:#fff;    
}
.sidebar-header span{
    text-align: center;
    padding: 10px;
    background: #c77dff;
    margin: 2px;  
    box-shadow:0px 0px 5px black;
}
.sidebar-header span:hover{    
    background: #4a003b;
     
}
.home-btn,
.logout-btn {
    background-color: rgb(111, 8, 121);
    color: #ffffff;
    border: none;
    padding: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}

.home-btn:hover,
.logout-btn:hover {
    background-color: #4a154b;
}

.profile-photo-container {
    margin-top: auto;
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.profile-photo:hover {
    transform: rotate(360deg); /* Rotate 360 degrees */
}

/* Users List */
.users-list {
    width: 35%;
    background-color: #360432;
    color: rgb(238, 238, 238);
    padding: 20px;
    height: 100%; /* Match the parent height */
    overflow-y: auto; /* Add vertical scrolling if necessary */
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; 
    border-radius:10px;
    box-shadow: 0px 0px 5px black;
    margin-left: 2px;
}

.stall-list {
    flex-grow: 1;
    overflow-y: auto; /* Add a scrollbar to this section */
    margin-bottom: 5px; /* Space between stalls and Customer Support */
    scrollbar-width: none;
    
}

/* Customer Support Section */
.customer-support-heading {
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0;
    padding: 5px;
    background-color: #4a154b;
    color: white;
    text-align: center;
}

.customer-support {
    padding: 5px;
    background-color: rgb(51, 1, 40);
    
    overflow: hidden; /* No scrollbar for this section */
    
    
}

/* Ensure user items display properly */
.user-item {
    display: flex;
    align-items: center; /* Centers child elements vertically */
    margin-bottom: 1px;
    /*background-image: url('./assets/images/bg1.jpg'); */
    background: #7c1b69;
    background-size: cover; 
    background-repeat: no-repeat;
    padding: 5px;
    border-radius:10px;
}

.user-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: auto; /* Remove any top margin interfering with alignment */
    margin-bottom: auto;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}
.user-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 5px;
    box-shadow: 0px 0px 5px black;;
    
}

.user-item:last-child {
    border-bottom: none;
}

.user-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border:1px solid white;
    box-shadow:0px 0px 5px black;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    font-size: 14px;
}

.user-nickname {
    font-size: 14px;
    color: #777;
}

.user-status {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: rgb(228, 227, 227);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.green {
    background-color: green;
}

.red {
    background-color: red;
}

/* Work List */
.work-list {
    width: 25%;
    background-color: #c77dff;
    background: url("./assets/images/bg2.jpg");
    color: #333;
    padding: 10px;
    height: 100%; /* Allow the work-list to take up full height of its container */
    border-radius: 10px;
    margin-left: 2px;
    display: flex;
    flex-direction: column;
}

.work-list h4 {
    text-align: center;
    color: white;
    margin: 0; /* Remove extra space around the h4 */
}

.work-list .scroll {
    flex-grow: 1; /* Allow the scroll container to take up available space */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
    
    margin-top: 10px; /* Space between heading and scrollable content */
    height:75%;
    scrollbar-width: none;
}
.work-list input {
    margin-top: 10px; /* Space between h4 and input */
    padding: 5px;
    font-size: 16px;
    border: none;
    border-radius: 10px; /* Rounded corners */
    outline: none; /* Remove default focus outline */
    background-color: #fff;
    color: #360432; /* Matching the text color from .work-item */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    width: calc(100% - 20px); /* Take up full width minus padding */
    transition: background-color 0.3s, border-color 0.3s; /* Smooth transition for focus */
}

.work-list input:focus {
    background-color: #360432; /* Dark background on focus */
    color: white; /* White text on focus */
    border: 1px solid #c77dff; /* Highlight border with the purple color */
    box-shadow: 0 0 10px rgba(199, 125, 255, 0.8); /* Glowing effect on focus */
}
.work-item {
    margin-bottom: 5px;
    font-size: 14px;
    border: 1px solid #360432;
    padding: 5px;
    text-align: left;
    box-shadow: 0px 0px 3px black;
    background: #360432;
    cursor: pointer;
    position: relative;
}

.work-item .calert {
    background: red;
    padding: 1px 5px;
    border-radius: 20px;
    font-size: 10px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: white;
}

.work-item:hover {
    background: #4a154b;
}

/* Chat Window */
.chat-window {
    flex-grow: 1;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%; /* Match the parent height */
    margin-left: 2px;
    border-radius: 10px;
}

/* Chat Messages */
.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto; /* Enable vertical scrolling for chat messages */
    box-sizing: border-box;
}

/* Chat Message Styles */
.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.message.user {
    text-align: left;
}

.message.other {
    text-align: right;
    flex-direction: row-reverse;
}

.message-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.message.other .message-header {
    margin-left: 10px;
    margin-right: 0;
}

.message-user-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow:0px 0px 5px black;
    border:1px solid white;
}

.message-time {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.message-text {
    padding: 10px;
    background-color: #f4f4f5;
    border-radius: 25px;
    display: inline-block;
    max-width: 60%;
    word-wrap: break-word;
}

/* Chat Input */
.chat-input {
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Ensure spacing between elements */
    padding: 10px;
    background-color: #fff;
    box-sizing: border-box;
    gap: 10px; /* Add uniform spacing between elements */
}

.chat-input form {
    display: flex;
    align-items: center; /* Ensure content in forms aligns vertically */
    margin: 0; /* Remove default margin of form elements */
}

.chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%; /* Ensure input adjusts to available space */
    box-sizing: border-box;
}

.chat-input button {
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-input .attach-btn {
    background-color: #f0f0f0;
    color: #333;
    margin: 0; /* Remove extra margins */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Ensure consistent button size */
    height: 40px;
}

.chat-input .attach-btn.picture-btn {
    background-color: #f8d7da; /* Light red */
}

.chat-input .attach-btn.pdf-btn {
    background-color: #d4edda; /* Light green */
}

.chat-input .attach-btn.audio-btn {
    background-color: #d1ecf1; /* Light blue */
}

.chat-input button:not(.attach-btn) {
    background-color: #4a154b;
    color: white;
    padding: 10px 15px; /* Ensure consistent padding for send button */
}

.chat-input form:last-child {
    flex-grow: 1; /* Allow the last form (input + send) to take remaining space */
}


  /* width */
  ::-webkit-scrollbar {
    width: 2px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }
/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a001a;
    color: white;
    text-align: center;
    padding: 10px 0;
    display: none; /* Hidden by default */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional for better visibility */
  }
  
