﻿/* Custom CSS for the Create Lead Modal */
/* Add this to your stylesheet or within a <style> tag in your HTML */

:root {
    --mem-primary: #0056b3;
    --mem-secondary: #3B3F75;
    --mem-bg: #eef2f7;
    --mem-card: #ffffff;
    --mem-border: #e2e8f0;
    --mem-text: #0f172a;
}


:root {
    --bg: #f4f6fb;
    --bg-2: #edf0f8;
    --surface: #ffffff;
    --surface-2: #f8faff;
    --border: #e3e8f4;
    --border-2: #d0d7ee;
    --ink: #0f1535;
    --ink-2: #2a3158;
    --muted: #6b748f;
    --faint: #9ba3be;
    --accent: #3F4A7D;
    --accent-2: #3F4A7D;
    --accent-bg: rgba(67,83,212,0.08);
    --teal: #00b4a6;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --sky: #3b82f6;
    --violet: #8b5cf6;
    --shadow-sm: 0 1px 4px rgba(15,21,53,0.06), 0 4px 12px rgba(15,21,53,0.04);
    --shadow: 0 4px 16px rgba(15,21,53,0.08), 0 1px 4px rgba(15,21,53,0.04);
    --shadow-lg: 0 12px 40px rgba(15,21,53,0.12), 0 2px 8px rgba(15,21,53,0.06);
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 14px;
}
body.mem-dark {
    --mem-bg: #020617;
    --mem-card: #0f172a;
    --mem-border: #334155;
    --mem-text: #e2e8f0;
}
.stylydr {
    padding: 7px !important;
    font-size: 13px;
    border: 1px solid #ddd;
    background: rgb(248, 249, 251);
}

.fixed-content {
    margin-top: 87px;
}

div#DataTables_Table_0_wrapper td:nth-child(8) {
    width: 600px !important;
}

.filter-section .form-control, .filter-section .form-select {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}



ul.nav.nav-pills a.nav-link.active {
    background: linear-gradient(135deg, #393F7A, #0d6efd) !important;
    color: #fff !important;
}

.taskTable_x9a {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 0px;
}

    .taskTableHead_x9a th{
        color: #353f79;
    }

    .taskTable_x9a th,
    .taskTable_x9a td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
    }

.row.g-2.mb-4.mainRppd {
    display: grid;
    /* width: fit-content; */
    display: grid;
    grid-auto-flow: column;
    /* grid-auto-columns: max-content; */
}

.topnav .navbar-nav .dropdown-item:hover {
    color: #ffffff;
    background-color: #202b48;
}
/* Hover open */
.mega-hover:hover > .dropdown-menu {
    display: block;
}

/* Mega menu */
.mega-dropdown-menu {
    padding: 10px;
    border: none;
    border-radius: 0px;
    min-width: 13rem;
}

/* Menu item */
.mega-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #3b3f5c;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s ease;
}

    /* Icon */
    .mega-item i {
        font-size: 14px;
        color: #6c757d;
    }

    /* Hover effect */
    .mega-item:hover {
        background: #f4f6fb;
        color: #0d6efd;
    }

        .mega-item:hover i {
            color: #0d6efd;
        }

/* Top menu text */


.lu-panel {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

.lu-header {
    background: #2f3a4a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    letter-spacing: .5px;
}

.lu-list {
    max-height: 420px;
    overflow-y: auto;
}

.lu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f3f5;
}

    .lu-item:last-child {
        border-bottom: none;
    }

/* Avatar */
.lu-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info */
.lu-info {
    flex: 1;
}

.lu-name {
    font-size: 13px;
    font-weight: 600;
    color: #212529;
}

.lu-role {
    font-size: 11px;
    color: #6c757d;
}

/* Status badge */
.lu-status {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Status colors */
.lu-active {
    background: #28c76f;
    color: #fff;
}


.lu-danger {
    background: #ff5b5b;
    color: #fff;
}

/* Avatar colors */
.lu-bg-blue {
    background: #4f7cff;
}

.lu-bg-purple {
    background: #7367f0;
}

.lu-bg-cyan {
    background: #00cfe8;
}

.lu-bg-indigo {
    background: #6610f2;
}

.lu-bg-gray {
    background: #6c757d;
}

.lu-bg-green {
    background: #28c76f;
}

.menu-text {
    font-size: 13px;
    font-weight: 600;
}

/* Remove arrow */
.arrow-none::after {
    display: none !important;
}

.taskTableHead_x9a {
    background-color: #f4f4f4;
}

.taskAssigned_x9a {
    color: #1e88e5;
    font-weight: 500;
}

.taskEnding_x9a {
    color: #fb8c00;
    font-weight: 500;
}

.taskCompleted_x9a {
    color: #43a047;
    font-weight: 500;
}

.dashboard-container.container-fluid {
    margin-top: 12px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif !important;
    background-color: #f5f7fa;
    color: #333
}


/*  .dashboard-container {
        max-width: 1400px;
        margin: 0 auto;
    }*/

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header-left h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 5px;
}

.header-left p {
    color: #7f8c8d;
    font-size: 16px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-range {
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.notifications {
    position: relative;
    background-color: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .metric-card:hover {
        transform: translateY(-5px);
    }

.metric-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

    .metric-title h3 {
        color: #2c3e50;
        font-size: 16px;
        font-weight: 600;
    }

.metric-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.metric-trend {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.trend-up {
    color: #27ae60;
}

.trend-down {
    color: #e74c3c;
}

.trend-icon {
    margin-right: 5px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@@media (max-width: 1100px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

.lead-progress-section {
    background: white;
    border-radius: 6px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

    .section-header h2 {
        color: #2c3e50;
        font-size: 22px;
    }

.progress-bars-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.progress-item {
    margin-bottom: 5px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-label {
    font-weight: 600;
    color: #2c3e50;
}

.progress-value {
    font-weight: 700;
    color: #3498db;
}

.progress-bar {
    height: 12px;
    background-color: #ecf0f1;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

.status-indicators {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-text {
    font-size: 14px;
    color: #7f8c8d;
}
.dropdown-toggle::after {
    display: none;
}

.grap_chart_status, .recent-leads, .query_status {
    background: white;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: white;
}

.status-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 16px;
}

.status-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.status-count {
    margin-left: auto;
    font-weight: 700;
    font-size: 22px;
    color: #2c3e50;
}

.recent-leads {
    margin-top: 30px;
}

.lead-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

    .lead-item:last-child {
        border-bottom: none;
    }

.lead-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
}

.lead-info h4 {
    color: #2c3e50;
    margin-bottom: 3px;
    font-size: 16px;
}

.lead-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.lead-source {
    margin-left: auto;
    padding: 5px 10px;
    background-color: #f1f8ff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #3498db;
}

.dashboard-footer {
    margin-top: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

.grap_chart .metric-card h6 {
    font-size: 17px;
    color: #000;
    font-weight: 500;
}

.grap_chart .metric-card p {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.crmtsk-wrapper {
    color: #fff;
}

.crmtsk-card {
    background: #111827;
    border-radius: 12px;
    padding: 16px;
}

    .crmtsk-card.completed {
        opacity: 0.9;
    }

.crmtsk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .crmtsk-header h6 {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
    }

.crmtsk-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .crmtsk-badge.pending {
        background: #facc15;
        color: #000;
    }

    .crmtsk-badge.done {
        background: #22c55e;
    }

.crmtsk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crmtsk-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-bottom: 1px solid #1f2937;
}

    .crmtsk-item:last-child {
        border-bottom: none;
    }

.crmtsk-title {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.crmtsk-item small {
    color: #94a3b8;
    font-size: 11px;
}

.crmtsk-item.done {
    color: #94a3b8;
    /*text-decoration: line-through;*/
}

.crmtsk-item i {
    color: #22c55e;
    font-size: 16px;
    margin-top: 2px;
}



.modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
    background-color: #f8f9fa;
}

.form-floating > .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-floating > .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    font-weight: 400;
    color: #000;
    font-size: 14px;
}


.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }

.btn-outline-secondary {
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

.modal-footer {
    border-top: none;
    margin-top: 0px;
    background-color: #fff;
    border-radius: 0 0 12px 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }

    .col-md-6 {
        margin-bottom: 1rem;
    }
}
/* ===== Section Label ===== */
.section-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.modal-footer button.btn.queryleads {
    padding: 6px 19px;
}

/* ===== Buttons ===== */
.modal-footer .btn {
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.modal-footer .querycancel{
    font-size: 13px;
}
    .modal-footer .querycancel:hover{
        background: red;
        border: none;
    }

    .btn-primary {
        background: linear-gradient(135deg, #393F7A, #393F7A) !important;
        border: none;
    }

    .btn-primary:hover {
        opacity: 0.95;
    }

/* ===== Scrollbar ===== */
.modal-body {
    scrollbar-width: thin;
}

    .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 10px;
    }

/*Root  Css First */
.main-header {
    position: unset !important;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--dark) 0%, #111827 100%);
    color: white;
    padding: 0.2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .brand-logo i {
        color: var(--accent);
        font-size: 1.75rem;
    }

.nav-pills {
    gap: 0.25rem;
}

    .nav-pills .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-size: 14px;
        font-weight: 500;
        padding: 0.4rem 0.7rem;
        border-radius: 8px;
        transition: var(--transition);
    }

        .nav-pills .nav-link:hover, .nav-pills .nav-link.active {
            background-color: rgba(255, 255, 255, 0.12);
            color: white;
        }



.user-menu .dropdown-toggle {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.3rem 0.25rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .user-menu .dropdown-toggle:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.page-header {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary);
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.page-subtitle {
    font-size: 0.8rem;
    color: var(--gray);
}

.add-query-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

    .add-query-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
    }

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border-top: 3px solid;
}

    .stats-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--box-shadow-lg);
    }

    .stats-card.primary {
        border-top-color: var(--primary);
    }

    .stats-card.warning {
        border-top-color: var(--warning);
    }

    .stats-card.success {
        border-top-color: var(--success);
    }

.stats-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.stats-trend {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .stats-trend.positive {
        color: var(--success);
    }

    .stats-trend.negative {
        color: var(--danger);
    }

/* Filter Section */
.filter-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .filter-title i {
        color: var(--primary);
    }

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-light);
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    }

.filter-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
}

/* Query Table */
.table-container {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table-header {
    background-color: var(--light);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.table-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.table {
    margin: 0;
    font-size: 0.8rem;
}

    .table thead th {
        border-bottom: 2px solid #e2e8f0;
        color: #fff;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
        background: #393F7A;
    }

    .table tbody td {
        padding: 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
    }

    .table tbody tr {
        transition: var(--transition);
    }

        .table tbody tr:hover {
            background-color: transparent;
        }

.action-eed {
    height: 58px;
    align-items: center;
}

table.dataTable.table-hover > tbody > tr:hover > * {
    box-shadow: none;
}
/* Query ID */
.query-id {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Client Info */
.client-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 0.15rem;
}

.company-name {
    font-size: 0.75rem;
    color: var(--gray);
}

/* Package Info */
.package-type {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.duration-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.4rem;
}

.hot-query-badge {
    background-color: #fee2e2;
    color: var(--danger);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.4rem;
}

/* Client Details */
.client-type {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.client-email, .client-phone {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.25rem;
    word-break: break-all;
}

    .client-email i, .client-phone i {
        width: 14px;
        margin-right: 0.25rem;
    }

/* Date & Time */
.query-date {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.query-time {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.15rem;
}

.added-by {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* Status Badges */
.status-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-active {
    background-color: #d1fae5;
    color: #065f46;
}

.status-urgent {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Action Buttons */
.action-btn {
    background-color: var(--light);
    border: 1px solid #e5e7eb;
    color: var(--dark-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

    .action-btn:hover {
        background-color: var(--primary-light);
        color: var(--primary);
        border-color: var(--primary-light);
    }

/* Sales Agent */
.sales-agent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sales-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.sales-info {
    line-height: 1.2;
}

.sales-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.sales-role {
    font-size: 0.7rem;
    color: var(--gray);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--gray);
    font-size: 0.75rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

/* Responsive */
@@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .table-container {
        overflow-x: auto;
    }

    .table {
        min-width: 900px;
    }
}


/*Endd css */
/*Root File Css*/
:root {
    --primary: #393F7A;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #FE6E00;
    --danger: #ef4444;
    --dark: #1f2937;
    --dark-light: #374151;
    --light: #f9fafb;
    --gray: #9ca3af;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --proposal-color: #a855f7;
    --lost-color: #f97316;
    --completed-color: #14b8a6;
}


.stats-card-compact {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    cursor:pointer !important;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 55px;
    min-width: 95%;
}

    .stats-card-compact:hover {
        transform: translateY(-3px);
        box-shadow: var(--box-shadow-hover);
    }

.stats-number-sm {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stats-label-sm {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light) !important;
    line-height: 1.2;
}


.stats-card-compact.primary {
    background: var(--primary);
    /*    background: linear-gradient(to bottom, white, rgba(99, 102, 241, 0.05));*/
}

    .stats-card-compact.primary .stats-number-sm {
        color: #fff;
    }


.stats-card-compact.warning {
    background: var(--warning);
    /*   background: linear-gradient(to bottom, white, rgba(245, 158, 11, 0.05));*/
}

    .stats-card-compact.warning .stats-number-sm {
        color: #fff !important;
    }


.stats-card-compact.secondary {
    background: var(--secondary);
    /* background: linear-gradient(to bottom, white, rgba(139, 92, 246, 0.05));*/
}

    .stats-card-compact.secondary .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.info {
    background: var(--accent);
    /*     background: linear-gradient(to bottom, white, rgba(6, 182, 212, 0.05));*/
}

    .stats-card-compact.info .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.proposal {
    background: var(--proposal-color);
}

    .stats-card-compact.proposal .stats-number-sm {
        color: #fff !important;
    }


.stats-card-compact.confirmed {
    background: var(--success);
}

    .stats-card-compact.confirmed .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.cancelled {
    background: var(--danger);
    border: none;
}

    .stats-card-compact.cancelled .stats-number-sm {
        color: #fff !important;
    }


.stats-card-compact.lost {
    border-top-color: var(--lost-color);
    background: linear-gradient(to bottom, white, rgba(249, 115, 22, 0.05));
}

    .stats-card-compact.lost .stats-number-sm {
        color: var(--lost-color);
    }


.stats-card-compact.completed {
    background: var(--completed-color);
}

    .stats-card-compact.completed .stats-number-sm {
        color: #fff !important;
    }

@media (max-width: 768px) {
    .stats-card-compact {
        padding: 0.6rem;
        min-height: 80px;
    }

    .stats-number-sm {
        font-size: 1.2rem;
    }

    .stats-label-sm {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .stats-card-compact {
        padding: 0.5rem;
        min-height: 75px;
    }

    .stats-number-sm {
        font-size: 1.1rem;
    }

    .stats-label-sm {
        font-size: 0.6rem;
    }
}

/*Root file Css End*/
/*Header Css */
.stats-card-compact {
    background: white;
    border-radius: 6px;
    padding: 0.6rem 0.4rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 55px;
    min-width: 55px;
}

    .stats-card-compact:hover {
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

.stats-number-sm {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stats-label-sm {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--dark-light);
    line-height: 1.1;
}


.stats-card-compact.primary {
    border-top-color: var(--primary);
}

    .stats-card-compact.primary .stats-number-sm {
        color: #fff;
    }

.stats-card-compact.warning {
    border-top-color: var(--warning);
}

    .stats-card-compact.warning .stats-number-sm {
        color: var(--warning);
    }

.stats-card-compact.secondary {
    border-top-color: var(--secondary);
}

    .stats-card-compact.secondary .stats-number-sm {
        color: var(--secondary);
    }

.stats-card-compact.info {
    border-top-color: var(--accent);
}

    .stats-card-compact.info .stats-number-sm {
        color: var(--accent);
    }

.stats-card-compact.proposal {
    border-top-color: var(--proposal-color);
}

    .stats-card-compact.proposal .stats-number-sm {
        color: var(--proposal-color);
    }

.stats-card-compact.confirmed {
    border-top-color: var(--success);
}

    .stats-card-compact.confirmed .stats-number-sm {
        color: var(--success);
    }

.stats-card-compact.cancelled {
    background: var(--danger);
}

    .stats-card-compact.cancelled .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.lost {
    background: var(--lost-color);
}

    .stats-card-compact.lost .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.completed {
    border-top-color: var(--completed-color);
}

    .stats-card-compact.completed .stats-number-sm {
        color: var(--completed-color);
    }



header.main-header .navbar-brand > img {
    display: block;
    background: #fff;
    width: 50px;
    padding: 7px;
    border-radius: 12px;
}


/*Header Css End*/

button.btn.btn-outline-secondary.stylydr.dropdown-toggle.w-100.text-start.ng-binding, button.btn.btn-outline-secondary.w-100.text-start.ng-binding {
    border-radius: 4px;
    border: 1px solid;
    border: 1px solid #dcdfe4;
  
    height:35px;
    justify-content:start;


}
.flight-item label, .form-label-div {
    font-size: 13px !important;
    font-weight: 600;
    color: #000;
}
button#destinationDropdownBtn, button.btn.btn-outline-secondary.dropdown-toggle.w-100.text-start.service-btn {
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    border: 1px solid;
    border: 1px solid #dcdfe4;
    height: 35px;
    justify-content: start;
}
#leadTable th:nth-child(8),
#leadTable td:nth-child(8) {
    width: 530px !important;
}
 .tdd-Remarks {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
button.btn.btn-outline-secondary.w-100.text-start.ng-binding {
}
    /*Query design*/
    .lead-form .form-control,
    .lead-form .form-select {
        border-radius: 4px;
        border: 1px solid #dcdfe4;
        background: rgb(248, 249, 251);
        height: 35px;
        font-size: 13px;
        box-shadow: none;
    }

    .lead-form .form-control:focus,
    .lead-form .form-select:focus {
        border-color: #86b7fe;
        
        box-shadow: none;
    }

/* Label */
.lead-form .form-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000;
}

.lead-form .required {
    color: red;
}

/* Checkbox alignment */
.lead-form .form-check {
    margin-top: 10px;
}

.lead-modal {
    max-width: 1080px;
    /*height: 95vh;*/
    margin-top: 17px;
}

    .lead-modal .modal-body {
        padding: 10px 20px;
        background:#fff;
    }

.queryleads {
    background: linear-gradient(135deg, #3B3F75, #0056b3);
    color: #fff !important;
    font-size: 14px;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #3B3F75, #0056b3);
    border-color: #0056b3;
}

.modal-header {
    background: linear-gradient(135deg, #3B3F75, #0056b3);
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-weight: 600;
    font-size: 16px;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
    background-color: #f8f9fa;
}

/*Lead Index*/

.stats-card-compact {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 55px !important;
    min-width: 55px;
}

    .stats-card-compact:hover {
        transform: translateY(-3px);
        box-shadow: var(--box-shadow-hover);
    }

.stats-number-sm {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stats-label-sm {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light) !important;
    line-height: 1.2;
}


.stats-card-compact.primary {
    background: var(--primary);
    /*    background: linear-gradient(to bottom, white, rgba(99, 102, 241, 0.05));*/
}

    .stats-card-compact.primary .stats-number-sm {
        color: #fff;
    }


.stats-card-compact.warning {
    background: var(--warning);
    /*   background: linear-gradient(to bottom, white, rgba(245, 158, 11, 0.05));*/
}

    .stats-card-compact.warning .stats-number-sm {
        color: #fff !important;
    }


.stats-card-compact.secondary {
    background: var(--secondary);
    /* background: linear-gradient(to bottom, white, rgba(139, 92, 246, 0.05));*/
}

    .stats-card-compact.secondary .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.info {
    background: var(--accent);
    /*     background: linear-gradient(to bottom, white, rgba(6, 182, 212, 0.05));*/
}

    .stats-card-compact.info .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.proposal {
    background: var(--proposal-color);
}

    .stats-card-compact.proposal .stats-number-sm {
        color: #fff !important;
    }


.stats-card-compact.confirmed {
    background: var(--success);
}

    .stats-card-compact.confirmed .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.cancelled {
    background: var(--danger);
    border: none;
}

    .stats-card-compact.cancelled .stats-number-sm {
        color: #fff !important;
    }


.stats-card-compact.lost {
    border-top-color: var(--lost-color);
    background: linear-gradient(to bottom, white, rgba(249, 115, 22, 0.05));
}

    .stats-card-compact.lost .stats-number-sm {
        color: var(--lost-color);
    }


.stats-card-compact.completed {
    background: var(--completed-color);
}

    .stats-card-compact.completed .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact {
    background: white;
    border-radius: 6px;
    padding: 0.6rem 0.4rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

    .stats-card-compact:hover {
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

.stats-number-sm {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stats-label-sm {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--dark-light);
    line-height: 1.1;
}


.stats-card-compact.primary {
    border-top-color: var(--primary);
}

    .stats-card-compact.primary .stats-number-sm {
        color: #fff;
    }

.stats-card-compact.warning {
    border-top-color: var(--warning);
}

    .stats-card-compact.warning .stats-number-sm {
        color: var(--warning);
    }

.stats-card-compact.secondary {
    border-top-color: var(--secondary);
}

    .stats-card-compact.secondary .stats-number-sm {
        color: var(--secondary);
    }

.stats-card-compact.info {
    border-top-color: var(--accent);
}

    .stats-card-compact.info .stats-number-sm {
        color: var(--accent);
    }

.stats-card-compact.proposal {
    border-top-color: var(--proposal-color);
}

    .stats-card-compact.proposal .stats-number-sm {
        color: var(--proposal-color);
    }

.stats-card-compact.confirmed {
    border-top-color: var(--success);
}

    .stats-card-compact.confirmed .stats-number-sm {
        color: var(--success);
    }

.stats-card-compact.cancelled {
    background: var(--danger);
}

    .stats-card-compact.cancelled .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.lost {
    background: var(--lost-color);
}

    .stats-card-compact.lost .stats-number-sm {
        color: #fff !important;
    }

.stats-card-compact.completed {
    border-top-color: var(--completed-color);
}

    .stats-card-compact.completed .stats-number-sm {
        color: var(--completed-color);
    }


@media (max-width: 768px) {
    .stats-card-compact {
        padding: 0.6rem;
        min-height: 80px;
    }

    .stats-number-sm {
        font-size: 1.2rem;
    }

    .stats-label-sm {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .stats-card-compact {
        padding: 0.5rem;
        min-height: 75px;
    }

    .stats-number-sm {
        font-size: 1.1rem;
    }

    .stats-label-sm {
        font-size: 0.6rem;
    }
}

/*list and button*/
/*

.crm-card {
    background: #fff;
    border-radius: 14px;
    padding: 10px 25px;
}

.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .crm-header h4 {
        font-size: 30px;
        font-weight: 600;
    }

.search-box {
    position: relative;
    max-width: 260px;
}

    .search-box input {
        padding-left: 35px;
        border-radius: 8px;
    }

    .search-box i {
        position: absolute;
        top: 10px;
        left: 10px;
        color: #999;
    }

.crm-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    text-align: center;
}

    .crm-table thead th {
        border: none;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        background: #34415c;
    }

    .crm-table tbody tr {
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border-radius: 10px;
        transition: .3s;
    }

        .crm-table tbody tr:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.08);
        }

    .crm-table td {
        vertical-align: middle;
        border-top: none;
        padding: 15px;
    }

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .status.pending {
        background: #fff3cd;
        color: #856404;
    }

    .status.confirmed {
        background: #d1e7dd;
        color: #0f5132;
    }

    .status.cancelled {
        background: #f8d7da;
        color: #842029;
    }

    .status.followup {
        background: #e2e3ff;
        color: #3730a3;
    }


.status-new {
    background: #e3f2fd;
    color: #0d6efd;
}

.status-progress {
    background: #fff3cd;
    color: #856404;
}

.status-won {
    background: #d1e7dd;
    color: #0f5132;
}

.status-lost {
    background: #f8d7da;
    color: #842029;
}

.action-btn {
    border: none;
    background: #f1f3f7;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-right: 5px;
    transition: .3s;
}
    .action-btn i {
        font-size: 14px;
        margin-left: -4px;
    }

    .action-btn:hover {
        background: linear-gradient(135deg,var(--mem-secondary),var(--mem-primary));
        color: #fff;
    }
*/
.pagination .page-link {
    border: none;
    color: #555;
    border-radius: 6px;
    margin: 0 3px;
}

.pagination .active .page-link {
    background: linear-gradient(135deg,var(--mem-secondary),var(--mem-primary));
    color: #fff;
}

.create {
    display: flex;
    justify-content: flex-end;
}
.list-btn {
    text-decoration: none;
    color: #fff;
    padding: 10px;
    font-size: 12px;
    border-radius: 10px;
    background-color:green;
}

    .list-btn:hover {
        color: #fff;
        background: #087908;
    }

    .create-btn {
        background: linear-gradient(135deg,var(--mem-secondary),var(--mem-primary));
    }
.refresh-btn {
   background: green;
}
.recover-btn {
    background: #dd1515;
}
    .recover-btn:hover {
        background: #c91313;
        color: #fff;
    }

    .create-btn:hover {
        background: linear-gradient(135deg, var(--mem-primary), var(--mem-secondary));
        color: #fff !important;
    }
.refresh-btn:hover {
    background: #026c02;
    color: #fff;
}

.offcanvas {
    width: 460px !important;
    border: 0;
}

.offcanvas-header {
    background: linear-gradient(135deg,var(--mem-secondary),var(--mem-primary));
    color: #fff;
    border: none;
    padding: 20px 25px;
}

.offcanvas-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.crm-card {
    border-radius: 18px;
    padding: 25px;
}

.crm-group {
    position: relative;
    margin-bottom: 22px;
}

.crm-control {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid #d6def5;
    padding: 12px 15px 12px 45px;
    font-size: 15px;
    transition: .25s;
}

    .crm-control:focus {
        border-color: var(--mem-primary);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(0,86,179,0.15);
        outline: none;
    }

.crm-icon {
    position: absolute;
    top: 17px;
    left: 14px;
    color: #8fa0c7;
    font-size: 15px;
}

.crm-label {
    position: absolute;
    top: -8px;
    left: 38px;
    background: #fff;
    padding: 0 6px;
    font-size: 13px;
    color: #6d87ad;
    font-weight: 500;
}

select.crm-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.crm-control option {
    background: #ffffff;
    color: #222;
}

    .crm-control option:checked,
    .crm-control option:hover {
        background: var(--mem-primary);
        color: #fff;
    }

.value-prefix {
    position: absolute;
    top: 13px;
    left: 14px;
    font-weight: 600;
    color: var(--mem-primary);
}

.crm-btn {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--mem-secondary),var(--mem-primary));
    color: #fff;
    font-weight: 600;
    letter-spacing: .4px;
    transition: .3s;
}

    .crm-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(0,86,179,0.35);
    }

.crm-sub {
    font-size: 14px;
    color: #e1e5ea;
}

/*end list*/

/*create form*/

body.mem-dark {
    --mem-bg: #020617;
    --mem-card: #0f172a;
    --mem-border: #334155;
    --mem-text: #e2e8f0;
}

body {
    font-family: 'Segoe UI',sans-serif;
    color: var(--mem-text);
    transition: .3s;
}

/*dark mode start*/

    body.mem-dark {
        background: linear-gradient(135deg,#020617,#020617);
    }

        body.mem-dark .dark-bg {
            background: none;
        }

        body.mem-dark .taskTableHead_x9a {
            background: #2f3a4a;
        }

        body.mem-dark .dark-text {
            color: #fff;
        }

body.mem-dark dark-bgcolor {
    background: rgba(15,23,42,0.7);
}
body.mem-dark .dark-bgtext{
    background: rgba(15,23,42,0.7);
    color: #fff;
}


/*dark mode end*/

.mem-card-box {
    background: var(--mem-card);
    border-radius: 18px;
    padding: 30px;
    border: 1px solid var(--mem-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mem-container {
    backdrop-filter: blur(20px);
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.mem-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.mem-title {
    font-size: 18px;
    font-weight: 600;
}

.mem-field {
    position: relative;
    margin-bottom: 28px;
}

.mem-input {
    width: 100%;
    /*height: 45px;*/
    border-radius: 12px;
    border: 1.5px solid var(--mem-border);
    padding: 10px 25px 10px 15px;
    font-size: 14px;
    transition: .25s;
}


.mem-input:focus {
    border-color: var(--mem-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
    outline: none;
}

.mem-label {
   /* position: absolute;*/
    top: -9px;
    left: 14px;
    background: var(--mem-card);
    padding: 0 6px;
    font-size: 13px;
    color: #000;
    font-weight: 500;

}
/*Anurag add css*/

.profile-logo{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    object-fit:cover;
}
/*Anurag add css*/
.mem-icon {
    position: absolute;
    right: 14px;
    top: 17px;
    color: #596a83;
    cursor: pointer;
}

.mem-btn {
    border: none;
    padding: 3px 11px;
    border-radius: 10px;
    font-weight: 400;
    transition: .3s;
    font-size: 14px;
    
}

.assign-btn {
    display: inline-block;
    background-color: #4b4b8f; /* same color as screenshot */
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px; /* button shape */
    font-size: 14px;
    text-decoration: none;
    border: none;
    transition: 0.3s ease;
}

    .assign-btn:hover {
        background-color: #3a3a75;
        color: #fff;
    }

.mem-save {
    background: linear-gradient(135deg,var(--mem-secondary),var(--mem-primary));
    color: #fff;
}

    .mem-save:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(79,70,229,0.35);
    }

.mem-cancel {
    background: #ef4444;
    color: #fff;
}

    .mem-cancel:hover {
        background: #dc2626;
    }

.mem-back {
    background: #1e3a8a;
    color: #fff;
    border-radius: 25px;
    padding: 5px 8px;
    font-size: 12px;
}

    .mem-back:hover {
        background: #172554;
        color: #fff;
    }

.mem-theme-toggle {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg,#0ea5e9,#6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mem-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

@media(max-width:768px) {
    .mem-container {
        padding: 15px;
    }
}

/*Data table lead form*/

.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    /* overflow: hidden; */
}

.bulk-selection-bar {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 16px;
    background-color: #e3f2fd;
    border: 1px solid var(--system-neutral-border-default);
    border-radius: 8px;
}

    .bulk-selection-bar.active {
        display: flex;
    }

.selection-info {
    font-size: 14px;
    color: #1976d2;
    font-weight: 500;
}

.bulk-actions {
    display: flex;
    gap: 8px;
}

    .bulk-actions button {
        display: flex;
        padding: 8px 16px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex: 1 0 0;
        align-self: stretch;
        border-radius: 4px;
        border: 1px solid #0D60FD;
        background: transparent;
        color: #0D60FD;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s;
    }

        .bulk-actions button:hover {
            background: #D6E7FF;
            border-color: #0951D9;
            color: #0951D9;
        }

.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .data-table th,
    .data-table td {
        text-align: left;
        vertical-align: middle;
    }

        .data-table th:nth-child(1),
        .data-table td:nth-child(1) {
            width: 30px;
        }
        /* Checkbox */
        .data-table th:nth-child(2),
        .data-table td:nth-child(2) {
            width: 50px;
        }
        /* Number */
        .data-table th:nth-child(3),
        .data-table td:nth-child(3) {
            width: 120px;
        }
        /* Column 1 */
        .data-table th:nth-child(4),
        .data-table td:nth-child(4) {
            width: 200px;
        }
        /* Column 2 */
        .data-table th:nth-child(5),
        .data-table td:nth-child(5) {
            width: 150px;
        }
        /* Column 3 */
        .data-table th:nth-child(6),
        .data-table td:nth-child(6) {
            width: 120px;
        }
        /* Status */
        .data-table th:nth-child(7),
        .data-table td:nth-child(7) {
            width: 100px;
        }
/* Action */
.offcanv-right {
    transition: all 1s ease-in-out;
}

.table-header {
    height: 56px;
    padding: 16px;
    border-bottom: 1px solid var(--system-neutral-border-default);
    background: var(#F5F5F5);
    cursor: pointer;
    user-select: none;
}

    .table-header:hover {
        background: #eeeeee;
    }

.header-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.sort-icon {
    font-size: 12px;
    color: #666;
}

.table-row {
    height: 56px;
    border-bottom: 1px solid var(--system-neutral-border-default);
    background: var(#fff);
    cursor: pointer;
    transition: background-color 0.2s;
}

    .table-row:hover {
        background: #f9f9fa;
    }

    .table-row.selected {
        background: #D6E7FF;
    }

.table-cell {
    padding: 16px;
    font-size: 14px;
    color: #333;
}

.checkbox-cell {
    text-align: center;
}

    .checkbox-cell input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #1976d2;
    }

.header-content input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1976d2;
}

.cell-content {
    font-size: 14px;
    color: #333;
}

/*.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #e8f5e8;
    color: #2e7d32;
}

.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

.status-locked {
    background: #fce4ec;
    color: #ad1457;
}
*/

.status-wrapper{
  position: relative;
  display: inline-block;
}

.status-badge{
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-width: 110px; /* Width fix so design not move */
  text-align: center;
  display: inline-block;
  transition: 0.3s ease;
}

/* Dropdown */
.status-dropdown {
    position: fixed; /* 🔥 Important */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: none;
    min-width: 150px;
    z-index: 99999;
    padding: 6px 0;
}

.status-option{
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.status-option:hover{
  background: #f5f5f5;
}

/* Status Colors */
.pending{ background:#fff3cd; color:#856404; }
.in-progress{ background:#cce5ff; color:#004085; }
.completed{ background:#d4edda; color:#155724; }
.cancelled{ background:#f8d7da; color:#721c24; }

.custom-group {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

    .custom-group .form-select:focus {
        box-shadow: none;
    }




.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

    .action-btn:hover {
        background: #f5f5f5;
        border-color: #bbb;
    }

.sort-icon.active {
    color: #1976d2;
}

@media (max-width: 768px) {
    .table-container {
        margin: 0 -20px;
        border-radius: 0;
    }

    .bulk-selection-bar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
}


/*data table start*/

.crm-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    /*box-shadow: 0 10px 35px rgba(0,0,0,0.08);*/
}

.crm-table thead {
    background: #393F7A !important;
}

.crm-table th {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.crm-table td {
    vertical-align: middle;
}

/* Checkbox */
.select-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Selected row highlight */
table.dataTable tbody tr.selected {
    background-color: #eef2ff !important;
}

/* Status */
.status {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

    .status.confirmed {
        background: #dcfce7;
        color: #166534;
    }

    .status.pending {
        background: #fef9c3;
        color: #854d0e;
    }

    .status.followup {
        background: #e0e7ff;
        color: #3730a3;
    }

div.dataTables_wrapper div.dataTables_length select{
    width: 60px;
}


/*data table end*/
.permission-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.permission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*width: 140px;*/
}
.permission-name{
    width: 140px;
}

.module-filter {
    width: 260px;
}

.permission-table {
    margin-top: 15px;
    overflow-x: auto;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

    .permission-table table {
        border-collapse: separate;
        border-spacing: 0;
        min-width: 2000px;
    }

    .permission-table thead th {
        background: #393F7A;
        color: #fff;
        font-weight: 500;
        border-right: 1px solid;
    }

    .permission-table th,
    .permission-table td {
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
        padding: 10px;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    /* Sticky columns */

    .permission-table .module-header {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #393F7A;
    }

    .permission-table .permission-header {
        position: sticky;
        left: 188px;
        z-index: 3;
    }

    .permission-table .module-name {
        position: sticky;
        left: 0;
        background: #f1f5f9;
        font-weight: 600;
        z-index: 2;
        border-right: 1.5px solid #cbd5e1;
    }

    .permission-table .permission-name {
        position: sticky;
        left: 188px;
        background: #fff;
        text-align: left;
        padding-left: 15px;
        z-index: 2;
        border-right: 1px solid #cbd5e1;
    }

    /* module group divider */

    .permission-table .module-end td,
    .permission-table .module-name {
        border-bottom: 1px solid #9ca3af !important;

    }

/*trip calendar*/


    /* Header */

    .trip-calendar .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .trip-calendar .month-title {
        font-size: 18px;
        font-weight: 600;
    }

    /* Date Scroll */

    .trip-calendar .date-scroll {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
    }

    .trip-calendar .date-box {
        min-width: 70px;
        background: #f1f5f9;
        border-radius: 10px;
        padding: 4px;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        transition: .3s;
    }

        .trip-calendar .date-box:hover {
            background: var(--primary);
            color: white;
        }

        .trip-calendar .date-box.active {
            background: var(--primary);
            color: white;
        }

    /* Task Area */

    .trip-calendar .task-area {
        margin-top: 30px;
/*        display: none;*/
transform:translateY(-40px);
opacity:0;
transition:all 0.5s ease-in-out;

    }
        .trip-calendar .task-area.acti{
            transform:translateY(0px);
            opacity:1;
        }

        .trip-calendar .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

    .trip-calendar .task-card {
        background: #f9fafb;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

        .trip-calendar .task-card:nth-child(3n+1) {
            background: #ff6b6b38;
        }

        .trip-calendar .task-card:nth-child(3n+2) {
            background: #4ecdc442;
        }

        .trip-calendar .task-card:nth-child(3n+3) {
            background: #87ceeb4f;
        }

    .trip-calendar .task-time {
        font-size: 14px;
        color: #6b7280;
    }

    .trip-calendar .travel-trip {
        grid-template-columns: repeat(4,1fr);
        gap: 15px;
    }

.not-booked {
    background: #ffff00a6;
    padding: 2px 10px;
    width: fit-content;
    border-radius: 10px;
    font-size: 13px;
    animation: blink 1.2s infinite;
}

.booked {
    background: mediumspringgreen;
    padding: 2px 10px;
    width: fit-content;
    border-radius: 10px;
    font-size: 13px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

#trip-cardpopup .modal-dialog{
    max-width: 90% !important;
}

.trip-process-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

    /* BASE LINE */

    .trip-process-wrapper::before {
        content: '';
        position: absolute;
        top: 22px;
        left: 0;
        width: 100%;
        height: 4px;
        background: #e4e4e4;
        z-index: 0;
    }
#salesPurchaseModal label{
        font-size:13px;
        font-weight:500;
        
}

#salesPurchaseModal .form-control, #salesPurchaseModal .form-select {
    border-radius: 4px;
    background: #f8f9fa;
    padding: 0.4rem 0.75rem;
}
#salesPurchaseModal a.nav-link.active {
    background: linear-gradient(135deg, #3B3F75, #0056b3);
    color:#fff;
}
#salesPurchaseModal a.nav-link {
    font-size: 11px;
    color: #000;
    text-transform: uppercase;
}
#hotelContainer label{
    font-size:13px;
    font-weight:500;
}
#salesPurchaseModal .modal-body {
    background-color: #fff;
}
/* ACTIVE PROGRESS LINE */
.trip-process-wrapper .progress-line {
    position: absolute;
    top: 22px;
    left: 0;
    height: 4px;
    background: #28a745;
    z-index: 1;
    transition: 0.4s;
}

.modal-body.p-4 .mb-3 label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
}

.trip-process-wrapper .process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    background: none;
}

    .trip-process-wrapper .step-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: 3px solid #dcdcdc;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        margin: auto;
        font-size: 18px;
        color: #999;
        transition: 0.3s;
    }

    .trip-process-wrapper .step-text {
        margin-top: 8px;
        font-size: 13px;
        color: #666;
        font-weight: 500;
    }

    /* COMPLETED */

    .trip-process-wrapper .process-step.completed .step-icon {
        background: #28a745;
        border-color: #28a745;
        color: #fff;
    }

    .trip-process-wrapper .process-step.completed .step-text {
        color: #28a745;
    }


    /* ACTIVE */

    .trip-process-wrapper .process-step.active .step-icon {
        background: #1e90ff;
        border-color: #1e90ff;
        color: #fff;
    }

    .trip-process-wrapper .process-step.active .step-text {
        color: #1e90ff;
        font-weight: 600;
    }

    /* BUTTON */

    .trip-process-wrapper .controls {
        margin-top: 40px;
        text-align: center;
    }

    button {
        padding: 10px 25px;
        border: none;
        background: #1e90ff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

.task-follow {
    cursor: pointer;
    color: darkblue;
    font-weight: 500;
    /*border-radius: 25px;*/
}

table.dataTable > tbody > tr.selected > *{
    box-shadow: none !important;
    color: #000 !important;
}


.disabled-field {
    pointer-events: none;
    background-color: #f8f9fa;
}
.status-dropdown {
    position: fixed;
}
.status-container {
    position: relative;
    outline: none;
}

.status-dropdown {
    position: fixed;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: none;
    min-width: 150px;
    padding: 6px 0;
    z-index: 999999;
}



.status-container:focus-within .status-dropdown {
    display: block;
}


.ui-widget-header {
    background: linear-gradient(135deg, var(--dark) 0%, #111827 100%)
}

/*report module css*/



.wrapper {
    position: relative;
    z-index: 1;
    max-width: 1480px;
    margin: 0 auto;
    padding: 36px 28px 48px;
}

.topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.topbar-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
}

.topbar-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.topbar-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10ffd5;
    box-shadow: 0 0 8px #10ffd5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 22px 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .kpi-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
    }

    .kpi-card.c-accent::after {
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
    }

    .kpi-card.c-emerald::after {
        background: linear-gradient(90deg, #10b981, #34d399);
    }

    .kpi-card.c-amber::after {
        background: linear-gradient(90deg, #f59e0b, #fbbf24);
    }

    .kpi-card.c-rose::after {
        background: linear-gradient(90deg, #f43f5e, #fb7185);
    }

    .kpi-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

.kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.kpi-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

    .kpi-icon.c-accent {
        background: rgba(67,83,212,0.1);
        color: var(--accent);
    }

    .kpi-icon.c-emerald {
        background: rgba(16,185,129,0.1);
        color: var(--emerald);
    }

    .kpi-icon.c-amber {
        background: rgba(245,158,11,0.1);
        color: var(--amber);
    }

    .kpi-icon.c-rose {
        background: rgba(244,63,94,0.1);
        color: var(--rose);
    }

.kpi-val {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
}

.kpi-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.kpi-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

    .kpi-chip.up {
        background: rgba(16,185,129,0.12);
        color: var(--emerald);
    }

    .kpi-chip.down {
        background: rgba(244,63,94,0.1);
        color: var(--rose);
    }

.kpi-period {
    font-size: 11.5px;
    color: var(--faint);
}

.filter-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.2fr 1fr auto auto;
    gap: 14px;
    align-items: end;
}

.field-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
}

    .field-label i {
        font-size: 10px;
    }

.ctrl {
    width: 100%;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    appearance: none;
    -webkit-appearance: none;
}

    .ctrl:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(67,83,212,0.12);
    }

    .ctrl::placeholder {
        color: var(--faint);
    }

.select-wrap {
    position: relative;
}

    .select-wrap::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        color: var(--muted);
        pointer-events: none;
    }

.date-ctrl {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

    .date-ctrl i {
        color: var(--accent);
        font-size: 13px;
        flex-shrink: 0;
    }

    .date-ctrl .chevron {
        margin-left: auto;
        color: var(--faint);
        font-size: 10px;
    }

    .date-ctrl:hover {
        border-color: var(--accent);
        background: rgba(67,83,212,0.04);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #393F7A, #393F7A);
    color: white;
    box-shadow: 0 4px 14px rgba(67,83,212,0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(67,83,212,0.4);
    }

.btn-excel {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}

    .btn-excel:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(16,185,129,0.4);
    }

.btn-ghost {
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    color: var(--ink-2);
}

    .btn-ghost:hover {
        background: var(--bg-2);
        border-color: var(--border-2);
        transform: translateY(-1px);
    }

.table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.table-card-hdr {
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}

.table-card-hdr-left h2 {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.table-card-hdr-left .sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

table.crm-table {
    width: 100% !important;
    border-collapse: collapse;
}

    table.crm-table thead tr th {
      
        color:#fff;
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        padding: 13px 16px;
        border-bottom: 1.5px solid var(--border);
        border-top: none;
        white-space: nowrap;
    }

        table.crm-table thead tr th.sortable {
            cursor: pointer;
        }

            table.crm-table thead tr th.sortable:hover {
                color: var(--accent);
            }

        table.crm-table thead tr th .sort-icon {
            font-size: 9px;
            color: var(--faint);
            margin-left: 4px;
        }

        table.crm-table thead tr th.sort-asc .sort-icon,
        table.crm-table thead tr th.sort-desc .sort-icon {
            color: var(--accent);
        }

    table.crm-table tbody tr td {
        padding: 13px 16px;
        font-size: 13.5px;
        border-bottom: 1px solid var(--border);
        color: var(--ink-2);
        vertical-align: baseline ;
    }

    table.crm-table tbody tr:last-child td {
        border-bottom: none;
    }

    table.crm-table tbody tr:hover td {
        background: rgba(67,83,212,0.03);
    }

    table.crm-table tbody tr {
        transition: background 0.12s;
    }

.cell-id {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.cell-customer {
    font-weight: 600;
    color: var(--ink);
}

.cell-dest {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
}

    .cell-dest i {
        color: var(--accent);
        font-size: 11px;
    }

.cell-summary {
    max-width: 270px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.b-won {
    background: rgba(16,185,129,0.1);
    color: #059669;
}

.b-loss {
    background: rgba(244,63,94,0.1);
    color: var(--rose);
}

.b-proposal {
    background: rgba(245,158,11,0.1);
    color: #d97706;
}

.b-negotiation {
    background: rgba(67,83,212,0.1);
    color: var(--accent);
}

.b-new {
    background: rgba(59,130,246,0.1);
    color: var(--sky);
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.18s;
    font-size: 13px;
}

    .action-btn:hover {
        background: var(--accent-bg);
        border-color: var(--accent);
        color: var(--accent);
        transform: scale(1.05);
    }

.crm-chk {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.dt-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px 20px;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--border);
}

.pager {
    display: flex;
    gap: 4px;
}

.pager-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pager-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-bg);
    }

    .pager-btn.active {
        background: var(--accent);
        border-color: var(--accent);
        color: white;
        box-shadow: 0 2px 8px rgba(67,83,212,0.35);
    }

    .pager-btn:disabled {
        opacity: 0.35;
        pointer-events: none;
    }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,21,53,0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

    .modal-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.modal-box {
    background: var(--surface);
    border-radius: var(--r-xl);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 32px 80px rgba(15,21,53,0.2);
    transform: scale(0.95) translateY(12px);
    transition: all 0.22s;
    overflow: hidden;
}

.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-hdr {
    padding: 22px 26px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

    .modal-hdr h3 {
        font-family: 'Syne', sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: white;
    }

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

    .modal-close:hover {
        background: rgba(255,255,255,0.35);
    }

.modal-body {
    padding: 24px 26px;
}

.modal-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

    .modal-row:last-child {
        margin-bottom: 0;
    }

.modal-key {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    min-width: 110px;
    padding-top: 1px;
}

.modal-val {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    flex: 1;
}

.anim {
    animation: slideUp 0.4s ease both;
}

.anim-1 {
    animation-delay: 0.05s;
}

.anim-2 {
    animation-delay: 0.1s;
}

.anim-3 {
    animation-delay: 0.15s;
}

.anim-4 {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.daterangepicker {
    border-radius: 16px !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
    font-family: 'Outfit', sans-serif !important;
}

    .daterangepicker .calendar-table {
        border: none !important;
    }
    .daterangepicker td.today.in-range.active {
        background: var(--accent-bg) !important;
    }

    .daterangepicker td.active, .daterangepicker td.active:hover {
        background: var(--accent) !important;
        border-radius: 8px !important;
    }

    .daterangepicker td.in-range {
        background: var(--accent-bg) ;
        color: var(--ink) !important;
    }

    .daterangepicker .btn-primary {
        background: var(--accent) !important;
        border: none !important;
        border-radius: 10px !important;
        font-family: 'Outfit', sans-serif !important;
    }

@media (max-width: 1100px) {
    .kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .kpi-row {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .wrapper {
        padding: 24px 14px 36px;
    }
}


/*.dropdown-menu {
    width: 350px !important;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,.12), 0 5px 15px rgba(0,0,0,.08);
    padding: 0;
    animation: dropdownFade .25s ease;
}


@keyframes dropdownFade {

    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.dropdown-menu .d-flex {
    padding: 18px 20px !important;
    background: linear-gradient(135deg,#0d6efd,#4f9bff);
    color: #fff;
}

.dropdown-menu strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .3px;
}

#markAllRead {
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(255,255,255,.18);
    transition: .3s;
}

    #markAllRead:hover {
        background: #fff;
        color: #0d6efd !important;
    }*/

/* Divider */

/*.dropdown-divider {
    margin: 0;
    opacity: .08;
}*/

/* Notification List */

/*#notificationList {
    max-height: 420px;
    overflow-y: auto;
    background: #fafbfd;
}*/

    /* Scrollbar */

    /*#notificationList::-webkit-scrollbar {
        width: 6px;
    }

    #notificationList::-webkit-scrollbar-thumb {
        background: #cfd6df;
        border-radius: 20px;
    }

    #notificationList::-webkit-scrollbar-track {
        background: transparent;
    }*/

    /* Remove bullets */

    /*#notificationList li {
        list-style: none;
    }

.notification-item {
    display: block;
    padding: 16px 18px;
    position: relative;
    transition: .3s;
    border-left: 4px solid transparent;
    text-decoration: none;
    background: #fff;
}

    .notification-item:hover {
        background: #f5f9ff;
        border-left-color: #0d6efd;
        transform: translateX(4px);
    }*/

    /* Blue unread dot */

    /*.notification-item::before {
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #0d6efd;
        position: absolute;
        left: 12px;
        top: 24px;
        box-shadow: 0 0 10px rgba(13,110,253,.5);
    }*/

    /* Text */

    /*.notification-item div:first-child {
        margin-left: 16px;
        font-size: 15px;
        font-weight: 700;
        color: #222;
    }

    .notification-item div:nth-child(2) {
        margin-left: 16px;
        margin-top: 6px;
        color: #6c757d;
        font-size: 13px;
        line-height: 1.5;
    }

    .notification-item small {
        display: block;
        margin-left: 16px;
        margin-top: 10px;
        color: #a0a7b4 !important;
        font-size: 11px;
        letter-spacing: .4px;
    }*/

/* Separator */

/*#notificationList li hr {
    margin: 0;
    opacity: .06;
}*/

/* Empty State */

/*.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}


@media(max-width:576px) {

    .dropdown-menu {
        width: 320px !important;
    }
}*/
 