body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
}
html, body {
  height: 100%;
}
.sidebar {
  width: 28%;
  background-color: #fff;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100vh;         
  overflow: hidden;      
}

.sidebar-header {
  padding: 6px 16px 6px 16px;
  background-color: #ffffff;
  color: #1DAA61;
  font-size: 23px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #00aaff;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

.tabs {
  display: flex;
  justify-content: space-around;
  padding: 0 5px 5px 5px ;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  margin: 0 5px 0 5px; 
  cursor: pointer;
  font-size:  14px;;
  border-radius: 24px;; 
  transition: background-color 0.3s, border 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tab.active {
  background-color: #D9FDD3;
  border:  1px solid rgba(0, 0, 0, 0.05);
}

.tab:hover {
  background-color: #F9F7F5;
}

.contact-list {
  flex: 1;                
  overflow-y: auto;
  padding: 10px;
  min-height: 0;         
}

.contact-wrapper {
  display: flex;
  align-items: center;
  border-radius: 6px;
}
.contact-wrapper:hover {
  background-color: #d0f0ff;
}

.contact {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  flex: 1; 
  min-width: 0; 
}

.contact:hover {
  background-color: #d0f0ff;
}

.contact_ms {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  flex: 1; 
  min-width: 0; 
}

.contact_ms:hover {
  background-color: #d0f0ff;
}


.contact-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  margin-right: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  object-fit:cover;
}

.contact-avatar-img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit:cover;
}

.contact-name {
  flex: 1;
}

.contact-name .time {
  float: right;
  font-size: 12px;
  color: #888;
}

.contact-status {
  font-size: 12px;
  color: #ccc;
}

.contact-action {
  font-size: 14px;
  color: #007bff;
  margin-left: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0; /* fix with */
  padding-right: 10px;
}

.time svg {
  vertical-align: middle;
  margin-left: 4px; 
}

.chat-window {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.box-window {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background-color: #fff;
  color: #081b3a;
  padding: 9px;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
}

.chat-header {
  margin-right: 10px;
}

.chat-messages {
	flex: 1;
	padding: 5px 15px 30px 15px;
	overflow-y: auto;

	/*background: linear-gradient(to bottom right, #F9F7F5 , #DBE9F4);
	background: linear-gradient(to bottom right, #FCFBFA, #E8E6E2);*/

	background-image: 
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 10 10'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23d0cfcf' /%3E%3C/svg%3E"),
	linear-gradient(to bottom right, rgba(247,247,247,0.9), rgba(204,204,204,0.9));


	background-repeat: repeat;
	background-size: 20px 20px, cover;
	background-position: top left, center;
}
  

.message {
  margin-bottom: 5px;
  padding: 0px 0px 0 0px;
  clear: both;
  line-height: 1.4;
  display: flex;
  
  align-items: flex-start;
}

.message.received {
  float: left;
  justify-content: flex-start;
  padding-right:30%;
}

.message.sent {
  float: right;
  justify-content: flex-end; 
  flex-direction: row-reverse; 
  padding-left:30%;
}


.chat-input {
  display: flex;
  padding: 12px 10px;
  border-top: 1px solid #ddd;
  background-color: #fff;
  align-items: center;
  gap: 10px; 
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;             
  border: 1px solid #ccc;
  border-radius: 24px;
  outline: none;
  box-sizing: border-box;
  max-width: 100%;
}

.chat-input button {
  background-color: #00aaff;
  color: white;
  border: none;
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.settings-bar {
  padding: 5px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background-color: #f2faff;
  display: flex;  
  justify-content: space-between;
}

.settings-bar button {
  border: none;
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.chat-menu-item {
  display: flex;
  align-items: center;
  gap: 8px; 
  padding: 7px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-weight: normal;
  font-size: 14px;
}

.chat-menu-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.chat-menu-item:hover {
  background-color: #f3faff;
}

.chat-menu-item:last-child {
  border-bottom: none;
}


.box-detail {
  flex: 1;
  overflow-y: auto;
}

/* Responsive mobile */
@media (max-width: 768px) {

  .sidebar.hidden {
    display: none !important;
  }
  
  .sidebar {
	 display: flex;
	 flex-direction: column;
	 width: 100%;
	 height: 100%;
	 overflow: hidden; 
  }
  
  .chat-window {
    display: none;
    width: 100%;
  }
  
  .chat-window.active {
    display: flex;
    flex-direction: column;
  }
  
  .box-window {
    display: none;
    width: 100%;
  }
  
  .box-window.active {
    display: flex;
    flex-direction: column;
  }
  
  .back-button {
    display: block;
    padding: 10px 14px;
    background: none;
    border: none;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    color: #00aaff;
    border-bottom: 1px solid #eee;
  }
  
  .chat-input {
    padding: 10px 8px;
    gap: 8px;
  }

  .chat-input input {
    font-size: 16px;
  }

  .chat-input button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  
}

/* Desktop, show 2 column */
@media (min-width: 769px) {
  .chat-window {
    display: flex;
    flex-direction: column;
  }

  .box-window {
    display: flex;
    flex-direction: column;
  }
  
  .back-button {
    display: none !important;
  }
}


.link {
  text-decoration: none;
  color: #0A0A0A;
  font-size: 16px;
}

.add-group-btn {
  background-color: white;
  border: 1px solid #f2f2f2;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-user-btn {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-btn {
  background-color: white;
  border: 1px solid #333;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-btn {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
  height: 100%; 
}
.chat-menu-btn {
  height: 36px;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  border: none;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
}
.menu-btn:hover {
  background-color: #b8e4fb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.chat-menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}
.chat-menu {
  display: none;
  position: absolute;
  right: 19px;
  top: 48px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 180px;
}


.container {
	max-width: 600px;
	margin: 20px auto;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 0 12px rgba(0,0,0,0.1);
	background: #fff;
	font-family: Arial, sans-serif;
}

form label {
	font-weight: bold;
	display: block;
	margin-top: 15px;
	margin-bottom: 5px;
}

form input[type="text"],
form textarea,
form select {
	width: 100%;
	padding: 10px;
	font-size: 16px;
	border-radius: 6px;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

form input[type="radio"] {
	margin-right: 8px;
}

form input[type="submit"] {
	background-color: #28a745;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 20px;
}

form input[type="submit"]:hover {
	background-color: #218838;
}

#updateMessage {
	border-left: 6px solid #17a2b8;
	background-color: #e9f7fd;
	color: #004085;
	padding: 12px;
	margin-bottom: 20px;
	border-radius: 6px;
}

@media (max-width: 768px) {
	.container {
		margin: 0px;
		padding: 5px;
		box-shadow: none;
		border-radius: 0;
	}

	.box-detail {
	  padding: 5px;
	}

}
	
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    margin-bottom: 15px;
}

.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}	

.search {
  padding: 10px 14px;
  margin: 10px 0px 15px 10px;   
  border: 1px solid #ccc;
  border-radius: 24px;
  font-size: 16px;              
  width: 100%;                 
  box-sizing: border-box;
  outline: none;
  max-width: 100%;              
}
    
.search-box {
  position: relative;
  width: 95%;
}

.search-box i {
  position: absolute;
  top: 48%;
  left: 20px;
  transform: translateY(-50%);
  color: #aaa;
}

.search-box .search {
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  width: 100%;                  
  max-width: 100%;
  font-size: 16px;
  box-sizing: border-box;
}

.chat-input input,
.search-box .search {
  font-size: 16px !important;
}


.chat-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}
.chat-item:hover {
  background-color: #d0f0ff;
}

.chat-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background-color: #8BC34A;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px; 
  object-fit:cover;
}

.chat-avatar-img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit:cover;
}


.chat-content {
  background-color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  word-break: break-word;
  position: relative;
  max-width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.chat-text-block {
  display: flex;
  flex-direction: column;
}

.chat-username {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 2px;
}
.chat-date{
   font-size: 8px;	
   color: #888;
   padding-top: 3px;
   text-align:right;
}	

.message.received .chat-content::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 25px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: #fff; 
  border-left: none;
}

.message.sent .chat-content::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 8px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #D9FDD3; 
  border-right: none;
}
.message.sent .chat-content {
  background-color: #D9FDD3; 
  align-self: flex-end;   
  padding: 6px 10px;
  word-break: break-word;
  position: relative;

}

/* List user of user current */
.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
 border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.user-info {
  display: flex;
  align-items: center;
}
.btn-unblock {
  padding: 4px 10px;
  background: #e91e63;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
#confirmModal {
  display: none;
  position: fixed;
  z-index: 999;
  background: rgba(0,0,0,0.5);
  top: 0; left: 0; right: 0; bottom: 0;
  justify-content: center;
  align-items: center;
}
#confirmBox {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 300px;
}

/* List members of group */
.chat-btn {
  padding: 4px 10px;
  background: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.approve-btn {
  padding: 4px 10px;
  background: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.unblock-member-btn {
  padding: 4px 10px;
  background: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.enable-chat-btn {
  padding: 4px 10px;
  background: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* Popup user in group chat */
.user-popup-overlay {
  position: fixed;
  top: 0;
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.user-popup {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}
.user-popup button {
  margin: 5px;
  padding: 10px 20px;
}



/* === Search screen === */
.search-screen {
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;

  /* MOBILE: full Screen */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.search-screen.hidden {
  display: none;
}

/* DESKTOP: just in sidebar */
@media (min-width: 768px) {
  .search-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .sidebar {
    position: relative; 
    overflow: hidden;
  }
}

.search-header {
  display: flex;
  padding: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  background: #f9f9f9;
}

.search-header input {
  flex: 1;
  padding: 8px 12px;
  font-size: 16px;
  margin-left: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.back-btn {
  background: #eee;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.search-results {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
}

.result-action {
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
}

.last-message-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.last-message {
  color: #555;
  flex: 1;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.last-message img {
  max-width: 20px;
  max-height: 20px;
  border-radius: 50px;
  object-fit: cover;
}

.unread-count {
  color: #fff;
  font-weight:500;
  border-radius: 50%;
  min-width: 16px;
  text-align: center;
  font-size: 12px;
}

.menu-wrapper {
  display: flex;
  align-items: center; 
  gap: 8px; 
}

.btnGreen {
  background-color: #4CAF50; 
  color: white;
  padding: 4px 12px 4px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btnOrange {
  background-color: #FFB347; 
  color: white;
  padding: 4px 12px 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btnGreen:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

.btnGreen:active {
  transform: scale(0.98);
}

.btn-delete {
  background-color: white;
  color: #e74c3c;
  border: 1px solid #ccc;
  cursor: pointer;
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  padding: 8px 14px; 
  border-radius: 6px; 
  font-weight: bold;
  float: right;
  margin-top: 22px;
}

.btn-delete:hover {
  background-color: #ffecec;
  border-color: #e74c3c;
  color: #c0392b;
}

input:disabled,
button:disabled {
  background-color: #f0f0f0;  
  color: #999999;            
  cursor: not-allowed;        
  opacity: 0.6;   
}


.popup-overlay {
  position: fixed;
  inset: 0; /* shorthand cho top: 0; right: 0; bottom: 0; left: 0 */
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.popup-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  box-sizing: border-box;
  animation: fadeIn 0.25s ease-in-out;
  margin: 0 auto; 
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: #333;
}

/* Section spacing */
.popup-section {
  margin-top: 20px;
}

/* Label */
.popup-section label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

/* Input + button copy row */
.popup-section input[type="text"] {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}

.popup-section button {
  padding: 8px 14px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.popup-section button:hover {
  background-color: #0056b3;
}

/* Description text */
#popupDescription {
  font-size: 14px;
  color: #444;
  padding: 8px 0;
}

/* Copy notice */
#copyNotice {
  font-size: 13px;
  color: green;
  margin-top: 4px;
  min-height: 16px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.status-container {
  font-size: 12px;
  color: #6b7280; 
  font-weight: 300;
}

.input-with-icon {
  position: relative;
  flex-grow: 1;
  
}

#messageInput {
  width: 87%;
  padding: 7px 0px 0px 50px; 
  box-sizing: border-box;
  border-radius: 24px;
}

#gifToggleBtn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.chat-input-box {
  border: 1px solid #ccc;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 6px;
  outline: none;
}
.chat-input-box img {
  max-height: 50px;
  vertical-align: middle;
}

/* Popup container */
.popup-tab {
  display: none;
  position: absolute;
  bottom: 60px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  z-index: 999;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .popup-tab {
    max-width: 450px;
  }
}

/* Header tabs */
.popup-tab-header {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 8px;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: #f9f9f9;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
  border-radius: 4px 4px 0 0;
}

.tab-btn:hover {
  background: #eee;
}

.tab-btn.active {
  background: #fff;
  font-weight: bold;
  border-bottom: 2px solid #007bff;
}

/* Content area (GIF & Emoji list) */
.tab-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
}

/* Scrollbar */
.tab-content::-webkit-scrollbar {
  width: 6px;
}
.tab-content::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}
.tab-content::-webkit-scrollbar-track {
  background-color: #f8f8f8;
}

/* Icon inside */
.tab-content img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: transform 0.1s, border-color 0.2s;
  padding: 5px;
}

.tab-content img:hover {
  transform: scale(1.05);
  border-color: #007bff;
}

.policy-link{
    color:#007bff;
    text-decoration:underline;
    font-size:14px;
    font-weight:500;
}

.policy-link:hover{
    color:#0056b3;
}

.file-upload{
  min-width:200px;
}

.file-name{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:14px;
}

.file-icon{
  width:18px;
  height:18px;
  opacity:0.8;
}

.upload-bar{
  width:100%;
  height:6px;
  background:#e5e5e5;
  border-radius:4px;
  overflow:hidden;
}

.upload-progress{
  height:100%;
  width:40%;
  background:#4caf50;
  animation: uploadMove 1s linear infinite;
}

@keyframes uploadMove{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(300%)}
}

/* Bubble include img */
.chat-content:has(.chat-image){
  padding:2px !important;
  border-radius:10px;
  position:relative;
}

.chat-image{
  display:block;
  max-width:300px;
  border-radius:8px;
  margin:0;
}

/* Time include img */
.chat-content:has(.chat-image) .chat-date{
  position:absolute;
  bottom:4px;
  right:6px;
  font-size:11px;
  color:#fff;
  background:rgba(0,0,0,0.45);
  padding:2px 5px;
  border-radius:4px;
}
/* border box equal border img */
.chat-content:has(.chat-image){
  /*padding:0 !important;*/
}

.download-btn{
  position:absolute;
  bottom:6px;
  left:6px;
  background:rgba(0,0,0,0.5);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  padding:3px 6px;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.chat-content{
  position:relative;
}

.chat-icon-btn{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  cursor: pointer;

  border-radius: 15%;
  border: 2px solid rgba(0, 0, 0, 0.15);
	
}

.call-actions{
display:flex;
align-items:center;
gap:14px;
margin-left:auto;
margin-right:8px;
}

.icon-call{
background:none;
border:none;
padding:4px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
}

.icon-call svg{
width:22px;
height:22px;
stroke:#333;        
stroke-width:1.5;     
transition:0.2s;
}

.icon-call:hover svg{
stroke:#0b93f6;
}
