@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

body {
    padding: 0 15px;
}

.filters {
    display: flex;
    padding: 15px 0;
    gap: 15px;
}
.search-message {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.message-dashboard-container {
    background-color: pink;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: minmax(40px, auto) 80vh;
    background-color: grey;
    gap: 2px;
    border: 2px solid grey;
}

.message-dashboard-heading {
    background-color: white;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding: 0 10px;
}
#unsent-count{
    color: red;
}
#unRepliedClient-count{
    color: red;
}
#connections {
    background-color: white;
    overflow: auto;
}

#connection-messages {
    background-color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.connection-messages-list {
    display: block;
    flex: 1;
    overflow-y: auto;
}

.connection-item {
    padding: 10px;
    border-bottom: 1px solid grey;
    cursor: pointer;
    & .date-time-row{
        display: flex;
        gap: 9px;
        font-size: 14px;
        color: gray;
    }
}


.connection-item:hover {
    background-color: rgba(211, 211, 211, 0.507);
}

.message {
    display: flex;
    margin-bottom: 9px;
}
.chat-message-box{
    padding: 12px;
    width: 60%;
    display: block;
    background: lightgray;
    position: relative;
}
.message-left {
    display: flex;
  justify-content: flex-end;
   
}
.message-center{ 
    display: flex;
   justify-content: center;
}
.message-content{
    word-break: break-word;
  }
  .message-content p{
    margin: 0;
  }
.message-right {
    display: flex;
   justify-content: flex-start;
}

.message-item-user {
    font-weight: 700;

}

.message-item-timestamp {
    font-size: smaller;
    opacity: 0.7;
}

.active-msg {
    background-color: lightgray;
}

.three-dots-icon {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.three-dots-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background-color: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.three-dots-icon span:nth-child(2) {
    top: calc(50% - 6px);
}

.three-dots-icon span:nth-child(3) {
    top: calc(50% + 6px);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 5px;
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    padding: 5px 10px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: #ddd;
}

.dropdown-menu.show {
    display: block;
}

.message-reply {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
}

.emojionearea-editor {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.message-reply input {
    flex: 1;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    & button{
    padding: 4px 10px;
    }
}
[name="filter"]{
    cursor:pointer;
}
[name="filter"] + label{
    font-size: 13px;
}
.eta-days{
    font-size: 14px;
    color: red;
    text-align: start;
    margin-left: 22px;
}
.pagination-btns{
    border-radius: 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    border: 1px solid black;
    cursor: pointer;
}
.pagination-btns-active{
    background: gray;
}

#toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
  }
  
  .toast {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }
  
  .toast.show {
    opacity: 1;
  }
  .toast.error{
    background-color: red;
  }
  .toast.success{
    background-color: green;
  }

#acceptedConnection-amount{
    font-size:13px;
}