         /* Full-screen chatbot container */
        body, html {
            height: 100%;
            margin: 0;
            font-family: 'Arial', sans-serif;
            background: #000; /* Black background */
            color: #fff; /* White text */
            overflow: hidden;
        }

        /* Main Layout */
        .main-container {
            display: flex;
            height: 100%;
        }

        /* Sidebar */
        .sidebar {
            width: 250px;
            background: #111; /* Dark gray */
            padding: 20px;
            transition: width 0.3s ease;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        }

        .sidebar.collapsed {
            width: 60px;
        }

        .sidebar.collapsed .sidebar-item span {
            display: none;
        }

        .sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .sidebar-header h3 {
            color: #fff; /* White text */
            margin: 0;
        }

        .sidebar-header button {
            background: none;
            border: none;
            color: #fff; /* White text */
            cursor: pointer;
        }

        .sidebar-item {
            display: flex;
            align-items: center;
            padding: 10px;
            color: #fff; /* White text */
            text-decoration: none;
            border-radius: 5px;
            margin-bottom: 10px;
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .sidebar-item:hover {
            background: #333; /* Light gray */
            transform: translateX(5px);
        }

        .sidebar-item i {
            margin-right: 10px;
        }

        /* Chatbot Container */
        .chatbot-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            box-sizing: border-box;
        }

        /* Chatbot Header */
        .chatbot-header {
            background: #111; /* Dark gray */
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            color: #fff; /* White text */
            font-size: 1.5rem;
            font-weight: bold;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        /* Chatbot Body */
        .chatbot-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #111; /* Dark gray */
            border-radius: 10px;
            margin: 20px 0;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        }

        /* Chatbot Messages */
        .message {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Bot ke message left side pe rahe */
    margin-bottom: 15px;
    animation: fadeIn 0.5s ease;
}

 

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .message.user {
    align-items: flex-end; /* User ke message right side pe rahe */
}

.message p {
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    background: #333;
    color: #fff;
    margin-bottom: 5px; /* Icons ke liye jagah banae */
}
        .message.bot {
            justify-content: flex-start;
        }

        

        @keyframes slideIn {
            from { transform: translateX(-10px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .message.user p {
            background: #444; /* Darker gray */
            color: #fff; /* White text */
        }

        /* File Upload Preview */
        .file-preview {
            margin-top: 10px;
            display: flex;
            align-items: center;
        }

        .file-preview img {
            max-width: 100px;
            border-radius: 5px;
            margin-right: 10px;
        }

        .file-preview a {
            color: #fff; /* White text */
            text-decoration: none;
        }

        .file-preview a:hover {
            text-decoration: underline;
        }

        /* Chatbot Input Area */
        .chatbot-input {
            display: flex;
            gap: 10px;
            background: #111; /* Dark gray */
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        .chatbot-input input[type="text"] {
            flex: 1;
            padding: 10px;
            border: 1px solid #444; /* Light gray */
            border-radius: 5px;
            background: #000; /* Black */
            color: #fff; /* White text */
        }

        .chatbot-input input[type="file"] {
            display: none;
        }

        .chatbot-input label {
            background: #444; /* Light gray */
            color: #fff; /* White text */
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .chatbot-input label:hover {
            background: #555; /* Lighter gray */
        }

        .chatbot-input button {
            background: #444; /* Light gray */
            color: #fff; /* White text */
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .chatbot-input button:hover {
            background: #555; /* Lighter gray */
        }

        /* Voice Bot Container */
        .voice-bot-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            background: #000; /* Black background */
            height: 100%;
        }

        .voice-bot-container h1 {
            color: #fff; /* White text */
            margin-bottom: 20px;
        }

        #voiceButton {
            background: #444; /* Light gray */
            color: #fff; /* White text */
            border: none;
            padding: 15px 30px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        #voiceButton:hover {
            background: #555; /* Lighter gray */
        }

        #stop {
            background: #ff6b6b; /* Red color */
            color: #fff; /* White text */
            border: none;
            padding: 15px 30px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            transition: background 0.3s ease;
            margin-top: 10px;
        }

        #stop:hover {
            background: #ff5252; /* Darker red on hover */
        }

        #output {
            margin-top: 20px;
            font-size: 1.1rem;
            color: #fff; /* White text */
            background: #111; /* Dark gray */
            padding: 15px;
            border-radius: 10px;
            width: 80%;
            max-width: 600px;
        }

        /* Modal Styling */
        .modal-content {
            background: #000; /* Black background */
            border: 1px solid #444; /* Light gray */
            border-radius: 10px;
        }

        .modal-header {
            border-bottom: 1px solid #444; /* Light gray */
        }

        .modal-title {
            color: #fff; /* White text */
        }

        .btn-close {
            background-color: #fff; /* White text */
            border-radius: 50%;
        }

        .modal-body {
            padding: 20px;
        }

        .modal-footer {
            border-top: 1px solid #444; /* Light gray */
        }
    
       
      
 

        .iconsContainer {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: -5px; /* Instead of <br> */
}


.iconsContainer button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
}

.iconsContainer button i {
  color: #666;
  transition: 0.3s;
}

.iconsContainer button:hover i {
  color: #000;
}
/* Small Devices (Phones) */
@media screen and (max-width: 576px) {
    .sidebar {
        width: 60px;
        padding: 10px;
    }

    .sidebar.collapsed {
        width: 0;
        padding: 0;
    }

    .sidebar-header h3,
    .sidebar-item span {
        display: none;
    }

    .chatbot-container {
        padding: 10px;
    }

    .chatbot-body {
        padding: 10px;
        margin: 10px 0;
    }

    .chatbot-input {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }

    .chatbot-input input[type="text"] {
        width: 100%;
    }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 80px;
        padding: 15px;
    }

    .sidebar.collapsed {
        width: 0;
    }

    .sidebar-item span {
        display: none;
    }

    .chatbot-container {
        padding: 15px;
    }

    .chatbot-body {
        padding: 15px;
        margin: 15px 0;
    }

    .chatbot-input {
        padding: 12px;
    }
}

/* Large Devices (Laptops) */
@media screen and (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .chatbot-container {
        padding: 20px;
    }

    .chatbot-body {
        padding: 20px;
        margin: 20px 0;
    }
}

    