body {
    background: #FFFFFF;
    font-family: "Poppins", sans-serif;
}

.sidebar {
    width: 220px;
    min-height: 100vh;
    background: #004d40;
    color: #e0f2f1;
    padding-top: 70px;
    position: fixed;
    top: 56px;
    left: 0;
    transition:0.3s ease-in;
}

.sb-title {
    font-size: 30px;
    color: #fff;
    line-height: 1;
}

.content {
    margin-left: 220px;
    margin-top: 70px;
}

.sidebar .nav-link {
    color: #7f839a;
    padding: 10px 18px;
}

.sidebar .nav-link i {
    font-size: 38px;
    color: #fff;
}

    .sidebar .nav-link:hover, .sidebar .nav-link.active {
        /*    background: rgba(255,255,255,0.04);
    color: #4da6eb;*/
        background: rgb(0 46 91);
        color: #ffffff;
    }

.card {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.toast {
    min-width: 250px;
}

@media (max-width: 767px) {
    .sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
        top: 0;
    }

    .content {
        margin-left: 0;
        margin-top: 20px;
    }
}

.btn-teal {
    background-color: #009688;
    border-color: #009688;
}

    .btn-teal:hover {
        background-color: #00796b;
        border-color: #00796b;
    }

.chat-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 10px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-sent {
    background-color: #3a8dde;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-received {
    background-color: #e9ecef;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.mian-nav .nav-link {
    color:#fff;
}

.navbar {
    background: #3a8dde;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* --- Sidebar --- */
.sidebar {
    position: fixed;
    top: 56px; /* below navbar */
    left: 0;
    height: calc(100vh - 56px);
    background: #3a8dde;
    width: 240px;
    transition: width 0.3s ease;
    overflow-x: hidden;
    z-index: 1031;
    height: 100%;
}

.sidebar .nav-link {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    transition: background 0.3s ease, padding 0.3s ease;
}

.sb-chat-icon {
    color: #fff;
    font-size: 50px;
    line-height: 1;
}

.sidebar .nav-link:hover {
    color:;
}

.sidebar .nav-link-text {
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.sidebar-header {
    transition: all 0.3s ease;
}

/* --- Collapsed state --- */
.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed:hover .sb-title {
    display:block;
}

.sidebar.collapsed .sb-title {
    display:none;   
}

.sidebar.collapsed .sidebar-header .h6 {
    display: none;
}

    .sidebar.collapsed .sidebar-title,
    .sidebar.collapsed .nav-link-text {
        opacity: 0;
        visibility: hidden;
    }

    .sidebar.collapsed .nav-link {
        /* justify-content: center; */        
        padding: 10px 16px;
    }

    /* --- Hover expand --- */
    .sidebar.collapsed:hover {
        width: 240px;
    }

        .sidebar.collapsed:hover .sidebar-title,
        .sidebar.collapsed:hover .nav-link-text {
            opacity: 1;
            visibility: visible;
        }

        .sidebar.collapsed:hover .nav-link {
            justify-content: flex-start;
            padding: 10px 15px;
        }

/* --- Main content --- */
.content {
    margin-top: 56px; /* below navbar */
    margin-left: 240px;
    transition: margin-left 0.3s ease;
    padding: 20px;
}

body.menu-collapsed .content {
    margin-left: 70px;
}

body.menu-collapsed .sidebar.collapsed:hover ~ .content {
    margin-left: 240px;
}

.bg-teal {
    background-color: #00796b;
}

.btn-teal {
    background-color: #00796b;
    color: #fff;
}

    .btn-teal:hover {
        background-color: #00695c;
        color: #fff;
    }

.align-center {
    padding: 0px 15px;
    transition: background 0.3s ease, padding 0.3s ease;
}

.align-end {
    float: inline-end;
    transition: background 0.3s ease, padding 0.3s ease;
}

#ConversationListbox option:checked {
    background-color: #007bff;
    color: white;
}



/*User info Box */

.picBox {
    border-bottom: 1px solid #ccc;
    padding: 8px 10px 8px 8px;
    display: flex;
    gap: 10px;
}


.user-img-holder {
    flex: 1 0 40px;
    max-width: 40px;
    background-color: #d5d5d5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    height: 40px;
    overflow: hidden;
}

.user-info {
    flex: 1;
}

.numberBox {
    font-size: 14px;
}

.convrow {
    background: linear-gradient(90deg, #a2c5c0, #20b1a0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.convrowNew {
    background: linear-gradient(90deg, #50b7a6, #10897b) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}


.convrow.active {
    background: #e9e9e9;
    outline: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

    .convrow.active .nameBox,
    .convrow.active .numberBox {
        font-weight: 700;
    }

/*User info Box end*/


/* Container for the search input */
.search-control {
    position: relative;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

/* Style for the search input field */
.search-control__input {
    border: none;
    padding: 5px 8px;
    background: white;
    color: #333;
    font-size: 16px;
    border-radius: inherit;
    transition: box-shadow 0.3s ease;
    width: 99%;
}

    .search-control__input:focus {
        outline: none;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .search-control__input::placeholder {
        color: #aaa;
    }



.login-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size:cover;
}


.login-form {
    backdrop-filter: blur(5px);
    background-color: #ffffffa3;
    padding: 25px 20px;
    border-radius: 15px;
}

.login-form input {
    height: 48px;
    border-radius: 5px;
}


.login-btn {
    width: 100%;
    height: 50px;
    background-color: #00796a;
    border-color: #00796a;
    font-size: 19px;
    transition: 0.3s ease-in;
}

.login-btn:hover {
    background-color: #000;
    border-color: #000;
}


.login-form h4 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 40px;
}


/*Dashboard Style*/

.mian-title {
    font-size: 32px;
    color: #333;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 3px;
}

.mian-title i {
    font-size: 38px;
    line-height: 1;
}

.dashboard-bg {
    min-height: 100vh;
    /* background: radial-gradient(circle at top, #0d1117, #000);
        color: #fff; */
    font-family: 'Poppins', sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    /* box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4); */
    box-shadow: 0 4px 25px rgb(0 0 0 / 15%);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    height: 100%;
}

    .glass-card:hover {
        transform: translateY(-4px);
        /* box-shadow: 0 6px 30px rgba(0, 255, 255, 0.25); */
        box-shadow: 0 6px 30px rgb(0 0 0 / 25%);
    }

.stat-card {
    min-height: 160px; /* all cards equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-glow {
    text-shadow: 0 0 10px #00e0ff, 0 0 20px #00e0ff;
}

.chart-box {
    height: 335px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px !important;
}

.chart-container {
    position: relative;
    height: 100%;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-height: 900px) {
    .dashboard-bg {
        padding: 20px 0;
    }

    .chart-box {
        height: 240px;
    }
}

/*  Glowing Emoji Style */
.glow-emoji {
    font-size: 2rem;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px #00e0ff);
    cursor: default;
}

.glow-emoji:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 15px #00ffff);
}

/*
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24
}
*/


/*#menuToggle {
    line-height: 1;
    padding: 0 4px;
    background-color: #ffff;
    border: 1px solid #fff;
    border-radius: 5px;
    margin-right: 12px;
}*/

#menuToggle {
    line-height: 1;
    padding: 0;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    margin-right: 12px;
    font-size: 20px;
    line-height: 1;
}


#menuToggle span {
    font-size: 35px;
    line-height: 1;
    color:#fff;
}

.ctm-btn-outline {
    padding: 10px 29px;
    border: 1px solid #4da6eb;
    transition: 0.3s ease-in;
}

.ctm-btn-outline:hover {
    padding: 10px 29px;
    background-color: #4da6eb;
    transition: 0.3s ease-in;
    color:#fff;
}

.ctm-box {
    display: flex;
    gap: 15px;
}

.ctm-box-icon {
    flex: 1 0 60px;
    max-width: 60px;
    background-color: #3a8dde;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 60px;
    color: #fff;
}

.ctm-box-icon i {
    font-size: 40px;
    line-height: 1;
}

.ctm-box-icon-1 i {
    font-size: 93px;
    color: #3a8dde;
}

.navbar-brand {
    color: #fff;
}

.user-holder {
    display: flex;
    align-items: center;
}

.user-img {
    flex: 1 0 40px;
    max-width: 40px;
    background-color: #fff;
    border-radius: 50px;
    overflow: hidden;
    height: 40px;
}
/*Dashboard Style end*/

table th a {
    color: #000;
    text-decoration: none;
}

.btn-primary {
    background-color: #3a8dde;
}

/*.sidebar.hidden {
    transform: translateX(-240px);*/
/*    transition: 0.3s ease-in;*/
    /*left: -240px;
    height: 100vh;
    z-index: 999;
}*/


@media (max-width:575.98px) {
/*    .content {
        margin-left: 0;
    }*/

    body.menu-collapsed .content {
        margin-left: 0px;
    }

    .sidebar.collapsed {
        width: 0;
    }

}
