.chat-app{font-family:Lato,sans-serif!important;display:flex;height:81vh}.chat-app .chat-list{width:30%;background-color:#f9f9f9;border:1px solid #efefef;border-radius:8px 0 0 8px;display:flex;flex-direction:column}.chat-app .chat-list .search-bar{padding:10px;margin:10px;border:1px solid #efefef;border-radius:4px;width:90%}.chat-app .chat-list ul{list-style:none;padding:0;margin:0;overflow-y:auto;flex:1}.chat-app .chat-list .chat-item{display:flex;align-items:center;padding:10px;cursor:pointer;border-bottom:1px solid #eee;background-color:#f5f5f5}.chat-app .chat-list .chat-item:hover{background-color:#e6e6e6}.chat-app .chat-list .chat-item .user-icon{width:40px;height:40px;background-color:rgba(var(--customs-600),1);border-radius:50%;color:#fff;text-align:center;line-height:40px;font-weight:700;margin-right:10px}.chat-app .chat-list .chat-item .chat-details{flex:1;display:flex;flex-direction:column}.chat-app .chat-list .chat-item .chat-details .user-name{font-weight:700;color:#333}.chat-app .chat-list .chat-item .chat-details .chat-preview{color:#666;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-app .chat-list .chat-item .chat-details .timestamp{font-size:10px;color:#aaa;align-self:flex-end}.chat-app .chat-detail{width:70%;display:flex;flex-direction:column;justify-content:space-between}.chat-app .chat-detail .messages{flex:1;border:1px solid #efefef;border-radius:0 8px 0 0;padding:20px;background-color:#fff;overflow-y:auto;display:flex;flex-direction:column}.chat-app .chat-detail .messages .message{margin-bottom:20px;padding:10px;max-width:70%}.chat-app .chat-detail .messages .message.admin{background-color:rgba(var(--customs-600),.05);color:#191919;align-self:flex-start}.chat-app .chat-detail .messages .message.user{background-color:rgba(var(--customs-600),.05);color:#191919;align-self:flex-end}.chat-app .chat-detail .messages .message .text{margin-bottom:5px}.chat-app .chat-detail .messages .message .timestamp{font-size:10px;color:#999}.chat-app .chat-detail .message-input{display:flex;padding:10px;background-color:#f9f9f9;border:1px solid #efefef;border-radius:0 0 8px}.chat-app .chat-detail .message-input input{flex:1;padding:10px;border:1px solid #ddd;border-radius:4px;margin-right:10px}.chat-app .chat-placeholder{border:1px solid #ddd;border-radius:0 8px 8px 0;width:70%;display:flex;align-items:center;justify-content:center}.client-select-popup{position:absolute;top:30%;left:50%;transform:translate(-50%,-50%);background:white;width:400px;max-width:90%;padding:20px;border-radius:8px;box-shadow:0 4px 6px #0000001a;z-index:1000}.client-select-popup .popup-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.client-select-popup .popup-header h4{margin:0;font-size:1.25rem;color:#333}.client-select-popup .popup-header .close-button{background:none;border:none;font-size:1.25rem;cursor:pointer;color:#666}.client-select-popup .popup-header .close-button:hover{color:#000}.client-select-popup input[type=text]{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;margin-bottom:15px;font-size:1rem}.client-select-popup input[type=text]:focus{outline:none;border-color:rgba(var(--customs-600),1)}.client-select-popup ul{list-style:none;padding:0;margin:0;max-height:200px;overflow-y:auto}.client-select-popup ul li{padding:10px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background-color .3s}.client-select-popup ul li:hover{background-color:#f9f9f9}html.dark .chat-app .chat-list .chat-item:hover{background-color:transparent}html.dark .client-select-popup{background:#292f3c}html.dark .client-select-popup .popup-header h4,html.dark .client-select-popup .popup-header .close-button,html.dark .client-select-popup .popup-header .close-button:hover{color:#fff}html.dark .client-select-popup ul li:hover{background-color:transparent}
