
/* =====================
 Dashboard1
===================== */
        /* Custom styles for expired rows - Entire row red when pending days <= 0 */
        .table-danger {
            background-color: #f8d7da !important;
        }

        .table-danger td {
            background-color: #f8d7da !important;
            border-color: #f5c6cb !important;
        }

        .table-danger th {
            background-color: #f5c6cb !important;
            color: #721c24 !important;
        }

        /* Style for Sr. No column (second column - index 1) */
        .table th:nth-child(2),
        .table td:nth-child(2) {
            font-weight: bold;
            background-color: #f8f9fa;
            border-right: 2px solid #dee2e6;
            width: 60px;
        }

        /* Highlight expired pending days badge with warning icon */
        .table-danger .badge.bg-danger {
            background-color: #dc3545 !important;
            color: white !important;
            font-weight: bold;
            animation: pulse 2s infinite;
            border: 1px solid #ffffff;
            position: relative;
        }

        .table-danger .badge.bg-danger::after {
            content: "⚠";
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ff4444;
            color: white;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 8px;
            font-weight: bold;
        }

        @keyframes pulse {
            0% { 
                opacity: 1; 
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
            }
            70% { 
                opacity: 1; 
                box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
            }
            100% { 
                opacity: 1; 
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
            }
        }

        /* Active pending days (warning - not expired yet) */
        .badge.bg-warning {
            background-color: #ffc107 !important;
            color: #212529 !important;
            font-weight: 600;
            border: 1px solid #e0a800;
        }

        /* Ensure action buttons remain visible in red rows */
        .table-danger .btn-group .btn {
            color: #721c24 !important;
            background-color: #ffffff !important;
            border: 1px solid #f5c6cb !important;
        }

        .table-danger .btn:hover {
            background-color: #c82333 !important;
            color: white !important;
            border-color: #bd2130 !important;
        }

        /* Print styles for expired rows */
        @media print {
            .table-danger {
                background-color: #ffebee !important;
                -webkit-print-color-adjust: exact !important;
                color-adjust: exact !important;
            }
            
            .table-danger td {
                background-color: #ffebee !important;
                border-color: #f5c6cb !important;
                -webkit-print-color-adjust: exact !important;
            }
            
            .table-danger .badge.bg-danger {
                background-color: #dc3545 !important;
                color: white !important;
                -webkit-print-color-adjust: exact !important;
            }
            
            .badge.bg-warning {
                background-color: #ffc107 !important;
                color: #212529 !important;
                -webkit-print-color-adjust: exact !important;
            }
        }

        /* Ensure proper table structure for all tables */
        table.dataTable {
            width: 100% !important;
            table-layout: auto;
        }

        table.dataTable th,
        table.dataTable td {
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Column width adjustments for activeSocialMediaTable */
        #activeSocialMediaTable th:nth-child(1) { width: 120px; } /* Actions */
        #activeSocialMediaTable th:nth-child(2) { width: 60px; }  /* Sr. No */
        #activeSocialMediaTable th:nth-child(3) { width: 120px; } /* Paid By */
        #activeSocialMediaTable th:nth-child(4) { width: 150px; } /* Client Name */
        #activeSocialMediaTable th:nth-child(5) { width: 100px; } /* Start Date */
        #activeSocialMediaTable th:nth-child(6) { width: 100px; } /* End Date */
        #activeSocialMediaTable th:nth-child(7) { width: 80px; }  /* Today */
        #activeSocialMediaTable th:nth-child(8) { width: 80px; }  /* Pending Days */
        #activeSocialMediaTable th:nth-child(9) { width: 100px; } /* Daily Amount */
        #activeSocialMediaTable th:nth-child(10){ width: 120px; } /* Sponsor Amount */
        #activeSocialMediaTable th:nth-child(11){ width: 120px; } /* GST Amount */
        #activeSocialMediaTable th:nth-child(12){ width: 110px; } /* Total Amount */
        #activeSocialMediaTable th:nth-child(13){ width: 110px; } /* Net Amount */
        #activeSocialMediaTable th:nth-child(14){ width: 120px; } /* Account Number */
        #activeSocialMediaTable th:nth-child(15){ width: 80px; }  /* Status */
        #activeSocialMediaTable th:nth-child(16){ width: 150px; } /* Remarks */

        /* Column width adjustments for activeWebsiteTable */
        #activeWebsiteTable th:nth-child(1) { width: 60px; }  /* Sr. No */
        #activeWebsiteTable th:nth-child(2) { width: 150px; } /* Client Name */
        #activeWebsiteTable th:nth-child(3) { width: 100px; } /* Start Date */
        #activeWebsiteTable th:nth-child(4) { width: 100px; } /* Delivery Date */
        #activeWebsiteTable th:nth-child(5) { width: 80px; }  /* Status */
        #activeWebsiteTable th:nth-child(6) { width: 100px; } /* Total Amount */
        #activeWebsiteTable th:nth-child(7) { width: 120px; } /* Account Number */
        #activeWebsiteTable th:nth-child(8) { width: 100px; } /* Actions */

        /* Ensure dropdowns are clickable */
        .status-select {
            pointer-events: auto !important;
            position: relative;
            z-index: 1000;
            width: 120px;
            padding: 2px;
        }

        /* Prevent table row click events from interfering with dropdown */
        .table tr {
            pointer-events: auto;
        }

        /* Ensure dropdowns are not overlapped by other elements */
        .table-responsive {
            position: relative;
            z-index: 1;
        }

        /* Style for dropdown in DataTables */
        .dataTable .status-select {
            font-size: 0.875rem;
            height: 28px;
            line-height: 1.5;
        }

        /* Responsive adjustments for mobile */
        @media (max-width: 768px) {
            #activeSocialMediaTable th,
            #activeSocialMediaTable td,
            #activeWebsiteTable th,
            #activeWebsiteTable td {
                font-size: 0.8rem;
                padding: 4px;
            }
            
            #activeSocialMediaTable .btn-group-vertical .btn,
            #activeWebsiteTable .btn-group-vertical .btn {
                font-size: 0.7rem;
                padding: 2px 4px;
            }
            
            .table-responsive {
                font-size: 0.875rem;
            }

            .status-select {
                width: 100px;
                font-size: 0.75rem;
            }
        }
/* Ensure buttons are visible and clickable */
.action-btn {
    display: inline-block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1000;
    min-width: 60px;
    text-align: center;
}

/* Ensure table-responsive doesn't hide buttons */
.table-responsive {
    overflow-x: auto;
    position: relative;
    z-index: 1;
}

/* Ensure dropdowns are clickable */
.status-select {
    pointer-events: auto !important;
    position: relative;
    z-index: 1000;
    width: 120px;
    padding: 2px;
    font-size: 0.875rem;
    height: 28px;
    line-height: 1.5;
}

/* Prevent table row click events from interfering */
.table tr {
    pointer-events: auto;
}






/* =====================
 Dashboard-2
===================== */
/* Basic card styles */
        .card {
            margin-bottom: 20px;
        }
        
        .card-header {
            font-weight: bold;
        }
   
    /* Summary Cards Container */
    .row.mt-5.mb-4 {
        justify-content: center;
    }

    /* Base Summary Card Style */
    .summary-card {
        border: none !important;
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        transition: all 0.4s ease;
        background: #ffffff;
    }

    .summary-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .summary-card .card-body {
        padding: 2rem 1.5rem;
        position: relative;
    }

    .summary-card h6 {
        font-size: 1rem;
        color: #6c757d;
        margin-bottom: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .summary-card h3 {
        font-size: 2.8rem;
        font-weight: 800;
        margin: 0;
        color: #343a40;
    }

    /* Individual Card Colors - Top Border + Light Gradient Background */
    .card-total-orders {
        border-top: 8px solid #9c27b0 !important; /* Purple */
    }
    .card-total-orders .card-body {
        background: linear-gradient(135deg, #f3e5f5, #ffffff);
    }

    .card-payment-pending {
        border-top: 8px solid #e91e63 !important; /* Pink/Red */
    }
    .card-payment-pending .card-body {
        background: linear-gradient(135deg, #fce4ec, #ffffff);
    }

    .card-pending-amount {
        border-top: 8px solid #ff9800 !important; /* Orange */
    }
    .card-pending-amount .card-body {
        background: linear-gradient(135deg, #fff3e0, #ffffff);
    }

    .card-order-completed {
        border-top: 8px solid #4caf50 !important; /* Green */
    }
    .card-order-completed .card-body {
        background: linear-gradient(135deg, #e8f5e9, #ffffff);
    }

    .card-move-pipeline {
        border-top: 8px solid #2196f3 !important; /* Blue */
    }
    .card-move-pipeline .card-body {
        background: linear-gradient(135deg, #e3f2fd, #ffffff);
    }

    .card-move-followup {
        border-top: 8px solid #ff5722 !important; /* Deep Orange */
    }
    .card-move-followup .card-body {
        background: linear-gradient(135deg, #fbe9e7, #ffffff);
    }

    .summary-card .card-body::before {
        font-family: "Bootstrap Icons";
        font-size: 5rem;
        opacity: 0.08;
        position: absolute;
        right: 10px;
        bottom: -10px;
    }
    

    /* Responsive */
    @media (max-width: 992px) {
        .summary-card h3 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 576px) {
        .summary-card h3 {
            font-size: 2rem;
        }
        .summary-card .card-body {
            padding: 1.5rem 1rem;
        }
    }


   /* Telecaller Pipeline Summary Cards CSS */

/* Summary Cards Container */
.row.mt-5.mb-4,
.row.g-4.justify-content-center {
    justify-content: center;
}

/* Container Styling */
.container-fluid.mt-5.mb-5 h4.text-info {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Base Summary Card Style */
.summary-card {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    background: #ffffff;
    height: 100%;
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Card Header Styling */
.summary-card .card-header {
    background: transparent;
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

.summary-card .card-header h5 {
    font-size: 1.1rem;
    color: #343a40;
    margin-bottom: 0.25rem;
}

.summary-card .card-header small {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Card Body Styling */
.summary-card .card-body {
    padding: 1rem 1.5rem 2rem;
    position: relative;
    text-align: center;
}

.summary-card .card-body h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.summary-card .card-body p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Individual Card Colors - Top Border + Light Gradient Background */
.card-total-orders {
    border-top: 8px solid #9c27b0 !important; /* Purple */
}
.card-total-orders .card-body {
    background: linear-gradient(135deg, #f3e5f5, #ffffff);
}
.card-total-orders .card-body h2 {
    color: #9c27b0;
}

.card-payment-pending {
    border-top: 8px solid #4caf50 !important; /* Green */
}
.card-payment-pending .card-body {
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
}
.card-payment-pending .card-body h2 {
    color: #4caf50;
}

.card-pending-amount {
    border-top: 8px solid #ff9800 !important; /* Orange */
}
.card-pending-amount .card-body {
    background: linear-gradient(135deg, #fff3e0, #ffffff);
}
.card-pending-amount .card-body h2 {
    color: #ff9800;
}

.card-order-completed {
    border-top: 8px solid #e91e63 !important; /* Pink/Red */
}
.card-order-completed .card-body {
    background: linear-gradient(135deg, #fce4ec, #ffffff);
}
.card-order-completed .card-body h2 {
    color: #e91e63;
}

.card-move-pipeline {
    border-top: 8px solid #2196f3 !important; /* Blue */
}
.card-move-pipeline .card-body {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}
.card-move-pipeline .card-body h2 {
    color: #2196f3;
}

.card-move-followup {
    border-top: 8px solid #ff5722 !important; /* Deep Orange */
}
.card-move-followup .card-body {
    background: linear-gradient(135deg, #fbe9e7, #ffffff);
}
.card-move-followup .card-body h2 {
    color: #ff5722;
}

/* Decorative Background Icon */
.summary-card .card-body::before {
    font-family: "Bootstrap Icons";
    font-size: 5rem;
    opacity: 0.08;
    position: absolute;
    right: 10px;
    bottom: -10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .summary-card .card-body h2 {
        font-size: 2.4rem;
    }
    
    .summary-card .card-header h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .summary-card .card-body h2 {
        font-size: 2rem;
    }
    
    .summary-card .card-body {
        padding: 1rem 1rem 1.5rem;
    }
    
    .summary-card .card-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .summary-card .card-header h5 {
        font-size: 0.95rem;
    }
}



/* =====================
 Dashboard-3
===================== */
 <style>
        /* Status colors */
        .status-payment-pending { color: #dc3545; font-weight: bold; }
        .status-order-completed { color: #28a745; font-weight: bold; }
        .status-move-pipeline { color: #007bff; font-weight: bold; }
        .status-move-followup { color: #ffc107; font-weight: bold; }
        .status-not-interested { color: #6c757d; font-weight: bold; }
        .status-office-visit { color: #17a2b8; font-weight: bold; }
        .status-sales-visit { color: #fd7e14; font-weight: bold; }

        /* Cards */
        .card-total-orders { background-color: #007bff !important; color: white !important; }
        .card-payment-pending { background-color: #dc3545 !important; color: white !important; }
        .card-pending-amount { background-color: #ff6b6b !important; color: white !important; }
        .card-order-completed { background-color: #28a745 !important; color: white !important; }
        .card-move-pipeline { background-color: #17a2b8 !important; color: white !important; }
        .card-move-followup { background-color: #ffc107 !important; color: white !important; }
        .card-total-leads { background-color: #007bff !important; color: white !important; }
        .card-office-visit { background-color: #17a2b8 !important; color: white !important; }
        .card-salesperson-visit { background-color: #fd7e14 !important; color: white !important; }
        .card-not-interested { background-color: #6c757d !important; color: white !important; }

        /* Card styling */
        .summary-card {
            transition: transform 0.2s;
        }
        .summary-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .summary-card h6 {
            font-size: 13px;
            margin-bottom: 10px;
        }
        .summary-card h3 {
            font-size: 28px;
            font-weight: bold;
            margin: 0;
        }
        
        /* Section divider */
        .section-divider {
            border-top: 3px solid #e0e0e0;
            margin: 50px 0 30px 0;
        }

        
    .bg-purple { background-color: #6f42c1 !important; }
    .text-purple { color: #6f42c1 !important; }
    .border-purple { border-color: #6f42c1 !important; }
    .bg-blue { background-color: #0d6efd !important; }
    .text-blue { color: #0d6efd !important; }
    .border-blue { border-color: #0d6efd !important; }



.summary-card {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.card-total-orders {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
}

.card-payment-pending {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.card-pending-amount {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.card-order-completed {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: white;
}

.card-move-pipeline {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.card-move-followup {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: white;
}

.table-responsive {
    max-height: 500px;
    overflow-y: auto;
}


        /* Basic card styles */
        .card {
            margin-bottom: 20px;
        }
        
        .card-header {
            font-weight: bold;
        }
   
    /* Summary Cards Container */
    .row.mt-5.mb-4 {
        justify-content: center;
    }

    /* Base Summary Card Style */
    .summary-card {
        border: none !important;
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        transition: all 0.4s ease;
        background: #ffffff;
    }

    .summary-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .summary-card .card-body {
        padding: 2rem 1.5rem;
        position: relative;
    }

    .summary-card h6 {
        font-size: 1rem;
        color: #6c757d;
        margin-bottom: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .summary-card h3 {
        font-size: 2.8rem;
        font-weight: 800;
        margin: 0;
        color: #343a40;
    }

    /* Individual Card Colors - Top Border + Light Gradient Background */
    .card-total-orders {
        border-top: 8px solid #9c27b0 !important; /* Purple */
    }
    .card-total-orders .card-body {
        background: linear-gradient(135deg, #f3e5f5, #ffffff);
    }

    .card-payment-pending {
        border-top: 8px solid #e91e63 !important; /* Pink/Red */
    }
    .card-payment-pending .card-body {
        background: linear-gradient(135deg, #fce4ec, #ffffff);
    }

    .card-pending-amount {
        border-top: 8px solid #ff9800 !important; /* Orange */
    }
    .card-pending-amount .card-body {
        background: linear-gradient(135deg, #fff3e0, #ffffff);
    }

    .card-order-completed {
        border-top: 8px solid #4caf50 !important; /* Green */
    }
    .card-order-completed .card-body {
        background: linear-gradient(135deg, #e8f5e9, #ffffff);
    }

    .card-move-pipeline {
        border-top: 8px solid #2196f3 !important; /* Blue */
    }
    .card-move-pipeline .card-body {
        background: linear-gradient(135deg, #e3f2fd, #ffffff);
    }

    .card-move-followup {
        border-top: 8px solid #ff5722 !important; /* Deep Orange */
    }
    .card-move-followup .card-body {
        background: linear-gradient(135deg, #fbe9e7, #ffffff);
    }

    .summary-card .card-body::before {
        font-family: "Bootstrap Icons";
        font-size: 5rem;
        opacity: 0.08;
        position: absolute;
        right: 10px;
        bottom: -10px;
    }
    

    /* Responsive */
    @media (max-width: 992px) {
        .summary-card h3 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 576px) {
        .summary-card h3 {
            font-size: 2rem;
        }
        .summary-card .card-body {
            padding: 1.5rem 1rem;
        }
    }


   /* Telecaller Pipeline Summary Cards CSS */

/* Summary Cards Container */
.row.mt-5.mb-4,
.row.g-4.justify-content-center {
    justify-content: center;
}

/* Container Styling */
.container-fluid.mt-5.mb-5 h4.text-info {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Base Summary Card Style */
.summary-card {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    background: #ffffff;
    height: 100%;
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Card Header Styling */
.summary-card .card-header {
    background: transparent;
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

.summary-card .card-header h5 {
    font-size: 1.1rem;
    color: #343a40;
    margin-bottom: 0.25rem;
}

.summary-card .card-header small {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Card Body Styling */
.summary-card .card-body {
    padding: 1rem 1.5rem 2rem;
    position: relative;
    text-align: center;
}

.summary-card .card-body h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.summary-card .card-body p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Individual Card Colors - Top Border + Light Gradient Background */
.card-total-orders {
    border-top: 8px solid #9c27b0 !important; /* Purple */
}
.card-total-orders .card-body {
    background: linear-gradient(135deg, #f3e5f5, #ffffff);
}
.card-total-orders .card-body h2 {
    color: #9c27b0;
}

.card-payment-pending {
    border-top: 8px solid #4caf50 !important; /* Green */
}
.card-payment-pending .card-body {
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
}
.card-payment-pending .card-body h2 {
    color: #4caf50;
}

.card-pending-amount {
    border-top: 8px solid #ff9800 !important; /* Orange */
}
.card-pending-amount .card-body {
    background: linear-gradient(135deg, #fff3e0, #ffffff);
}
.card-pending-amount .card-body h2 {
    color: #ff9800;
}

.card-order-completed {
    border-top: 8px solid #e91e63 !important; /* Pink/Red */
}
.card-order-completed .card-body {
    background: linear-gradient(135deg, #fce4ec, #ffffff);
}
.card-order-completed .card-body h2 {
    color: #e91e63;
}

.card-move-pipeline {
    border-top: 8px solid #2196f3 !important; /* Blue */
}
.card-move-pipeline .card-body {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}
.card-move-pipeline .card-body h2 {
    color: #2196f3;
}

.card-move-followup {
    border-top: 8px solid #ff5722 !important; /* Deep Orange */
}
.card-move-followup .card-body {
    background: linear-gradient(135deg, #fbe9e7, #ffffff);
}
.card-move-followup .card-body h2 {
    color: #ff5722;
}

/* Decorative Background Icon */
.summary-card .card-body::before {
    font-family: "Bootstrap Icons";
    font-size: 5rem;
    opacity: 0.08;
    position: absolute;
    right: 10px;
    bottom: -10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .summary-card .card-body h2 {
        font-size: 2.4rem;
    }
    
    .summary-card .card-header h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .summary-card .card-body h2 {
        font-size: 2rem;
    }
    
    .summary-card .card-body {
        padding: 1rem 1rem 1.5rem;
    }
    
    .summary-card .card-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .summary-card .card-header h5 {
        font-size: 0.95rem;
    }
}

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f7fa;
            padding: 30px 20px;
            color: #2c3e50;
        }
        .container { max-width: 1400px; margin: 0 auto; }

        h4 { font-size: 28px; text-align: center; margin-bottom: 10px; color: #3498db; }
        .note {
            background: #e8f4f8; border-left: 5px solid #3498db;
            padding: 15px; margin-bottom: 40px; border-radius: 8px;
            text-align: center; font-size: 15px;
        }

        /* Cards Layout: 4 on top, 2 centered below */
        .cards-upper {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        .cards-lower {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 400px));
            gap: 25px;
            justify-content: center;
        }

        .stat-card {
            background: white;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.2);
        }
        .stat-card:nth-child(1) { border-top: 6px solid #667eea; }
        .stat-card:nth-child(2) { border-top: 6px solid #f093fb; }
        .stat-card:nth-child(3) { border-top: 6px solid #fa709a; }
        .stat-card:nth-child(4) { border-top: 6px solid #4facfe; }
        .stat-card:nth-child(5) { border-top: 6px solid #43e97b; }
        .stat-card:nth-child(6) { border-top: 6px solid #fa8142; }

        .stat-number { font-size: 40px; font-weight: bold; margin-bottom: 10px; }
        .stat-label { font-size: 16px; color: #7f8c8d; font-weight: 600; }

        /* Modal Styles */
        .modal-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75); z-index: 1000;
            justify-content: center; align-items: center; padding: 20px;
        }
        .modal-overlay.active { display: flex; }
        .modal-content {
            background: white; padding: 40px; border-radius: 20px;
            max-width: 1100px; width: 100%; max-height: 90vh; overflow-y: auto;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3); position: relative;
            animation: slideDown 0.4s ease;
        }
        @keyframes slideDown { from { transform: translateY(-60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

        .modal-close {
            position: absolute; top: 25px; right: 30px; font-size: 36px;
            color: #999; cursor: pointer; transition: color 0.3s;
        }
        .modal-close:hover { color: #333; }

        .info-box {
            background: linear-gradient(135deg, #667eea 0%, #f5576c 100%);
            color: white; padding: 35px; border-radius: 16px;
            cursor: pointer; margin: 25px 0; box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            transition: transform 0.3s;
        }
        .info-box:hover { transform: scale(1.03); }
        .info-box-header { font-size: 22px; font-weight: 600; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid rgba(255,255,255,0.3); }
        .info-box-content { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
        .info-item { text-align: center; }
        .info-label { font-size: 14px; opacity: 0.9; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
        .info-value { font-size: 32px; font-weight: bold; }

        .click-hint { text-align: center; color: #666; font-style: italic; margin: 20px 0; }

        .table-section { display: none; animation: fadeIn 0.4s ease; }
        .table-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .back-btn {
            background: #667eea; color: white; border: none; padding: 14px 28px;
            border-radius: 10px; cursor: pointer; font-weight: 600; margin-bottom: 25px;
            display: inline-flex; align-items: center; gap: 10px; transition: background 0.3s;
        }
        .back-btn:hover { background: #5568d3; }

        .orders-table {
            width: 100%; border-collapse: collapse; background: white; border-radius: 12px;
            overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .orders-table thead { background: #667eea; color: white; }
        .orders-table th { padding: 18px 15px; text-align: left; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: 0.8px; }
        .orders-table td { padding: 15px; border-bottom: 1px solid #ecf0f1; }
        .orders-table tbody tr:hover { background: #f8f9fa; }

        /* Individual Modal Colors */
        #paymentPendingModal .info-box { background: linear-gradient(135deg, #667eea 0%, #f5576c 100%); }
        #pendingAmountModal .info-box { background: linear-gradient(135deg, #667eea 0%, #f5576c 100%); }
        #completedModal .info-box { background: linear-gradient(135deg, #667eea 0%, #f5576c 100%); }
        #pipelineModal .info-box { background: linear-gradient(135deg, #667eea 0%, #f5576c 100%); }
        #followupModal .info-box { background: linear-gradient(135deg, #667eea 0%, #f5576c 100%); }

        @media (max-width: 992px) {
            .cards-upper, .cards-lower { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 576px) {
            .cards-upper, .cards-lower { grid-template-columns: 1fr; }
        }





        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f7fa;
            padding: 30px 20px;
            color: #2c3e50;
        }
        .container { max-width: 1400px; margin: 0 auto; }

        h4 { font-size: 28px; text-align: left; margin-bottom: 10px; color: #3498db; }
        .note {
            background: #e8f4f8; border-left: 5px solid #3498db;
            padding: 15px; margin-bottom: 40px; border-radius: 8px;
            font-size: 15px;
        }

        /* Cards Layout */
        .cards-upper {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        .cards-lower {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 400px));
            gap: 25px;
            justify-content: center;
        }

        .stat-card {
            background: white;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.2);
        }
        .stat-card:nth-child(1) { border-top: 6px solid #667eea; }
        .stat-card:nth-child(2) { border-top: 6px solid #f093fb; }
        .stat-card:nth-child(3) { border-top: 6px solid #fa709a; }
        .stat-card:nth-child(4) { border-top: 6px solid #4facfe; }
        .stat-card:nth-child(5) { border-top: 6px solid #43e97b; }
        .stat-card:nth-child(6) { border-top: 6px solid #fa8142; }

        .stat-number { font-size: 40px; font-weight: bold; margin-bottom: 10px; }
        .stat-label { font-size: 16px; color: #7f8c8d; font-weight: 600; }

        /* Modal Styles */
        .modal-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75); z-index: 1000;
            justify-content: center; align-items: center; padding: 20px;
        }
        .modal-overlay.active { display: flex; }
        .modal-content {
            background: white; padding: 40px; border-radius: 20px;
            max-width: 1100px; width: 100%; max-height: 90vh; overflow-y: auto;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3); position: relative;
            animation: slideDown 0.4s ease;
        }
        @keyframes slideDown { from { transform: translateY(-60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

        .modal-close {
            position: absolute; top: 25px; right: 30px; font-size: 36px;
            color: #999; cursor: pointer; transition: color 0.3s;
        }
        .modal-close:hover { color: #333; }

        .info-box {
            background: linear-gradient(135deg, #667eea 0%, #f5576c 100%);
            color: white; padding: 35px; border-radius: 16px;
            cursor: pointer; margin: 25px 0; box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            transition: transform 0.3s;
        }
        .info-box:hover { transform: scale(1.03); }
        .info-box-header { font-size: 22px; font-weight: 600; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid rgba(255,255,255,0.3); }
        .info-box-content { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
        .info-item { text-align: center; }
        .info-label { font-size: 14px; opacity: 0.9; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
        .info-value { font-size: 32px; font-weight: bold; }

        .click-hint { text-align: center; color: #666; font-style: italic; margin: 20px 0; }

        .table-section { display: none; animation: fadeIn 0.4s ease; }
        .table-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .back-btn {
            background: #667eea; color: white; border: none; padding: 14px 28px;
            border-radius: 10px; cursor: pointer; font-weight: 600; margin-bottom: 25px;
            display: inline-flex; align-items: center; gap: 10px; transition: background 0.3s;
        }
        .back-btn:hover { background: #5568d3; }

        .orders-table {
            width: 100%; border-collapse: collapse; background: white; border-radius: 12px;
            overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .orders-table thead { background: #667eea; color: white; }
        .orders-table th { padding: 18px 15px; text-align: left; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: 0.8px; }
        .orders-table td { padding: 15px; border-bottom: 1px solid #ecf0f1; }
        .orders-table tbody tr:hover { background: #f8f9fa; }

        @media (max-width: 992px) {
            .cards-upper, .cards-lower { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 576px) {
            .cards-upper, .cards-lower { grid-template-columns: 1fr; }
        }












