*{
margin:0px;
padding:0px;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple
Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}
.content-section {
display: none;
}

.content-section.active {
display: block;
}
.content-section {
display: none;
}
.contact-con {
    display: flex;
    height: 100%;
}
.content-section.active {
display: block;
}
.dashboard {
display: flex;
height: 100vh;
}
.buttons {
display: flex;
}
.sidebar {
width: 200px;
background-color: #001d3d;
color: white;
display: flex;
flex-direction: column;
position:relative;
}
.status-indicator {
display: flex;
align-items: center;
color: white;
font-size: 14px;
padding: 5px 10px;
margin-top: 14px;
}
.status {
display: flex;
align-items: center;
margin-top: 14px;
}
.status-indicator .dot {
width: 6px;
height: 6px;
background-color: #3ad64d;
border-radius: 50%;
margin-right: 6px;
}

.logo {
width: 160px;
margin: 20px;
}
.logo img{
height: 100%;
width: 100%;
}
.profile {
font-size: 14px;
width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #e6e6e6;
margin: 0 auto;
}

.status .dot {
height: 6px;
width: 6px;
background-color: #52c41a;
border-radius: 50%;
display: inline-block;
margin-right: 5px;
}

.nav {
display: flex;
flex-direction: column;
margin-top: 20px;
}

.nav-item {
padding: 10px 1px 10px 24px;
text-decoration: none;
color: white;
font-size: 14px;
}

.nav-item.active {
background-color: #1890ff;
border-radius: 4px;
}

.logout {
background-color: #007bff;
padding-left: 24px;
max-height: 40px;
height: 100%;
cursor: pointer;
color: white;
position: absolute;
bottom: 0px;
width: 100%;
display: flex;
align-items: center;
}
.main-content {
flex-grow: 1;
display: flex;
flex-direction: column;
}

.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 24px;
color: #000000d9;
font-weight: 500;
font-size: 16px;
background: transparent;
border-bottom: 1px solid rgba(0, 0, 0, .06);
border-radius: 2px 2px 0 0;
max-height: 60px;
min-height: 60px;
}

.title {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}
.title img {
    height: 20px;
    width: 20px;
}
.help-icon {
font-size: 14px;
margin-left: 5px;
cursor: pointer;
}
.toolbar-btn  .icon-btn {
  cursor: not-allowed;
}
.buttons .btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    border-left: 1px solid #40a9ff;
}

.content {
display: flex;
flex-grow: 1;
overflow: hidden;
}

.contact-list {
max-width: 333px;
width: 100%;
border-right: 1px solid #ccc;
overflow-y: auto;
background-color: #fafafa;
height: 100%;
}
.contact-input {
width: 100%;
min-width: 0;
padding: 16px;
color: #000000d9;
font-size: 14px;
line-height: 1.5715;
background-color: #d9d9d9;
background-image: none;
border: 1px solid #d9d9d9;
border-radius: 2px;
transition: all .3s;
display: inline-flex;
}
.search-box {
width: 100%;
padding: 8px;
border:none;
}

.contact-entry {
display: flex;
justify-content: space-between;
padding: 10px;
background-color: white;
margin-bottom: 10px;
border: 1px solid #ddd;
font-size: 14px;
}
.phone_no2 span {
color: #bbbbbb;
font-size: 12px;
}
.pagination {
display: flex;
justify-content: center;
margin-top: 10px;
align-items: center;
}
.logout>i {
margin-right: 5px;
}
.pagination button {
padding: 5px 10px;
margin: 0 5px;
background: transparent;
border: none;
}
.nav-item >i {
margin-right: 5px;
}
button.btn1 {
border: 1px solid #ccc;
}
.contact-detail {
flex-grow: 1;
padding: 30px;
font-size: 16px;
color: #666;
background-color: #eee;
display: block;
width: 100%;
justify-content: center;
}


.message-list-container {
width: 400px;
border: 1px solid #ddd;
border-radius: 6px;
overflow: hidden;
}
.toolbar {
display: flex;
align-items: center;
padding: 5px 17px;
border-bottom: 1px solid #eee;
/* background: #f9f9f9; */
justify-content: space-between;
}

.toolbar input[type="checkbox"] {
margin-right: 10px;
}

.toolbar .icon-btn {
background: none;
border: none;
font-size: 16px;
cursor: pointer;
color: #666;
border: 1px solid #d9d9d9;
width: 32px;
height: 32px;
padding: 2.4px 0;
padding: 2px;
}

.message-item {
display: flex;
align-items: flex-start;
padding: 12px 10px;
border-bottom: 1px solid #eee;
position: relative;
}

.message-item input[type="checkbox"] {
margin-right: 10px;
margin-top: 6px;
}

.message-info {
flex-grow: 1;
}

.message-info .phone {
font-weight: bold;
color: #000;
}

.message-info .preview {
font-size: 14px;
color: #666;
margin-top: 2px;
}

.message-meta {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-between;
}

.message-meta .timestamp {
font-size: 13px;
color: #888;
}

.message-meta .menu {
font-size: 18px;
color: #007bff;
cursor: pointer;
margin-top: 10px;
}

.pagination {
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
background: #fafafa;
}

.pagination button {
background: #fff;
border: 1px solid #ccc;
padding: 4px 10px;
margin: 0 8px;
border-radius: 4px;
cursor: pointer;
}

.pagination span {
font-size: 14px;
color: #555;
}

.pagination button:disabled {
opacity: 0.4;
cursor: default;
}

section#conversation {
height: 100%;
}

.message-list-container {
max-width: 333px;
width: 100%;
overflow-y: auto;
background-color: #ffffff;
height: 100%;
}
.message-con {
display: flex;
height: 100%;
}
.search-filter-wrapper {
display: flex;
align-items: center;
width: 100%;
padding: 5px 20px;
gap: 5px;
}
.search-filter-svg {
width: 10%;
}
.search-conv-input {
flex: 1;
padding: 8px 10px;
font-size: 14px;
border: 1px solid #ccc;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
outline: none;
width: 100%;
}

.search-filter-btn {
background-color: #1890ff;
border: none;
padding: 10px 12px;
display: flex;
align-items: center;
justify-content: center;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
cursor: pointer;
}
.search-filter-input {
width: 90%;
}
.search-filter-btn i {
color: white;
font-size: 14px;
}

.search-conv-input:focus {
border-color: #40a9ff;
}
.content-section {
display: none;
}

.content-section.active {
display: block;
}
.toolbar-btn {
opacity: 0.5;
transition: opacity 0.3s ease;
display: flex;
}

#toolbar-check:checked + .toolbar-btn {
opacity: 1;
}




/* Container for all messages Style for sms */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  max-height: 500px;
  overflow-y: auto;
}

/* Common message style */
.message {
  display: flex;
  flex-direction: column;
  max-width: 30%;
  padding: 10px;
  border-radius: 10px;
  word-break: break-word;
}

.message.received {
  background-color: #f1f0f0;
  border-top-left-radius: 0;
}

.message.sent {
  align-self: flex-end;
  background-color: #d2f1ff;
  border-top-right-radius: 0;
}

.bubble {
  font-size: 14px;
  padding-bottom: 4px;
}

.timestamp {
  font-size: 11px;
  color: #666;
  text-align: right;
}


/*style for send msggggg*/
.message-input-container {
  display: flex;
  margin-top: 10px;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: #fff;
}

#message-input {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.message-input-container button {
  margin-left: 10px;
  padding: 8px 15px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
}


/*css for contact page action dropdown*/
.action {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 25px;
  background-color: white;
  border: 1px solid #ccc;
  min-width: 120px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
}

.dropdown-item {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

.action:hover .dropdown-menu {
  display: block;
}
.Contact_name, .phone_no {
  min-height: 20px;
}

