    /* Main Chat Container - Wider for Desktop */
    .ctn-h{
        background: #fff;
        border-radius: 30px;
    }
    .chat-header h3 {
        margin: 0;
        font-size: 18px;
        color: #333;
    }
    
    .queue-status, .rep-name {
        font-size: 14px;
        color: #666;
    }
    
    .rep-name {
        font-weight: 500;
        color: #0B2741;
    }
    .chat-header {
        padding: 15px 20px;
        background: #f8f9fa;
        border-bottom: 1px solid #e1e1e1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .chat-header h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .chat-header .chat-info {
        font-size: 13px;
        color: #ecf0f1;
    }

    /* Message Area - Standard Messaging Layout */
    .message-area {
        height: 60vh;
        min-height: 400px;
        max-height: 700px;
        overflow-y: auto;
        padding: 20px;
        background: #f5f7fa;
        display: flex;
        flex-direction: column;
    }

    /* Message Bubbles - Standard Appearance */
    .message {
        max-width: 70%;
        margin-bottom: 16px;
        padding: 12px 16px;
        border-radius: 18px;
        line-height: 1.4;
        font-size: 15px;
        position: relative;
        word-break: break-word;
    }
    
     .sent {
        background: #0B2741;
        color: white;
        margin-left: auto;
        border-bottom-right-radius: 4px;
    }
    
    .received {
        background: #f1f1f1;
        color: #333;
        margin-right: auto;
        border-bottom-left-radius: 4px;
        box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    }
    
    .message .sender {
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .message.sent .sender {
        color: rgba(255,255,255,0.9);
    }
    
    .message.received .sender {
        color: #555;
    }
    
    .message .time {
        font-size: 11px;
        text-align: right;
        margin-top: 6px;
        opacity: 0.8;
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 40px 20px;
        color: #95a5a6;
        font-size: 15px;
        margin: auto;
    }

    /* Input Area - Standard Form Styling */
    .chat-input-area {
        padding: 16px;
        background: #f8f9fa;
        border-top: 1px solid #e0e3e6;
    }
    
    #chatForm {
        display: flex;
        /* gap: 10px; */
        /* width: 100%; */
    }
    
    #messageInput {
        flex: 1;
        padding: 6px 16px;
        border: 1px solid  #0B2741;
        /* border-radius: 24px; */
        font-size: 15px;
        outline: none;
        transition: border 0.3s;
        width: 100%;
        height: 35px;
    }
    
    #messageInput:focus {
        border-color: #0B2741;
    }
    
    #sendButton {
        /* padding: 6px 24px; */
        background: #0B2741;
        color: white;
        border: none;
        border-radius: 24px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s;
        /* width: 100%; */
        height: 35px;
    }
    
    #sendButton:hover {
        background: #0B2741;
    }
    
    #sendButton:disabled {
        background: #b8c2cc;
        cursor: not-allowed;
    }

    /* Status Messages */
    .status {
        padding: 8px 12px;
        margin: 0 0 10px;
        border-radius: 4px;
        font-size: 13px;
        text-align: center;
    }
    
    .status.sending {
        background: #e7f1ff;
        color: #0B2741;
    }
    
    .status.success {
        background: #e6f7ee;
        color: #155724;
    }
    
    .status.error {
        background: #fce8e8;
        color: #721c24;
    }

    /* Scrollbar Styling */
    .message-area::-webkit-scrollbar {
        width: 8px;
    }
    
    .message-area::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .message-area::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }
    
    .message-area::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* Timestamp Separators */
    .timestamp-separator {
        text-align: center;
        margin: 20px 0;
        color: #95a5a6;
        font-size: 13px;
        position: relative;
    }
    
    .timestamp-separator::before,
    .timestamp-separator::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background: #e0e3e6;
    }
    
    .timestamp-separator::before {
        left: 0;
    }
    
    .timestamp-separator::after {
        right: 0;
    }
    .welcom-msg {
        color:#626974;
        font-size: 13px;
        background: #f8f9fa;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    }

    /* Typing Indicator Styles */
.typing-indicator {
    padding: 10px;
    opacity: 0.7;
}

.typing-content {
    display: flex;
    align-items: center;
    height: 20px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    margin-right: 4px;
    animation: bounce 1.5s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0;
}

@keyframes bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}