/*@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif !important;
    color: var(--textclr);

}*/

body {
    overflow: hidden !important;
    
}
    .margin
    {
        margin-top: 383px;
        margin-left: 0px;
    }
    .margintem {
        margin-top: 248px;
        margin-left: 0px;
    }
    .user {
        display: flex;
        height: 60px;
        justify-content: center;
        background-color: #e1e8f1;
    }
    .user h2 {
        margin-top: 13px !important;
        font-size: 29px !important;
    }
        

a:focus,
a:hover {
    color: #23527c;
    text-decoration: none !important;
}

.company-logo img {
    max-width: 39%;
}

/*-------------------------bootstrap remove*/
.h1,
h1 {
    font-size: 0px !important;
    font-size: 0 !important;
    margin: 0 !important;
    ;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

p {
    margin: 0px !important;
}

.btn.focus,
.btn:focus,
.btn:hover {
    color: #33333300;
    text-decoration: none;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none !important;
    outline-offset: 0px !important;
}

.btn.focus,
.btn:focus,
.btn:hover {
    color: #fff !important;
    text-decoration: none;
}


/*-------------------------bootstrap remove*/

.wraper {
    width: 100%;

}


:root {
    --mainclr: #236bed;
    --secondclr: #6da3fd;
    --thirdclr: #c0dcfc;
    --bgclr: #e1e8f1;
    --textclr: #324050;
    --whiteclr: #ffffff;


    --border: 1px solid #c0dcfc;

    --gap22px: 22px;
}

img {
    max-width: 100%;
    object-fit: contain;
}

h1 {
    font-size: 20px !important;
    color: var(--textclr) !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 14px !important;
    color: var(--textclr) !important;
    font-weight: 700 !important;
}

h3 {
    font-size: 20px !important;
    color: var(--textclr) !important;
    font-weight: 700 !important;
}


.small-light-description {
    font-size: 11px;
    color: #797c81;
    margin-top: 5px !important;
}

.small-button {
    border: var(--border);
    font-size: 12px;
    font-weight: 600;
    padding: 5px;
    text-align: none;
    text-decoration: none !important;
    list-style: none;
    color: #656464;
}

.small-button:hover{
    background-color: var(--mainclr);
    color: var(--whiteclr);
}


.hover-link {
    position: relative;
    text-decoration: none;
    color: #007bff;
    font-size: 18px;
}
.user-table{
    overflow-y: scroll;
    overflow-x: scroll;
    height: calc(100dvh - 200px);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scroll-snap-align: none;
}


.popup {
    position: absolute;
    top: 63px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 8px;
    background-color: #1c40cc;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    font-weight: 400;
}




.hover-link:hover .popup {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -10px);
}

/*--------------------------------------------------------------------------*/

.header {
    display: grid;
    grid-template-columns: 1fr 11fr 1fr;
    border-bottom: var(--border);
    align-items: center;
}

.header .header-left img {
    max-width: 42px;
}

.header-left {
    padding: 16px;
    margin: auto;
    /* border-right: 1px solid black; */
    border-right: var(--border);
    display: flex;
    margin-left: -3px;
}

.header-center {
    display: flex;
    align-items: center;
    margin-left: -15px;
    border-right: var(--border);
}

.header-center .header-center-icons {
    display: flex;
    justify-content: flex-start;
    /* align-items: center; */
}

.header-center-icon-background {
    background-color: #efefef !important;
    padding: 10px;
    border-radius: 50%;
}

.header-center-icon-background:hover {
    background-color: #6da3fd;
}



.header-center-icons a:not(:last-child) {
    margin-right: 21px;
}

.header-center-icon-background img {
    max-width: 26px;
}

.header-right img {
    width: 38px;
    display: flex;
    margin: auto;
}

/*------------------------------------------------------------header */
.main-content {
    display: grid;
    grid-template-columns: 350px auto !important;

}



/*---------------------------------*/

.main-contect-left {
    border-right: var(--border);

}

.chat-profile-header {
    padding: 20px;
}

.chat-profile-header-top {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.chat-profile-search {
    position: relative;
}

.chat-profile-search input {
    width: 100%;
    margin-top: 20px;
    line-height: 0px;
    padding: 10px 10px 10px 42px;
    border-radius: 25px;
    outline: none;
    border: none;
    background: var(--bgclr);
}

.chat-profile-search input:hover {
    background-color: var(--thirdclr);
}

.chat-profile-search img {
    position: absolute;
    top: 29px;
    left: 11px;
    width: 22px;
}

.chat-profile-card {
    display: flex;
    background: #ffffff;
    padding: 13px 20px;
    cursor: pointer;
}

.chat-profile-card:hover {
    background: #e1e8f1;
}

.profile-img {
    padding: 4px;
    background: #efefef !important;
    margin-right: 20px;
}

.chat-profile-card img {
    width: 39px;
}

.chat-profile-card a {
    display: flex;
}

.chat-profile-card .profile-card-left {
    display: flex;
}


.chat-profile-box {
    overflow-y: scroll;
    height: calc(100dvh - 200px);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scroll-snap-align: none;
}

/*------------------------------------------------------------main left */

.welcome-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.company-name h1 {
    margin-top: 20px !important;
}

.welcome-screen-details p {
    max-width: 50%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: auto !important;
    padding: 20px 0;
}

/*---------------------------------------*/

.chat-window-header {
    border-bottom: var(--border);
}

.chat-window-header .chat-profile-card {
    padding: 8px;
}

/*----------------------------------------*/

.chats {
    overflow-y: scroll;
    padding: 22px;
    background: #dbeaff;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scroll-snap-align: none;
    height: calc(100dvh - 250px);
}



.sender-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.sender-msg {
    max-width: 60%;
    width: fit-content;
    padding: 10px;
    background: white;
    font-size: 13px;
    border-radius: 0px 10px 10px 10px;
}



.sender-img img {
    width: 20%;
    height: auto;
    object-fit: contain;
    border: 2px solid #ffffff;
    border-radius: 10px;
    margin-top: 10px !important;
}

.sender-img {
    display: contents;

}

/*----------------------------*/
.receiver-box {
    width: 100%;

}

.receiver-box:not(:last-child) {
    margin-bottom: 20px !important;
}

.receiver-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;
}

.receiver-msg {
    max-width: 60%;
    width: fit-content;
    padding: 10px;
    background: #d9fdd3;
    color: black;
    font-size: 13px;
    border-radius: 10px 10px 0px 10px;
    display: flex;
    flex-direction: column-reverse;
}

.receiver-img img {
    width: 20%;
    height: auto;
    object-fit: contain;
    border: 2px solid #ffffff;
    border-radius: 10px;
    margin-top: 10px !important;
}

.receiver-img {
    display: contents;
}

.document {
    display: flex;
    align-items: center;
    border: 2px solid white;
    width: fit-content;
    padding: 10px 55px 10px 10px;
    background: white;
    border-radius: 11px;
}

.doc-img img {
    width: 75%;
}

.receiver-doc {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/*---------------------------------------------*/

.type-box {
    padding: 22px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center !important;
}

.type-box-btns {
    display: flex;
}

.type-box-btns img {
    width: 25px;
}

.type-box input {
    width: 80%;
    padding: 11px 10px;
    outline: none;
    border: none;
    background: #e1e8f1;
    border-radius: 10px;
    color: black !important;
}

.attech-btn {
    padding: 10px;
    background: #e1e8f1;
    border-radius: 50%;
    margin-right: 13px;
}

.send-btn img {
    width: 33px;
    margin-left: 13px;
}
.send-btn{
    background: transparent;
    border: none;
}
.send-btn-img{
     background: transparent;
     border: none;
}
.send-btn-img img{
    width: 33px;
    margin-left: 207px;
    margin-top: -41px;
}
.send-btn-img1{
     background: transparent;
     border: none;
}
.send-btn-img1 img {
    width: 33px;
    margin-left: 220px;
    margin-top: 0px;
}

/*-----------------------------------------------------------------add user*/
.edit-user {
    max-width: 50% !important;
}

.add-uder-space {
    padding: 0 !important;
}


.add-user {
    max-width: 100% !important;
}

.add-user form {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.add-user .form-inner {
    padding: 20px;
    max-width: 100%;
}

.add-user h3 {
    text-align: center;
}

.input-wrapper:not(:last-child) {
    margin-bottom: 15px;
}

.add-user label {
    display: block;
    font-weight: 500;
}

.add-user .input-group {
    display: flex;
    height: 54px;
    align-items: center;
    border: var(--border);
}

.add-user .icon img {
    width: 37px;
}

.add-user .icon {
    width: 19%;
    height: 100%;
    display: flex;
    background: #efefef;
    justify-content: center;
}

.add-user input[type="text"],
.add-user input[type="password"] {
    width: 100%;
    height: 47px;
    padding-left: 20px;
    border: none;
    outline: none;
}

.add-user .password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    background-color: var(--bgclr);
    width: 39px;
    padding: 7px;
    border-radius: 50%;
}

.add-user .password-wrapper input {
    flex-grow: 1;
    padding-right: calc(var(10px) + var(10px));
}

.add-user .password-wrapper .toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.add-user input[type="file"] {
    padding: 10px;
    width: 100%;
    border: 1px solid;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.add-user input[type="file"]:hover {
    color: white;
}

.add-user .btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-user .btn {
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: #2232cf;
}

.add-user .btn:hover {
    background-color: #000000;
}

.add-user .btn--text {

    text-decoration: none;
    font-weight: 500;
}


.add-user .checkbox-group {
    display: flex;
    margin-bottom: 14px;
}

.add-user .checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 21px;
}

.add-user .checkbox-group input {
    margin-right: 6px;
    margin-bottom: 5px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*-----------------------------------------------------------------add user*/

.view-table {
    padding: 22px;
}

/*-----------------------------------------------------------------user table*/
.profile-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons button {
    padding: 5px 10px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.edit-btn {
    background-color: #4CAF50;
    /* Green */
}

.delete-btn {
    background-color: #f44336;
    /* Red */
}

/*-----------------------------------------------------------------user table*/


/*-----------------------------------------------------------------add tamplate*/
.add-template-space {
    padding: 0 !important;
}

.add-template {
    max-width: 100% !important;
}

.add-template form {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.add-template .form-inner {
    padding: 20px;
    max-width: 100%;
}

.add-template h3 {
    text-align: center;
}

.input-wrapper:not(:last-child) {
    margin-bottom: 15px;
}

.add-template label {
    display: block;
    font-weight: 500;
}

.add-template .input-group {
    display: flex;
    height: auto;
    /* Allow height to adjust */
    align-items: center;
    border: var(--border);
}

.add-template .icon img {
    width: 37px;
}

.add-template .icon {
    width: 19%;
    height: 100%;
    display: flex;
    background: #efefef;
    justify-content: center;
}

.add-template input[type="text"],
.add-template textarea {
    width: 100%;
    padding-left: 20px;
    border: none;
    outline: none;
}

.add-template input[type="text"] {
    height: 47px;
}

.add-template textarea {
    height: auto;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    resize: vertical;
    padding: 10px;
}

.add-template .btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-template .btn {
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: #2232cf;
}

.add-template .btn:hover {
    background-color: #000000;
}

/*----------------------------------------------- select table*/


#tableSelector {
    width: 100%;
    margin: 20px 0 !important;
    padding: 3px;
    border: var(--border);
    font-size: 15px;
    font-weight: 500;
}

/*----------------------------------------------- log in*/

.login {
    width: 100%;
    height: 100dvh;
    display: flex;
    position: relative;
}

.login::after {
    content: '';
    background-image: url(images/loginbefore.png);
    background-repeat: no-repeat;
    position: absolute;
    right: -70.6%;
    bottom: -78px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login::before {
    content: '';
    background-image: url(images/back.png);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}


.login .login-div {
    width: 50%;
    background-color: var(--thirdclr);
    display: flex;
    height: 70dvh;
    margin: auto;
    border-radius: 25px;
    box-shadow: 5px 5px 11px 1px #00000047;
    position: relative;
    z-index: 9;
}


.login-left,
.login-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    width: 50%;
}

.login-right {
    background-color: var(--mainclr);
    border-radius: 100px 25px 25px 100px;
}

.login-left h3 {
    margin-bottom: 10px !important;
    color: black !important;
}

.login-right h2 {
    color: white !important;
    font-size: 26px !important;
}

.login-right p {
    color: white !important;
    margin-top: 10px !important;
}

.login-left input {
    padding: 11px;
    outline: none;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
}

.login-left button {
    padding: 10px 24px;
    background: black;
    border: none;
    outline: none;
    border-radius: 10px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #24C6DC;
    background: -webkit-linear-gradient(to bottom, #514A9D, #24C6DC);
    background: linear-gradient(to bottom, #514A9D, #24C6DC);
}

.box div {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 6px solid rgba(255, 255, 255, 0.8);
}

.box div:nth-child(1) {
    top: 12%;
    left: 42%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(2) {
    top: 70%;
    left: 50%;
    animation: animate 7s linear infinite;
}

.box div:nth-child(3) {
    top: 17%;
    left: 6%;
    animation: animate 9s linear infinite;
}

.box div:nth-child(4) {
    top: 20%;
    left: 60%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(5) {
    top: 67%;
    left: 10%;
    animation: animate 6s linear infinite;
}

.box div:nth-child(6) {
    top: 80%;
    left: 70%;
    animation: animate 12s linear infinite;
}

.box div:nth-child(7) {
    top: 60%;
    left: 80%;
    animation: animate 15s linear infinite;
}

.box div:nth-child(8) {
    top: 32%;
    left: 25%;
    animation: animate 16s linear infinite;
}

.box div:nth-child(9) {
    top: 90%;
    left: 25%;
    animation: animate 9s linear infinite;
}

.box div:nth-child(10) {
    top: 20%;
    left: 80%;
    animation: animate 5s linear infinite;
}

@keyframes animate {
    0% {
        transform: scale(0) translateY(-90px) rotate(360deg);
        opacity: 1;
    }

    100% {
        transform: scale(1.3) translateY(-90px) rotate(-180deg);
        border-radius: 50%;
        opacity: 0;
    }
}

.mycompany {
    color: black !important;
    position: absolute;
    bottom: 9px;
    left: 9px;
    background-color: #ffffff82;
    font-size: 12px;
    padding: 5px 7px;
    font-weight: 600;
}

.mycompany a{
    color: black;
}

/*--------------------------- new chat*/

.conatct-number input{

}
.transfar{
    margin-left: 750px;
    margin-top: 10px;
}
}

.card:not([class*=border-]) {
    border: 0;
}
.card {
    margin-bottom: 2.3rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
}
.card {
    position: relative;
    display: flex;
    min-width: 0;
    word-wrap: break-word;
       background-color: rgb(243 243 243 / 20%);
    background-clip: border-box;
    border: 1px solid transparent;
    border-radius: 2px;
}
.card, .list-group {
    flex-direction: column;
}
.card-header:first-child {
    border-radius: 2px 2px 0 0;
}
.card-header {
    padding: 1.2rem 2.2rem;
}
.card-header {
    border-bottom: 1px solid transparent;
}.card-body {
    flex: 1 1 auto;
    padding: 2.2rem;
}
.row1 {
    display: flex;
    flex-wrap: wrap;
}

