*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
}


/* DASHBOARD CSS */


/* Custom scrollbar for the sidebar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Simple sparkline styling */
.sparkline-svg {
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.2));
}

@media (max-width: 1024px) {
    .sidebar-open aside {
        transform: translateX(0) !important;
    }

    .sidebar-open .mobile-overlay {
        display: block !important;
    }
}

aside {
    transition: transform 0.3s ease-in-out;
}



/* LOGINPAGE CSS */


    /* Custom background for the branding panel matching the deep dark blue in the image */
    .bg-branding-panel {
      background-color: #0b1426;
      background-image: radial-gradient(circle at 50% 50%, #152642 0%, #0b1426 100%);
    }
    
    /* Chart gradient simulation */
    .chart-gradient {
      background: linear-gradient(to bottom, rgba(34, 197, 94, 0.2), transparent);
    }
    
    /* Overlay for visual depth on dashboard mockups */
    .glass-card {
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }


/* USER PAGE CSS */

.sidebar-active {
        background-color: #2563EB;
        color: white;
    }

    .status-meter-segment {
        height: 4px;
        border-radius: 2px;
        flex: 1;
        margin: 0 2px;
    }

    .status-meter-active {
        background-color: #10B981;
    }

    .status-meter-inactive {
        background-color: #E2E8F0;
    }


/* leadsForm Page */
@media (min-width: 1024px) {
    .sticky-aside {
        position: sticky;
        top: 2rem;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}


/* Leads detail */
.text-xs-compact {
        font-size: 0.65rem;
        line-height: 1rem;
    }


/*Leads listing  */
.bg-sidebar {
    --tw-bg-opacity: 1;
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

/* YES → show Colour In */
#dual_colour:has(option[value="yes"]:checked) + #colour_in_box {
    display: block;
}

/* NO → hide Colour In */
#dual_colour:has(option[value="no"]:checked) + #colour_in_box {
    display: none;
}

/* new css himani */
/* Custom scrollbar for the sidebar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Simple sparkline styling */
.sparkline-svg {
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.2));
}

@media (max-width: 1024px) {
    .sidebar-open aside {
        transform: translateX(0) !important;
    }

    .sidebar-open .mobile-overlay {
        display: block !important;
    }
}

aside {
    transition: transform 0.3s ease-in-out;
}



/* LOGINPAGE CSS */


    /* Custom background for the branding panel matching the deep dark blue in the image */
    .bg-branding-panel {
      background-color: #0b1426;
      background-image: radial-gradient(circle at 50% 50%, #152642 0%, #0b1426 100%);
    }
    
    /* Chart gradient simulation */
    .chart-gradient {
      background: linear-gradient(to bottom, rgba(34, 197, 94, 0.2), transparent);
    }
    
    /* Overlay for visual depth on dashboard mockups */
    .glass-card {
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }


/* USER PAGE CSS */

.sidebar-active {
        background-color: #2563EB;
        color: white;
    }

    .status-meter-segment {
        height: 4px;
        border-radius: 2px;
        flex: 1;
        margin: 0 2px;
    }

    .status-meter-active {
        background-color: #10B981;
    }

    .status-meter-inactive {
        background-color: #E2E8F0;
    }


/* leadsForm Page */
@media (min-width: 1024px) {
    .sticky-aside {
        position: sticky;
        top: 2rem;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}


/* Leads detail */
.text-xs-compact {
        font-size: 0.65rem;
        line-height: 1rem;
    }


/*Leads listing  */
.bg-sidebar {
    --tw-bg-opacity: 1;
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}






/* Card and quotation  css*/

.text-sidebar-inactive {
    color: #9CA3AF;
}

.quotation-card-bg {
    background-color: #111827;
}

.status-pill-active {
    background-color: #1E3A8A;
    color: white;
}

.status-pill-inactive {
    background-color: #F1F5F9;
    color: #64748B;
}

 #mobile-menu-checkbox:checked~aside {
    transform: translateX(0);
}



.commmonButton{
    background: #4338ca !important;
    border: 1px solid #4338ca !important;
    display: inline-flex !important;
    color: #fff !important;
    padding: 7px 25px !important;
    border-radius: 5px !important;
    transition: 0.5s ease !important;
}

.commmonButton:hover{
    background: #fff !important;
    display: inline-flex !important;
    color: #4338ca !important;
    padding: 7px 25px !important;
    border-radius: 5px !important;
    transition: 0.5s ease !important;
}

.main_btn {
    background: #4338ca !important;
    color: #fff !important;
    border: 1px solid #4338ca !important;
    transition: 0.5s ease !important;
}

.main_btn:hover {
    background: #fff !important;
    color: #4338ca !important;
}

@media (max-width: 1023px) {
    aside {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 50;
        position: fixed;
    }
}


@media (max-width: 768px) {
    .flex-1.custom-scrollbar {
        padding-left: 0!important;
        padding-right: 0!important;
    }

    .grid.gap-6 {
        padding: 15px 15px !important;
    }

    .flex-1.overflow-y-auto.p-8 {
        padding: 1rem 0.5rem !important;
    }

    #filterForm input, #filterForm div, #filterForm select {
        width: 100%;
    }
}