@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

html {
    font-size: 62.5%;
}

:root {
    --sidebar-width: 25rem;
    --sidebar-collapsed-width: 8rem;
    --transition-time: 0.3s;
}

:root {
    --white-color: #fff;
    --black-color: #000;
    --gray-black-color: #323D47;
    --table-header-color: #323D47;
    --orange-color: #3CD458; 
    --background: #EBFAEE;
    --paragrap-color: #7A7A7A;
    --border-color: rgba(0, 0, 0, .175);
    --whatsapp-green: #25D366;
    --whatsapp-dark-green: #128C7E;
    --whatsapp-green-light: #5DF58F;
    --whatsapp-teal: #075E54;
    --whatsapp-blue: #34B7F1;
    --whatsapp-blue-dark: #128C7E;
    --whatsapp-green-dark: #128C7E;
    --bg-color: #f9f9f9;
    --sidebar-bg: #2f3349;
    --sidebar-color: #fff;
    --layout-bg: #25293C;
    --dsahboard-header: #fff;
    --btn-whstsapp: #fff;
    --action-btn-color: #fff;
    --btn-whatsapp-hover: #fff;
    --input-border: #dee2e6;
    --active-bg: #e0ffe0;
    --active-color: #2e7d32;
    --inactive-color: #f44336;
    --inactive-bg: rgba(244, 67, 54, 0.2);
    --agent-color: #4CAF50;
    --admin-color: #2196F3;
    --manager-color: #9C27B0;
    --qr-container-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --danger-red: #e74c3c;

}

[data-theme="dark"] {
    --bg-color: #25293C;
    --white-color: #000;
    --sidebar-bg: #2f3349;
    --sidebar-color: #fff;
    --layout-bg: #25293C;
    --dsahboard-header: #2F3349;
    --gray-black-color: #fff;
    --btn-whstsapp: #fff;
    --btn-whatsapp-hover: #323D47;
    --table-header-color: #323D47;
    --action-btn-color: #fff;
    --input-border: #dee2e669;
    --qr-container-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);


}

body {
    font-family: "Bricolage Grotesque", sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
    font-size: 1.6rem;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.4rem;
    color: var(--gray-black-color);
}

img{
    width: 100%;
}



.wa-dashboard-wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.logo {
    text-align: center;
    padding: 1rem 0;
    background: var(--whatsapp-green);
}

.logo a img {
    width: 18.5rem;
    height: auto;
}

.sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    color: var(--sidebar-color);
    transition: all var(--transition-time) ease;
    height: 100vh;
    padding-top: 0;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 16px -2px, rgba(0, 0, 0, 0.05) 0px 2px 22px -1px;
    position: fixed;
    top: 0;
    left: 0;
    /* overflow-y: scroll; */
    background: var(--sidebar-bg);
    z-index: 999;
}

.sidebar-wrapper {
    position: fixed;
    top: 7.5rem;
    left: 0;
    width: 25rem;
    overflow-y: scroll;
    height: 100vh;
    scrollbar-width: none;
}

.wa-dashboard-content {
    padding: 10.5rem 3rem 3rem 3rem;
}

.sidebar.active {
    margin-left: calc(var(--sidebar-width) * -1);
}

.sidebar ul li a {
    padding: 0.8rem 1.5rem;
    font-size: 1.6rem;
    display: block;
    color: var(--sidebar-color);
    text-decoration: none;
    transition: .5s;
    position: relative;
    margin: .3rem 0;
}
.sidebar ul li a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    content: "";
    width: 0;
    height: 100%;
    z-index: -1;
    transition: all .5s ease-in-out;
    background-color: var(--whatsapp-green);
}

.sidebar ul li a:hover::before{
    width: calc(100% + 16px);
}

.sidebar-list li a {
    display: flex !important;
    align-items: center;
    gap: .5rem;
}

.sidebar ul li a:hover {
    color: var(--sidebar-color);
    transition: .5s;
}

/*.sidebar ul li.active a {
    color: var(--sidebar-color);
    background: var(--whatsapp-green);
}
*/
.sidebar .sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.nav-item.dropdown .dropdown-toggle::after {
    content: "\f107";
    font-weight: 500;
    border: inherit;
    font-family: FontAwesome;
    right: 1rem;
    position: absolute;
    transform: rotate(-90deg);
    transition: .5s;
}

.nav-item.dropdown.main-active.active .dropdown-toggle::after{
    transform: rotate(0deg);
    transition: .5s;
}

.nav-item.dropdown.active > a {
    background: var(--whatsapp-green);
}

.nav-item.dropdown.active .nav-link.dropdown-toggle::after {
    transform: rotate(0);
    transition: .5s;
}










#content {
    width: 100%;
    min-height: 100vh;
    transition: all var(--transition-time) ease;
    transition: .5s;
    margin-left: 25rem;
}

/* Dark mode styles */
[data-bs-theme="dark"] body {
    background-color: #212529;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .sidebar {
    background: #212529;
    border-right: 1px solid #495057;
}

[data-bs-theme="dark"] .sidebar .sidebar-header {
    background: #1a1e21;
}

[data-bs-theme="dark"] .navbar {
    background-color: #212529 !important;
    border-bottom: 1px solid #495057;
}

[data-bs-theme="dark"] .card {
    background-color: #2c3034;
    border-color: #495057;
}

[data-bs-theme="dark"] .form-check-label {
    color: #f8f9fa;
}

/* Responsive styles */

/* Collapsed sidebar styles */
.sidebar.collapsed {
    min-width: var(--sidebar-collapsed-width);
    max-width: var(--sidebar-collapsed-width);
    text-align: center;
}

.sidebar.collapsed .sidebar-header h3,
.sidebar.collapsed .sidebar-footer .form-check-label,
.sidebar.collapsed ul li a span {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    padding: 10px;
}

.sidebar.collapsed ul li a {
    padding: 1.5rem 1rem;
    font-size: 0.85em;
}

.sidebar.collapsed ul li a i {
    margin-right: 0;
    font-size: 1.2em;
}

.sidebar.collapsed .sidebar-footer .form-check {
    display: flex;
    justify-content: center;
}

.header-area {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    background: var(--dsahboard-header);
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 3rem;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 6px -2px, rgba(0, 0, 0, 0.05) 0px 2px 2px -1px;
}

.header-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.header-right button {
    background: none;
    transition: ;
    border: none;
    font-size: 2rem;
    color: var(--gray-black-color);
}

.profile {
    cursor: pointer;
    /* display: inline-block; */
    /*width: 4rem;
    height: 4rem;*/
    border: 0px solid var(--gray-black-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.profile i {
    font-size: 1.8rem;
    color: var(--gray-black-color);
}

.profile img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 50px;
    object-position: top;
    border-width: 2px;
    border-style: solid;
    border-color: var(--sidebar-color);
}

.profile-menu {
    display: none;
    position: absolute;
    top: 6rem;
    right: 0;
    background: var(--dsahboard-header);
    list-style: none;
    padding: 0;
    margin: 0;
    width: 25rem;
    border-color: var(--border-color);
    border-width: 1px;
    border-style: solid;
    border-radius: 0.3rem;
}

.profile-menu li {
    border-bottom: 1px solid var(--input-border);
}

.profile-menu li a {
    display: block;
    padding: .7rem 1.5rem;
    text-decoration: none;
    color: var(--gray-black-color);
    font-size: 1.6rem;
    border: none;
}

.profile-menu li:last-child{
    border: none;
}

.profile-menu li a i {
    margin-right: .5rem;
}



/* Profile Card */

.wa-dashboard-content > h2 {
    margin-bottom: 30px;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 4.5rem;
    color: var(--gray-black-color);
}

.profile-card-wrapper {
    margin-bottom: 3rem;
}

.profile-card {
    background: var(--dsahboard-header);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    position: relative;
    margin-right: 20px;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #f1f1f1;
    object-fit: cover;
    object-position: top;
}

.profile-avatar .verified {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--whatsapp-green);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.profile-info h3 {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3.6rem;
    margin: 0;
    color: var(--gray-black-color);
}

.profile-info p {
    color: var(--whatsapp-blue);
    margin-bottom: 10px;
}

.profile-badge {
    display: inline-block;
    background: var(--whatsapp-green);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.profile-badge.free {
    background: #888;
}

.profile-badge.pro {
    background: var(--whatsapp-green);
}

.profile-stats {
    display: flex;
    background: var(--input-border);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-right: 1px solid var(--gray);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h4 {
    font-size: 24px;
    color: var(--gray-black-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-item p {
    color: var(--gray-black-color);
    font-size: 16px;
}


/* Upgrade Card */
.upgrade-card {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}



.upgrade-card:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.upgrade-card h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
    line-height: 4rem;
    font-weight: 600;
}

.upgrade-card p {
    margin-bottom: 20px;
    opacity: 1;
    font-size: 16px;
    position: relative;
    color: var(--sidebar-color);
}

.upgrade-features {
    margin-bottom: 25px;
    position: relative;
}

.upgrade-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.upgrade-features li i {
    margin-right: 10px;
    color: white;
}

.btn-upgrade {
    background: var(--dsahboard-header);
    color: var(--gray-black-color);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.btn-upgrade:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upgrade-features li i {
    bottom: 5px;
    right: 5px;
    background: var(--whatsapp-green);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Details */

.profile-details {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.detail-card {
    flex: 1;
    min-width: 300px;
    background: var(--dsahboard-header);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin: 0 15px 30px;
}

.detail-card h4 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--gray-black-color);
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 3rem;
}

.detail-card h4 i {
    margin-right: 10px;
    color: var(--whatsapp-green);
    font-size: 2rem;
}

.detail-group {
    margin-bottom: 15px;
}

.detail-group label {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 5px;
}

.detail-group .detail-value {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--gray-black-color);
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    line-height: 1.6rem;
}

        



/*MEssage Template page Css*/

.wa-dashboard-content .container {
    max-width: 100%;
}


.wa-body {
    background: var(--dsahboard-header);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}



.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3.6rem;
    margin: 0;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

.toolbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: initial;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    gap: 1.5rem;
}

.toolbar .btn {
    border: none;
    padding: 7px 10px;
    background: var(--whatsapp-green);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.4rem;
    transition: .5s;
}

.toolbar .btn:hover {
    background-color: var(--gray-black-color);
    transition: .5s;
}

.toolbar .btn.active {
    background-color: var(--whatsapp-green);
    color: white;
}

.character-count {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

.message-editor textarea,
.footer-editor textarea {
    /*border: 1px solid #dee2e6;*/
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.message-editor textarea:focus, .footer-editor textarea:focus {
    border-color: var(--whatsapp-green);
    box-shadow: inherit;
}

.btn-check:checked + .btn-outline-secondary {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: white;
}

.header-fields {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Preview Section */


.preview-header {
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark-green));
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.whatsapp-preview {
    border-radius: 1rem;
    height: 550px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.whatsapp-chat {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--white-color);
    padding: 12px 16px;
    font-size: 1.6rem;
}

.chat-header .avatar {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: initial !important;
}

.avatar img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    object-position: top;
    border-radius: 5rem;
}

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.message-bubble {
    background: #134D37;
    border-radius: 12px 12px 4px 12px;
    padding: 8px 12px;
    max-width: 75%;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.message-bubble::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid #134D37;
    border-bottom: 8px solid transparent;
}

.message-header {
    margin-bottom: 8px;
}

.message-header img {
    width: 100%;
    border-radius: 8px;
    max-height: 200px;
    object-fit: cover;
}

.message-header video {
    width: 100%;
    border-radius: 8px;
    max-height: 200px;
}

.message-header .document-preview {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-header .document-preview i {
    font-size: 24px;
    color: #dc3545;
}

.message-header .text-header {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.message-body {
    line-height: 2.4rem;
    color: var(--white-color);
    margin-bottom: 4px;
    word-wrap: break-word;
}

.message-body .placeholder-text {
    color: #999;
    font-style: italic;
}

.message-body b {
    font-weight: bold;
}

.message-body i {
    font-style: italic;
}

.message-body s {
    text-decoration: line-through;
}

.message-body .variable-placeholder {
    color: #fff;
    padding: 0;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.6rem;
}

.message-bubble #previewBody b .variable-placeholder {
    background: ;
    font-weight: 700;
}


.quick-reply-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply-btn:hover {
    background: var(--whatsapp-green);
    color: white;
}

.cta-button {
    display: block;
    width: 100%;
    background: var(--whatsapp-green);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: var(--whatsapp-dark-green);
    color: white;
    text-decoration: none;
}

.message-time {
    font-size: 1.3rem;
    color: #999;
    text-align: right;
    margin-top: 0;
}

.chat-input {
    padding: 1.5rem;
}

.chat-input .input-group {
    border-radius: 20px;
    overflow: hidden;
    background: var(--dsahboard-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-input .input-group .btn.btn-link {
    font-size: 1.6rem;
    color: var(--gray-black-color);
}

.chat-input .btn {
    background: transparent;
    border: none;
    justify-content: center;
    text-align: center;
    margin: auto;
}

.chat-input .form-control {
    border: none;
    background: transparent;
    padding: 8px 12px;
}

.chat-input .form-control:focus {
    box-shadow: none;
    background: transparent;
}

/* Emoji Picker */

.emoji-item {
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.emoji-item:hover {
    background-color: #f0f0f0;
}

/* Quick Reply Management */
.quick-reply-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem !important;
    outline: none;
    border: 1px solid #dee2e6 !important;
    transition: .5s !important;
}

.quick-reply-item input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 4px 8px;
}

.quick-reply-item input:focus {
    outline: none;
    background: white;
    border-radius: 4px;
}

.quick-reply-item .btn {
    padding: 2px 6px;
    font-size: 0.75rem;
}

/* Responsive adjustments */

/* Custom scrollbar for preview */
.whatsapp-preview::-webkit-scrollbar {
    width: 4px;
}

.whatsapp-preview::-webkit-scrollbar-track {
    background: transparent;
}

.whatsapp-preview::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
}

.whatsapp-preview::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

/* Animation for button additions */
.quick-reply-item {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Focus styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--whatsapp-green);
    box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
}

/* Button hover effects */
.btn-success {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
}

.btn-success:hover {
    background-color: var(--whatsapp-dark-green);
    border-color: var(--whatsapp-dark-green);
}

.btn-outline-success {
    color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
}

.btn-outline-success:hover {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
}

.wa-form-label {
    display: block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

.wa-form-control {
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    outline: none;
    border: 1px solid var(--input-border);
    transition: .5s;
    background: transparent;
    color: var(--gray-black-color);
}


.wa-form-control:focus {
    border-color: var(--whatsapp-green);
    transition: .5s;
    box-shadow: inherit;
}

.wa-form-select {
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 1.3rem 1.5rem;
    border-radius: .5rem;
    outline: none;
    border: 1px solid var(--input-border);
    transition: .5s;
    background: var(--dsahboard-header);
    color: var(--gray-black-color);
}

.wa-text-small {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

.wa-label-btn {
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--gray-black-color);
    border-radius: 0.3rem;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: 500;
    cursor: pointer;
}

.btn-check:checked + .wa-label-btn {
    background: var(--whatsapp-green);
    color: var(--white-color);
    border-color: var(--whatsapp-green);
    transition: ;
}

.wa-btn-group {
    margin-bottom: 2rem;
    display: flex;
    justify-content: start;
    gap: 2rem;
}

.wa-tool-btn-group button {
    background: transparent;
    color: var(--gray-black-color);
    font-size: 1.6rem;
    font-weight: ;
    line-height: 1.6rem;
    border: none;
}

.modal {
    --bs-modal-width: 80rem;
    width: 100%;
}

#variableModal .modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 500;
    color: var(--gray-black-color);
}

.variable-grid {
    display: grid;
    grid: auto-flow / 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

.variable-item {
    border: 1px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
    font-size: 1.4rem;
    text-align: center;
    padding: 5px;
    border-radius: 5rem;
    cursor: pointer;
}

.wa-tool-btn-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#variableModal .modal-content {
    padding: 2rem;
}

#emojiModal .modal-header, #variableModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#emojiModal .modal-header button, #variableModal .modal-header button {
    background: initial;
    border: none;
    color: var(--gray-black-color);
    font-size: 2rem;
}

#emojiModal .modal-title {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 500;
    color: var(--gray-black-color);
}

#emojiModal .modal-sm {
    --bs-modal-width: 40rem;
}

#addQuickReplyBtn {
    border: none;
    padding: 7px 10px;
    background: var(--whatsapp-green);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.4rem;
    transition: .5s;
}

.preview-name {
    font-size: 1.4rem;
    line-height: 1.2rem;
    margin-bottom: .5rem;
    color: var(--gray-black-color);
}

.preview-status {
    font-size: 1rem;
    line-height: 1rem;
}

.message-preview {
    position: relative;
}

.preview-section {
    position: fixed;
    width: 39.6rem;
    bottom: 3rem;
}

.chat-header-left {
    margin-left: 0.5rem;
}

.chat-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.chat-header-right i {
    font-size: 1.8rem;
    line-height: 1.8rem;
    color: var(--gray-black-color);
    cursor: pointer;
}

.chat-input .wa-form-control {
    width: auto;
    border: none;
}



/* New MEssage Templated Css */

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 1.6rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--whatsapp-green);
    box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
}

.header-options {
    display: flex;
    gap: 15px;
    margin: 2rem 0 0 0;
}

.header-option,.number-option {
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--gray-black-color);
    border-radius: 0.3rem;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: 500;
    cursor: pointer;
}
.header-option:hover,.number-option:hover {
    border-color: var(--whatsapp-green);
    background-color: #f8fff8;
}

.header-option.active,.number-option.active {
    background: var(--whatsapp-green);
    color: var(--sidebar-color);
    border-color: var(--whatsapp-green);
}

.header-option input[type="radio"],.number-option input[type="radio"] {
    display: none;
}

.message-editor {
    position: relative;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    min-height: 120px;
    background: var(--dsahboard-header);
}

.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--input-border);
    background: var(--dsahboard-header);
    border-radius: 8px 8px 0 0;
    justify-content: space-between;
}

.editor-toolbar-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.editor-btn {
    /* background: none; */
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: var(--dsahboard-header);
    color: var(--gray-black-color);
}

.editor-btn:hover {
    background-color: #e9ecef;
}

.editor-btn.active {
    background-color: var(--whatsapp-green);
    color: white;
    border-color: var(--whatsapp-green);
}

.editor-content {
    padding: 1.5rem;
    min-height: 15rem;
    outline: none;
    line-height: 2.4rem;
    border: none;
    width: 100%;
    background: transparent;
    font-size: 1.6rem;
}

.editor-content:empty:before {
    content: "Template Message...";
    color: #999;
}
#addVariableBtn {
    border: none;
    padding: 7px 10px;
    background: var(--whatsapp-green);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.4rem;
    transition: .5s;
}

.whatsapp-preview {
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1rem;
    border: none;
    outline: none;
}



.phone-screen {
    overflow: hidden;
    position: relative;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 16px;
}

.contact-status {
    font-size: 12px;
    opacity: 0.8;
}

.message-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.message-body {
    color: var(--sidebar-color);
    line-height: 2.4rem;
    margin-bottom: 8px;
    word-wrap: break-word;
    font-size: 1.6rem;
}

.message-body a {
    color: #1976d2;
    text-decoration: underline;
}

.message-body b {
    font-weight: bold;
}

.message-body i {
    font-style: italic;
}

.message-body s {
    text-decoration: line-through;
}

.message-footer {
    margin-top: 8px;
    padding-top: 8px;
    color: var(--white-color);
    line-height: 2.4rem;
    margin-bottom: 8px;
    word-wrap: break-word;
    font-size: 1.6rem;
}

.message-container {
    padding: 1.5rem;
}

.message-time {
    font-size: 12px;
    color: var(--sidebar-color);
    text-align: right;
}

.message-buttons {
    margin-top: 10px;
}

.message-button {
    display: block;
    width: 100%;
    background: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: 2rem;
    padding: 8px 16px;
    margin: 5px 0;
    text-align: center;
    color: var(--whatsapp-green);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.message-button:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: var(--whatsapp-green);
}

.emoji-picker {
    position: absolute;
    top: 56px;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    width: 350px;
    height: 350px;
    overflow-y: auto;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
}

.emoji-item {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.emoji-item:hover {
    background: #f0f0f0;
}

.variable-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dsahboard-header);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1050;
    width: 80rem;
    overflow: hidden;
    height: auto;
    padding: 2rem;
}

.variable-popup-header {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 500;
    color: var(--gray-black-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.variable-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
    display: grid;
    grid: auto-flow / 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

/*.variable-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}*/

.variable-item:hover {
    background: var(--whatsapp-light-green);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
}

/*.btn-whatsapp {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark-green);
    border-color: var(--whatsapp-dark-green);
    color: white;
}*/

.media-preview {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.document-preview {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.char-counter {
    font-size: 16px;
    color: var(--gray-black-color);
    font-weight: 400;
}

.header-content {
    margin-bottom: 10px;
}

.header-text {
    font-weight: 600;
    color: var(--white-color);
    line-height: 2.4rem;
    margin-bottom: 8px;
    word-wrap: break-word;
    font-size: 1.6rem;
}

#previewHeader img {
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.variable-popup-header #closeVariablePopup {
    font-size: 2.6rem;
    padding: 0;
    height: auto;
    background: initial;
    color: var(--gray-black-color);
    border: inherit;
}

#quickReplyArea {
    margin-top: 1rem;
}

#ctaArea {
    margin-top: 1rem;
}

#billingTable thead tr th, #contactsTable thead tr th {
    background: var(--table-header-color);
    color: #fff;
}
#billingTable_wrapper table.dataTable thead .sorting_desc, #contactsTable table.dataTable thead .sorting_desc {
    background-repeat: no-repeat !important;
    background-image: inherit !important;
}

#billingTable_wrapper table.dataTable thead .sorting, #billingTable tbody tr td table.dataTable thead .sorting {
    background-repeat: no-repeat !important;
    background-image: inherit !important;
}

#billingTable_wrapper table.dataTable thead th, #billingTable_wrapper table.dataTable thead td
#contactsTable table.dataTable thead th, #contactsTable table.dataTable thead td {
    padding: 10px 10px;
    border-bottom: inherit !important;
}

/*#billingTable_wrapper table.dataTable tbody tr {
    background-color: rgba(37, 211, 102, 0.3);
}
*/
#billingTable_wrapper table.dataTable.display tbody tr.even > .sorting_1, #billingTable_wrapper table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: #fafafa00;
}

#billingTable_wrapper table.dataTable.display tbody tr.odd > .sorting_1, #billingTable_wrapper table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #f1f1f100;
}

/*#billingTable_wrapper table.dataTable.hover tbody tr:hover, #billingTable_wrapper table.dataTable.display tbody tr:hover {
    background-color: rgba(37, 211, 102, 0.3);
}*/

#billingTable_wrapper table.dataTable.stripe tbody tr.odd, #billingTable_wrapper table.dataTable.display tbody tr.odd {
    background-color: #fff;
}

/*#billingTable_wrapper table.dataTable.row-border tbody th, #billingTable_wrapper table.dataTable.row-border tbody td, #billingTable_wrapper table.dataTable.display tbody th, #billingTable_wrapper table.dataTable.display tbody td {
    border-top: inherit;
    border: inherit !important;
}*/

#billingTable .role-admin, #billingTable .role-agent, #billingTable .role-manager {
    margin-top: 10px !important;
}

#billingTable_wrapper table.dataTable.no-footer {
    border-bottom: inherit !important;
    margin-bottom: 2rem;
}

#billingTable_length label {
    display: block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

#billingTable_filter input {
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    outline: none;
    border: 1px solid #dee2e6;
    transition: .5s;
    max-width: 250px;
    width: 100%;
}

#billingTable_filter label {
    display: block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
    text-align: left;
}

#billingTable_info {
    display: block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

.paginate_button.current {
    display: inline-block !important;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color) !important;
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    display: inline-block !important;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 600;
    background: var(--whatsapp-green);
    color: var(--white-color) !important;
    padding: 0.5rem 1.5rem;
    border-color: var(--whatsapp-green) !important;
    margin: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    display: inline-block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color) !important;
    padding: 0.5rem 1.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    padding: .5rem 1.5rem;
    text-decoration: none !important;
    cursor: pointer;
    color: var(--gray-black-color) !important;
    border-radius: 2px;
    border: 1px solid var(--gray-black-color) !important;
    height: auto;
    width: auto;
    line-height: 2rem;
    margin: 0 5px;
    box-shadow: inherit !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #111;
    background-color: #585858;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
    background: -moz-linear-gradient(top, #585858 0%, #111 100%);
    background: -ms-linear-gradient(top, #585858 0%, #111 100%);
    background: -o-linear-gradient(top, #585858 0%, #111 100%);
    background: var(--whatsapp-green);
    border-color: var(--whatsapp-green) !important;
}

#billingTable_previous:focus-visible {
    outline: inherit !important;
}

.invoice-link {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5rem;
    padding: .7rem 1.5rem;
    background: var(--whatsapp-green) !important;
    border-radius: 3.5rem;
    color: var(--white-color);
    border: 1px solid var(--whatsapp-green);
    display: inline-block;
    transition: .5s;
}

.invoice-link:hover{
    background: var(--gray-black-color) !important;
    transition: .5s;
    border-color: var(--gray-black-color) !important;
}

#billingTable tbody tr td {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: var(--gray-black-color);
    box-shadow: inherit !important;
}

.status-paid {
    color: #28a745;
    font-weight: 600;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
}

.status-failed {
    color: #dc3545;
    font-weight: 600;
}

.status-delivered {
    color: #25D366 !important;
    font-weight: bold !important;
} 
.status-failed {
    color: #ff3333 !important;
    font-weight: bold !important;
}
.status-pending {
    color: #ff9900 !important;
    font-weight: bold !important;
}

.stats-card {
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stats-card .icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    opacity: 1;
}

.value {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3rem;
    margin: 0;
    color: var(--sidebar-color);
}

.stats-card .label {
    display: block;
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: var(--sidebar-color);
    margin-bottom: 5px;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}




/*Team Page Css*/

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-filter {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.team-filter button {
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: .5rem;
    outline: none !important;
    border: 1px solid var(--gray-black-color);
    transition: .5s;
    background: transparent;
    color: var(--gray-black-color);
    /* transition: .5s; */
}

.team-filter button:hover{
    transition: .5s;
    background: var(--whatsapp-green);
    color: var(--white-color);
    border-color: var(--whatsapp-green);

}

.dropdown-menu {
    width: 100%;
    background: var(--white-color);
    border-color: var(--gray-black-color);
}


.dropdown-menu.show li a {
    color: var(--gray-black-color);
    font-size: 1.6rem;
    transition: .5s;
    font-weight: 400;
}

.dropdown-menu.show li a:hover{
    color: var(--whatsapp-green);
    background: inherit !important;
}



#teamTable_wrapper .top, #teamTable_wrapper .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#teamTable_wrapper .top input {
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    outline: none;
    border: 1px solid var(--input-border);
    transition: .5s;
}

#teamTable_wrapper .top input:focus{
    border-color: var(--whatsapp-green);
  transition: .5s;
  box-shadow: inherit;
}

/*#teamTable_length label {
    display: block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}*/

.add-member {
    text-align: right;
    margin-bottom: 1rem;
}

.add-member button {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: white;
    border-width: 1px;
    border-style: solid;
    padding: .7rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: .5rem;
}

#teamTable thead tr th {
    background: var(--gray-black-color);
    color: #fff;
    padding: 1rem;
}


.table-hover > tbody > tr:hover > * {
    --bs-table-color-state: var(--bs-table-hover-color);
    --bs-table-bg-state: none;
}

#teamTable .even td {
    background: rgba(37, 211, 102, 0.3);
}

.user-name h6 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gray-black-color);
    line-height: 2.4rem;
}

#teamTable tbody tr td {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: var(--gray-black-color);
}


#teamTable thead tr th {
    background: var(--table-header-color);
}

.status-active {
    background-color: var(--active-bg);
    color: var(--active-color);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 12px;
}

.status-inactive {
    background-color: var(--inactive-bg);
    color: var(--inactive-color);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 12px;
}

.avatar-image {
    display: flex;
    align-items: center;
}

.team-member-filtering {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--whatsapp-green);
    text-align: center;
    white-space: nowrap;
    background-color: transparent;
    border: 1px solid var(--input-border);
    border-radius: var(--bs-border-radius);
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: inherit;
    align-items: stretch;
    width: 100%;
}

#teamTable_wrapper .top .form-select {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: .5rem;
    box-shadow: inherit !important;
}

#teamTable_wrapper .top #teamTable_length label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin: 0;
    font-weight: 400;
    color: var(--gray-black-color);
}

#teamTable_wrapper .bottom .disabled > .page-link, .page-link.disabled {
    color: var(--bs-pagination-disabled-color);
    pointer-events: none;
    background-color: var(--bs-pagination-disabled-bg);
    border-color: var(--bs-pagination-disabled-border-color);
    padding: 0 !important;
    background: inherit;
    border: none !important;
}

table.dataTable > tbody > tr:nth-child(2n) {
    --bs-table-bg: var(--dsahboard-header);
}

table.dataTable > tbody > tr:nth-child(2n) {
    background: var(--dsahboard-header);
}

table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover, table.dataTable thead > tr > td.dt-orderable-asc:hover, table.dataTable thead > tr > td.dt-orderable-desc:hover {
    outline: inherit !important;
    outline-offset: inherit !important;
}

table.dataTable > thead > tr > th, table.dataTable > thead > tr > td {
    padding: 10px;
    border-bottom: inherit !important;
}

table.dataTable > tbody > tr {
    background-color: transparent;
    border-bottom: 1px solid var(--input-border) !important;
}

.bottom button {
    font-size: 1.4rem !important;
    line-height: 1.4rem;
    padding: 0.8rem 1.4rem !important;
    background: transparent !important;
    font-weight: 500;
    border: 1px solid var(--gray-black-color) !important;
    color: var(--gray-black-color) !important;
    box-shadow: inherit !important;
}

div.dt-container .dt-paging .dt-paging-button.disabled, div.dt-container .dt-paging .dt-paging-button.disabled:hover, div.dt-container .dt-paging .dt-paging-button.disabled:active {
    cursor: default;
    color: var(--gray-black-color) !important;
    border: 1px solid var(--gray-black-color) !important;
    background: transparent;
    box-shadow: none;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    color: white !important;
    background: var(--whatsapp-green) !important;
    border-color: var(--whatsapp-green) !important;
    box-shadow: inherit !important;
}

div.dt-container .dt-paging .dt-paging-button.current {
    background: var(--whatsapp-green) !important;
    color: #fff !important;
    border-color: var(--whatsapp-green) !important;
}

div.dt-container .dt-paging .dt-paging-button.disabled:hover {
    background: var(--whatsapp-green) !important;
    color: white !important;
    border-color: var(--whatsapp-green) !important;
}

.bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dt-search {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
}

.dt-search label {
    color: var(--gray-black-color);
}

.dt-search input{
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    outline: none;
    border: 1px solid #dee2e6;
    transition: .5s;
}

.dt-search input:focus{
    border-color: var(--whatsapp-green);
    transition: .5s;
}

.dt-paging nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#teamTable tbody tr td h4 {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: var(--gray-black-color);
    box-shadow: inherit !important;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h5 {
    display: block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: var(--gray-black-color);
}

.modal-header button {
    font-size: 2.4rem;
    padding: 0;
    height: auto;
    background: initial;
    color: var(--gray-black-color);
    border: inherit;
    line-height: 2.4rem;
    border: 0;
}

#saveMemberBtn {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: white;
    border-width: 1px;
    border-style: solid;
    padding: 0.5rem 1.3rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: .5rem;
    transition: .5s;
}

#saveMemberBtn:hover {
    /*background: var(--gray-black-color);
    transition: .5s;
    border-color: var(--gray-black-color);
    color: var(--whatsapp-green);*/
    background: var(--gray-black-color);
  border-color: var(--gray-black-color);
  transition: .5s;
  color: var(--btn-whatsapp-hover);
}

.btn-whatsapp-cancel{
    background-color: var(--gray-black-color);
    border-color: var(--gray-black-color);
    color: white;
    border-width: 1px;
    border-style: solid;
    padding: 0.5rem 1.3rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: .5rem;
    transition: .5s;
}

.btn-whatsapp-cancel:hover{
    background: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    transition: .5s;
    color: var(--btn-whstsapp);
}


/*New Team page Css*/


.user-details .modal-header {
    background: var(--whatsapp-green);
    padding: 1.5rem;
    border: none;
}

.modal-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.user-modal-contetn-header h4 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-black-color);
    line-height: 3.2rem;
}

.user-modal-contetn-header p {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gray-black-color) !important;
    line-height: 2.4rem;
}

.user-modal-contetn-header {
    margin-bottom: 2rem;
}

#numbersTable thead tr {
    --bs-table-bg-type: var(--whatsapp-green) !important;
}

#numbersTable thead tr th {
    color: var(--white-color);
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
}

#numbersTable tbody tr:nth-child(2n) {
    --bs-table-bg-type: rgba(37, 211, 102, 0.3) !important;
}

#numbersTable tbody tr td {
    color: var(--gray-black-color);
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 400;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-color-type: none !important;
    --bs-table-bg-type: transparent;
}


.team-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.btn-another {
    background-color: transparent;
    border-color: var(--whatsapp-green);
    color: var(--whatsapp-green);
    border-style: solid;
    padding: 0.5rem 1.3rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: .5rem;
    transition: .5s;
}

.btn-another:hover{
    background: var(--whatsapp-green);
    color: var(--white-color);
    transition: .5s;
}

.team-filtering {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.add-member.header-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}






/*Template Library css*/

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    top: 16px;
    left: 15px;
    color: var(--gray-black-color);
}

#searchInput {
    padding-left: 4rem;
}

.filter-section {
    margin-bottom: 3rem;
}

.tamplte-library-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: var(--btn-whstsapp);
    border-width: 1px;
    border-style: solid;
    padding: .7rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: .5rem;
}

.btn-whatsapp:hover {
    background: var(--gray-black-color);
    border-color: var(--gray-black-color);
    transition: .5s;
    color: var(--btn-whatsapp-hover);
}

#templateContainer .wa-body {
    margin-bottom: 0;
}

.template-card .card-header {
    background: rgba(37, 211, 102, 0.3);
    padding: 1.3rem;
    border-radius: 1rem 1rem 0 0;
    font-size: 1.8rem;
    line-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.template-card .card-body {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 400;
    color: var(--gray-black-color);
}

.template-card .card-header h3 {
    font-weight: 600;
    font-size: 2rem;
    line-height: 3rem;
    color: var(--gray-black-color);
}

.template-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
    border-radius: 0 0 1rem 1rem;
}

.template-card .card-body .btn-whatsapp:hover {
    color: var(--white-color);
}

.tamplate-library-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.preview-btn {
    background: var(--gray-black-color);
    color: var(--white-color);
    border: 1px solid var(--gray-black-color);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6rem;
    padding: 0.7rem 1.5rem;
    border-radius: 0.4rem;
    transition: .5s;
}

.preview-btn:hover{
    background: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    transition: .5s;
}

.tamplate-library-btn .btn-whatsapp {
    line-height: 1.6rem;
    padding: 0.7rem 1.5rem;
}

.pagination-area {
    margin-top: 3rem;
}

.pagination-area ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
#emptyState i {
    color: var(--gray-black-color);
}

.pagination-area ul li a {
    border: 1px solid var(--input-border);
    padding: 0.6rem 1.5rem;
    font-size: 1.6rem;
    line-height: 1.6rem;
    color: var(--gray-black-color) !important;
}

.pagination-area ul li.active a {
    color: ;
    background: var(--whatsapp-green);
    color: var(--white-color);
    border-v: ;
    border-color: var(--whatsapp-green);
}

.badge-category {
    display: none;
}

.user-details h5 {
    color: var(--sidebar-color);
}

.user-details .modal-content {
    border: inherit;
}

#emptyState .btn-whatsapp {
    display: inline-block;
    margin-top: 1rem;
}

#emptyState h4 {
    font-size: 1.8rem;
    line-height: 2.8rem;
    font-weight: 600;
    color: var(--gray-black-color);
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit !important;
    border-style: inherit !important;
    border-width: inherit !important;
}


.dt-length {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dt-paging-button.disabled.first {
    display: none !important;
}

.dt-paging-button.disabled.last {
    display: none !important;
}

.user-details .modal-footer {
    border: none !important;
    border-top: inherit !important;
}

.modal-header button i {
    color: var(--sidebar-color);
}

.user-details .modal-body {
    padding: 3rem !important;
    background: var(--dsahboard-header);
}

.user-details .modal-footer {
    border: none !important;
    border-top: inherit !important;
    padding: 0 3rem 3rem 3rem;
    background: var(--dsahboard-header);
}

/*#teamTable .dt-type-numeric button {
    font-size: 1.6rem;
    line-height: 2.4rem;
    background: var(--bs-btn-hover-bg);
    color: var(--sidebar-color);
}*/

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    color: var(--sidebar-color);
}

.action-btn:hover {
    transform: scale(1.05);
}


.edit-btn {
    background-color: var(--whatsapp-green);
}

.edit-btn:hover {
    background-color: var(--whatsapp-dark-green);
}

.delete-btn {
    background-color: var(--danger-red);
}

.delete-btn:hover {
    background-color: #c0392b;
}



.btn-danger {
    color: white;
    border-width: 1px;
    border-style: solid;
    padding: .7rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: .5rem;
}

.pricing-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 15px;
}

.pricing-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--whatsapp-green);
}

.popular-badge {
    background-color: var(--whatsapp-green);
    color: white;
    transform: rotate(45deg);
    position: absolute;
    right: -50px;
    top: 30px;
    width: 180px;
    text-align: center;
    font-size: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-black-color);
}

.period {
    font-size: 1.2rem;
    color: var(--gray-black-color);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: var(--gray-black-color);
}

.feature-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--whatsapp-green);
    position: absolute;
    left: 0;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2325D366'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Testimonial Slider Styles */
.testimonial-slider {
    padding: 4rem 0;
}

.testimonial-card {
    background: var(--dsahboard-header);
    border-left: 4px solid var(--whatsapp-green);
    border-radius: 8px;
    padding: 2rem;
    margin: 0 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--whatsapp-light);
}

.carousel-control-prev, .carousel-control-next {
    width: 4rem;
    color: var(--whatsapp-dark);
    opacity: 1;
    height: 4rem;
    border-radius: 5rem;
    position: absolute;
    top: 42%;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.4);
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--whatsapp-green);
}

.quote-icon {
    color: var(--whatsapp-green);
    font-size: 3.6rem;
    opacity: 1;
    margin-bottom: 1rem;
}


.pricing-header h3 {
    color: #fff;
    font-size: 3rem;
    line-height: 4rem;
}

.pricing-header p {
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #fff;
    margin-bottom: 2rem;
}

.pricing-card-btn label {
    padding: 1.2rem;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 500;
}

.pricing-card-item.wa-body {
    padding: 3rem !important;
}

.pricing-card-item.h-100.position-relative.popular.wa-body {
    overflow: hidden;
}

.pricing-card-item.wa-body .btn-whatsapp {
    padding: 1.2rem !important;
}

.faq-area .container {
    max-width: 1320px;
    width: 100%;
    margin: auto;
}

.faq-area .col-lg-8 {
    margin: auto;
}

.faq-area .card-title, .testimonial-slider .card-title {
    text-align: center;
    margin-bottom: 3rem;
}

#faqAccordion button {
    font-size: 2rem;
    box-shadow: inherit;
    line-height: 2.8rem;
    font-weight: 600;
    background: var(--dsahboard-header);
    color: var(--gray-black-color);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-dark);
    background: inherit !important;
}

#faqAccordion .accordion-item {
    margin-bottom: 3rem !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 10px !important;
    background: var(--dsahboard-header);
}

.accordion-button::after {
    width: 2.2rem;
    height: 2.2rem;
    background-size: contain;
}

.carousel-indicators {
    display: none;
}

.testimonial-card h5 {
    font-size: 2.2rem;
    line-height: 3rem;
    font-weight: 600;
    color: var(--gray-black-color);
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: inherit;
}

.badge.badge-agent, .badge.badge-admin, .badge.badge-manager {
    background: var(--gray-black-color);
    color: var(--white-color);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2325D366'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/*Registration page Css*/

.wa-registration-area {
    background: linear-gradient(135deg, #25D366, #075E54);
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-registration-area .row {
    align-items: center;
}

.whatsapp-registrtion .logo {
    background: transparent !important;
    text-align: left;
}

.whatsapp-registrtion .logo a img {
    width: 27rem;
    height: auto;
}

.whatsapp-registrtion h2 {
    font-size: 3rem;
    color: var(--white-color);
    font-weight: 600;
    line-height: 3.9rem;
    margin-bottom: 1rem;
}

.whatsapp-registrtion p {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.whatsapp-registrtion-login h2 {
    font-size: 3rem;
    color: var(--gray-black-color);
    font-weight: 600;
    line-height: 3.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.whatsapp-registrtion-login p {
    color: var(--gray-black-color);
    margin-bottom: 1rem;
    text-align: center;
}

.feature {
    color: var(--white-color);
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 1rem;
}

/*.registration-container .wa-form-label {
    color: var(--white-color);
}*/

.iti {
    position: relative;
    display: block;
}

.registration-container {
    background: var(--white-color);
    padding: 3rem;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}
.divider-text {
    padding: 0 10px;
    color: var(--gray-black-color);
    font-size: 1.6rem;
    line-height: 1.6rem;
}
.iti {
    width: 100%;
}
.password-toggle {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#googleSignInBtn {
    width: 100%;
    height: 42px;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#submitBtn, #loginBtn {
    padding: 1rem !important;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: var(--white-color);
}

.registration-header{
    margin-bottom: 3rem;
}

.registration-header h2 {
    font-size: 2.4rem;
    color: var(--gray-black-color);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 3.3rem;
}

.registration-header p {
    text-align: center;
    color: var(--gray-black-color);
    font-size: 1.6rem;
    color: ;
    line-height: 2.4rem;
}

.password i {
    color: var(--gray-black-color);
    position: absolute;
    top: 5.2rem;
    right: 2rem;
    font-size: 1.8rem;
    font-weight: 900;
}


.auth-container.wa-body {
    max-width: 50rem;
    width: 100%;
    margin: auto;
}

.auth-container .whatsapp-registrtion .logo {
    background: transparent !important;
    text-align: center;
}

.whatsapp-registrtion-login .logo {
    background: transparent;
}

.whatsapp-registrtion-login .logo a img {
    width: 25rem;
    height: auto;
}

.form-check {
    display: block;
    min-height: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.form-check .form-check-input {
    float: inherit;
    margin-left: 0;
}

.auth-footer {
    margin-top: 1rem;
    text-align: center;
}

.form-check a, .forgot-password a, .auth-footer p a {
    color: var(--whatsapp-green);
}

.back-btn {
    margin-top: 3rem;
}

.back-btn a i {
    padding-right: 0.5rem;
}

.back-btn a{
    background-color: var(--white-color);
    border-color: var(--white-color);
    border-width: 1px;
    border-style: solid;
    padding: .7rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: .5rem;
    display: inline-block;
    color: var(--gray-black-color);
    transition: .5s;
}

.back-btn a:hover{
    transition: .5s;
    background: var(--gray-black-color);
    color: var(--whatsapp-green);
    border-color: var(--gray-black-color);
}

.contact-head h2 {
    font-size: 1.6rem;
    line-height: 2.4rem;
}

/*#contactsTable .btn.btn-sm.btn-outline-primary.action-btn.me-1.edit-btn {
    font-size: 1.6rem;
    line-height: 2.4rem;
    background: var(--bs-btn-hover-bg);
    color: var(--action-btn-color);
}

#contactsTable .btn.btn-sm.btn-outline-danger.action-btn.delete-btn {
    font-size: 1.6rem;
    line-height: 2.4rem;
    background: var(--bs-btn-hover-bg);
    color: var(--action-btn-color);
}

*/

#contactsTableBody tr td:last-child {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-width: 0 !important;
}

.contact-header-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-header-btn .btn-whatsapp {
    color: var(--white-color);
    borde-c: ;
    border-color: var(--whatsapp-green) !important;
}
.contact-header-btn button {
    padding: .7rem 1.5rem;
    font-size: 1.6rem;
    line-height: 1.8rem;
    color: var(--gray-black-color);
    border-color: var(--gray-black-color);
}


.card-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-top-content h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 2.4rem;
    color: var(--gray-black-color);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.2);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2.5rem;
}

.card-top-content h2 {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 3.6rem;
    color: var(--gray-black-color);
}

.card-bottom {
    margin-top: 1rem;
    color: var(--gray-black-color);
}
.wa-body.stat-card {
    margin: 0;
}





/* Cards with WhatsApp-themed Gradient Backgrounds */
.cards-grid {
    margin-top: 5rem;
}

.dashboard-card {
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    height: 100%;
}

.dashboard-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-header .card-icon {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
}

.card-header .card-icon i {
    font-size: 20px;
    color: white;
}

.dashboard-card p {
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 2rem;
    color: var(--sidebar-color);
}

.card-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: var(--dsahboard-header);
    color: var(--gray-black-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-button:hover i {
    transform: translateX(4px);
}

.play-button {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background-color: var(--dsahboard-header);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--gray-black-color);
}

.play-button:hover {
    background-color: var(--gray-black-color);
    color: var(--white-color);
    transform: scale(1.1);
    transition: .3s;
}


/* Modal */
.overview-modal-popup .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overview-modal-popup .modal.active {
    display: flex;
    opacity: 1;
}

.overview-modal-popup .modal-content {
    width: 80%;
    max-width: 800px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.overview-modal-popup .modal.active .overview-modal-popup .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--whatsapp-green);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#wa-videoModal .modal-content {
    background: transparent;
    border-radius: 1.2rem;
    border: none;
}

.dashboard-card h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 2.4rem;
}

.support-header {
    background: linear-gradient(135deg, var(--whatsapp-green-dark), var(--whatsapp-teal));
    color: white;
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.support-header p {
    color: var(--sidebar-color);
}

.support-header.text-center h2 {
    font-size: 4rem;
    line-height: 5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-card.wa-body h3 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    font-weight: 500;
    color: var(--gray-black-color);
    margin-bottom: 1rem;
}

.contact-card-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-card.wa-body p {
    margin-bottom: 1rem;
    color: var(--gray-black-color);
}

.contact-card-footer h4 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2.8rem;
    color: var(--gray-black-color);
}

.contact-card-footer a {
    color: var(--whatsapp-blue);
    font-size: 1.6rem;
    line-height: 2.4rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.contact-card.wa-body a {
    display: inline-block;
}


.single-support h3 {
    font-size: 2rem;
    line-height: 3.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--gray-black-color);
}

.single-support p {
    color: var(--gray-black-color);
}

.single-support ul li {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 400;
    color: var(--gray-black-color);
    list-style: disc;
    margin-left: 3rem;
}

.dt-length label {
    color: var(--gray-black-color);
}

div.dt-container .dt-input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: var(--dsahboard-header);
    color: var(--gray-black-color);
}

#contactsTable_info {
    color: var(--gray-black-color);
}

div.dt-container .dt-paging .dt-paging-button {
    color: var(--gray-black-color) !important;
}

div.dt-container .dt-search input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    color: var(--gray-black-color);
    margin-left: 3px;
}

.table tbody tr td h2, .table tbody tr td p {
    color: var(--gray-black-color);
}
.table {
    --bs-table-bg: transparent;
}


.table tbody tr td {
    color: var(--gray-black-color);
}

#teamTable_info {
    color: var(--gray-black-color);
}


.form-text {
    margin-top: .25rem;
    font-size: .875em;
    color: var(--gray-black-color);
}

#addContactModal label {
    color: var(--gray-black-color);
}

.user-details .form-check label {
    color: var(--gray-black-color);
}

.submenu {
  display: none;
}
.dropdown.active > .submenu {
  display: block;
}

.sidebar-menu .main-active .sub-active {
    background: var(--whatsapp-green);
}

.nav-link.active, .nav-item.active > .nav-link {
    background-color: #var(--whatsapp-green);
    color: #fff !important;
}


.nav-link:focus, .nav-link:hover {
    color: inherit !important;
}

.sidebar-header {
    margin-bottom: 0.5rem;
}

.nav-item.main-active > .sub-active {
    background: var(--whatsapp-green);
}

/*.sidebar .sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: none;
}*/

/*.nav-item.dropdown.main-active.active .nav-link.sub-active {
    background: var(--whatsapp-blue);
    width: 100%;
}*/

.nav-item.dropdown.main-active.active .nav-link.dropdown-toggle {
    background: var(--whatsapp-green);
}

#sidebarMenu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/*.nav-item.dropdown.main-active.active .nav-link.sub-active::before {
    background: inherit !important;
}
*/

.dropdown.main-active.active .nav-link:hover::before {
    background-color: inherit !important;
}


.nav-item.dropdown .submenu li a::before {
    background-color: inherit !important;
    position: inherit !important;
    width: auto;

}

.submenu .sub-active {
    background: ;
    color: var(--whatsapp-green) !important;
}

.submenu .sub-active:hover {
    color: var(--whatsapp-green) !important;
}

.submenu{
    transition: .5s;
}

.submenu:hover{
    color: var(--whatsapp-green) !important;
    transition: .5s;
}


.role-manager {
    background-color: rgba(156, 39, 176, 0.1) !important;
    color: var(--manager-color) !important;
    border: 1px solid var(--manager-color) !important;
    display: inline-block !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 12px !important;
}

.role-agent {
    background-color: rgba(76, 175, 80, 0.1) !important;
    color: var(--agent-color);
    border: 1px solid var(--agent-color) !important;
    display: inline-block !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 12px !important;
}

.role-admin {
    background-color: rgba(33, 150, 243, 0.1) !important;
    color: var(--admin-color) !important;
    border: 1px solid var(--admin-color) !important;
    display: inline-block;
    padding: 4px 10px !important;
    border-radius: 12px;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    line-height: 12px !important;
}

.no-numbers-bg {
    background-color: rgba(76, 175, 80, 0.1) !important;
    color: var(--agent-color) !important;
    border: 1px solid var(--agent-color) !important;
    display: inline-block !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 12px !important;
}

.numbers-bg {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--admin-color);
    border: 1px solid var(--admin-color);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 12px;
}

.connection-status.disconnected {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    font-size: 1.6rem;
}

#connectionTabs .nav-link.active {
    background: transparent;
    border: inherit;
    color: var(--whatsapp-green) !important;
    border-bottom: 2px solid var(--whatsapp-green);
}



#connectionTabs button {
    border: none;
    background: transparent !important;
    padding: 0.7rem 1.5rem;
    color: var(--gray-black-color);
    font-size: 1.6rem;
    line-height: 2.4rem;
    position: relative;
    z-index: 1;
}


.nav-links.active {
    color: var(--whatsapp-green) !important;
    border-bottom: 2px solid var(--whatsapp-green) !important;
}


.qr-container {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--qr-container-shadow);
    max-width: 400px;
    margin: 0 auto;
}

.tab-content {
    padding: 3rem 0;
}

.tab-content h4 {
    font-size: 2rem;
    color: var(--gray-black-color);
    line-height: 3rem;
    font-weight: 500;
}

.qr-placeholder {
    max-width: 25rem;
    height: auto;
    background-color: #f8f9fa;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #ddd;
    position: relative;
    overflow: hidden;
}

.scan-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.connection-instructions {
    margin-top: 3rem;
    background: var(--bg-color);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--qr-container-shadow);
}

.connection-instructions h4, .status-header h4, .stat-value, .status-body h4 {
    font-size: 1.8rem !important;
    font-weight: 500;
    line-height: 2.8rem;
    margin-bottom: 1rem;
    color: var(--gray-black-color);
}

.connection-instructions ol li, .stat-label, .stat-item .label span {
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: .5rem;
    color: var(--gray-black-color);
}

.stat-value, .stat-label{
    margin-bottom: 0;
}

.stat-item .label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.list-group.list-group-flush {
    margin-top: 3rem;
    background: var(--bg-color);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--qr-container-shadow);
}

.sub-card {
    margin-top: 1rem;
}

.sub-card ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.4rem;
    line-height: 2rem;
    color: var(--gray-black-color);
    font-weight: 400;
    margin-bottom: .5rem;
}
.sub-card .list-unstyled li i {
    color: var(--whatsapp-green) !important;
}

.sub-card .list-unstyled li {
    display: block !important;
}

#connectionTabs {
    border: none;
    position: relative;
}

#connectionTabs::after {
    position: absolute;
    bottom: 0;
    content: "";
    width: 100%;
    height: .2rem;
    background: #dee2e682;
}

.page-link, .page-link > a {
    border-radius: .375rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-block-size: calc(2.2508625rem + calc(1px * 2));
    min-inline-size: calc(2.2505625rem + calc(1px * 2));
}








.wa-tabs { display:flex; gap:.5rem; }
.wa-tab {
    border:1px solid #ddd; background:#f8f9fa; padding:.5rem .75rem; border-radius:.5rem; cursor:pointer;
}
.wa-tab.active { background:#fff; border-color:#bbb; box-shadow:0 1px 2px rgba(0,0,0,.06); }
.wa-tab-panel { margin-top:.5rem; }

.dataTable td{
    text-transform: capitalize;
}