/* ================= HOMEPAGE SECTION ================= */
        .dashboard-wrapper {
            width: 100%;
            overflow-x: hidden;
            padding: 0;
            margin: 0;
        }

        .dashboard-content {
            max-width: 1350px;
            width: 100%;
            margin: 0 auto;
            padding: 0 20px;
            min-height: 100vh;
            box-sizing: border-box;
        }

        .dashboard-wrapper .row {
            margin-left: 0;
            margin-right: 0;
        }

        .dashboard-wrapper .col-12,
        .dashboard-wrapper .col-md-6 {
            padding-left: 0;
            padding-right: 0;
        }

        .dashboard-wrapper .row.mb-4[style*="padding: 0;"] .col-md-6:first-child .card {
            margin-right: 15px;
        }

        .dashboard-wrapper .row.mb-4[style*="padding: 0;"] .col-md-6:last-child .card {
            margin-left: 15px;
        }

        .dashboard-wrapper .card {
            max-width: 1350px;
            box-sizing: border-box;
        }

        .dashboard-wrapper .row.justify-content-center .col-12 .card {
            width: 100%;
        }

        .dashboard-wrapper .row.mb-4[style*="padding: 0;"] .col-md-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }

        .dashboard-wrapper .table-responsive {
            overflow-x: auto;
        }

        .dashboard-wrapper .d-flex[style*="gap: 40px; height: 350px;"] {
            width: 100%;
        }

        #customLegend {
            margin-top: 0;
        }

        .modal-close-btn {
            position: absolute;
            top: 10px;
            right: 40px;
            font-size: 50px;
            line-height: 1;
            color: #000;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .modal-close-btn:hover {
            color: #0C55A5;
            transform: scale(1.2);
        }

        .custom-input {
            width: 100%;
            height: 100%;
            padding: 5px 40px 5px 10px;
            font-size: 14px;
            color: #235C93;
            background: #fff url('{{ asset("images/internal_assets/icon/calendar.png") }}') no-repeat right 10px center;
            background-size: 20px 20px;
            border: none;
            box-shadow: 0px 0px 4px 0px #00000026;
            border-radius: 5px;
        }

        table.custom-table {
            width: 100%;
            border: 1px solid #EBEBEB;
            background-color: #ffffff;
            border-collapse: separate;
            border-spacing: 0;
            margin: 0;
        }

        table.custom-table th,
        table.custom-table td {
            border: 1px solid #EBEBEB;
            vertical-align: top;
            font-size: 16px;
            padding: 12px 8px;
            text-align: center !important;
        }

        table.custom-table thead {
            background-color: #157AE8;
            color: #ffffff;
        }

        .table.custom-table td {
            vertical-align: top;
            font-family: 'Gilroy-Medium' !important;
        }

        table.custom-table thead th {

            vertical-align: top;
            font-family: 'Gilroy-Bold' !important;
        }

        .custom-input::placeholder {
            color: #235C93;
            opacity: 1;
        }

        .date-input-wrapper {
            position: relative;
            display: inline-block;
            width: 200px;
            height: 40px;
        }

        .clear-date-btn {
            position: absolute;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: #666;
            cursor: pointer;
            font-size: 16px;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .clear-date-btn:hover {
            color: #157AE8;
        }

        .modal-body .custom-select-wrapper,
        .modal-body .date-input-wrapper {
            width: 100% !important;
            margin-bottom: 10px;
        }

        .custom-select {
            appearance: none;
            border: none;
            background: #fff;
            padding: 5px 30px 5px 10px;
            font-size: 14px;
            cursor: pointer;
            color: #235C93;
            box-shadow: 0px 0px 4px 0px #00000026;
            border-radius: 5px;
            width: 100%;
            height: 100%;
        }

        .custom-select-wrapper::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            background: url('{{ asset("images/internal_assets/icon/dropdown.png") }}') no-repeat center center;
            background-size: contain;
            pointer-events: none;
        }

        .custom-select-wrapper {
            position: relative;
            display: inline-block;
            width: 200px;
            height: 40px;
        }

        .legend-box {
            width: clamp(16px, 1.5vw, 20px);
            height: clamp(12px, 1vw, 15px);
            border-radius: 3px;
            margin-right: clamp(8px, 1vw, 10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            cursor: pointer;
        }

        .legend-label {
            color: #3E3E3E;
            font-size: clamp(12px, 1.2vw, 14px);
            font-family: 'Gilroy-Medium' !important;
            cursor: pointer;
        }

        .legend-item {
            cursor: pointer;
            transition: opacity 0.3s;
        }

        .legend-item.disabled {
            opacity: 0.5;
        }

        .chartjs-legend {
            display: none !important;
        }

        .scroll-table-body {
            max-height: 550px;
            overflow-y: auto;
            width: 100%;
        }

        .scroll-table thead,
        .scroll-table tbody tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }

        .table thead th {
            vertical-align: top;
            font-family: 'Gilroy-Bold' !important;
        }

        .table tbody td {
            vertical-align: top;
            font-family: 'Gilroy-Medium' !important;
        }

        .table thead th,
        .table tbody td {
            text-align: center;
            vertical-align: top;
            font-size: clamp(16px, 2vw, 18px) !important;
        }

        .insurance-col,
        .user-col {
            min-width: 250px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .status-badge {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 5px;
            color: #fff;
            font-weight: bold;
            min-width: 100px;
            text-align: center;
        }

        .insurance-col {
            white-space: nowrap;
            width: clamp(250px, 25vw, 300px);
        }

        h2[style*="font-size:46px;"] {
            font-size: clamp(35px, 3.5vw, 46px) !important;
        }

        h2[style*="font-size:32px;"] {
            font-size: clamp(24px, 2.5vw, 32px) !important;
        }

        h5[style*="font-size:30px;"] {
            font-size: clamp(20px, 2.2vw, 30px) !important;
        }

        span[style*="font-size:64px;"] {
            font-size: clamp(28px, 5vw, 64px) !important;
        }

        span[style*="font-size:46px;"] {
            font-size: clamp(35px, 5vw, 46px) !important;
        }

        span[style*="font-size:28px;"] {
            font-size: clamp(22px, 2vw, 28px) !important;
        }

        span[style*="font-size:24px;"] {
            font-size: clamp(22px, 2vw, 24px) !important;
        }

        h4[style*="font-size: 30px;"] {
            font-size: clamp(20px, 2.2vw, 30px) !important;
        }

        .card-title[style*="font-size:30px;"] {
            font-size: clamp(20px, 2.2vw, 30px) !important;
        }

        .btn[style*="font-size:16px;"] {
            font-size: clamp(12px, 1.2vw, 16px) !important;
            padding: clamp(5px, 0.6vw, 8px) clamp(12px, 1.5vw, 20px) !important;
        }

        a[style*="font-size:20px;"] {
            font-size: clamp(14px, 1.6vw, 18px) !important;
        }

        input[style*="width:120px;"] {
            width: clamp(90px, 10vw, 120px) !important;
            font-size: clamp(12px, 1vw, 14px) !important;
        }

        .form-control-sm {
            font-size: clamp(11px, 1vw, 12px) !important;
            padding: clamp(4px, 0.5vw, 6px) clamp(8px, 1vw, 12px) !important;
        }

        div[style*="width:200px;"] {
            width: clamp(150px, 15vw, 200px) !important;
        }

        span[style*="width:120px;"] {
            width: clamp(80px, 8vw, 120px) !important;
            font-size: clamp(11px, 1vw, 14px) !important;
        }

        span[style*="min-width:100px;"] {
            min-width: clamp(70px, 7vw, 100px) !important;
            font-size: clamp(11px, 1vw, 15px) !important;
            padding: clamp(3px, 0.4vw, 5px) clamp(8px, 1vw, 15px) !important;
        }

        img[style*="width:40px; height:50px;"] {
            width: clamp(28px, 3vw, 40px) !important;
            height: clamp(35px, 4vw, 50px) !important;
        }

        img[style*="width:40px; height:40px;"] {
            width: clamp(28px, 3vw, 40px) !important;
            height: clamp(28px, 3vw, 40px) !important;
        }

        img[style*="width:50px; height:50px;"] {
            width: clamp(35px, 4vw, 50px) !important;
            height: clamp(35px, 4vw, 50px) !important;
        }

        /* img[style*="width:20px; height:20px;"] {
                width: clamp(16px, 1.5vw, 20px) !important;
                height: clamp(16px, 1.5vw, 20px) !important;
            } */

        .card[style*="padding: 30px;"] {
            padding: clamp(15px, 2vw, 20px) !important;
        }

        .card[style*="padding: 40px;"] {
            padding: clamp(20px, 3vw, 40px) !important;
        }

        #customLegend[style*="width: 100px; height: 120px;"] {
            width: clamp(80px, 8vw, 100px) !important;
            height: clamp(5px, 10vw, 120px) !important;
        }

        .table-responsive {
            font-size: clamp(11px, 2vw, 20px) !important;
        }


        .d-flex[style*="margin: 30px 0;"] {
            margin: clamp(15px, 2vw, 30px) 0 !important;
        }

        p[style*="margin-top: 20px;"] {
            margin-top: clamp(10px, 1.5vw, 20px) !important;
        }

        .d-flex[style*="gap: 20px;"] {
            gap: clamp(10px, 1.5vw, 20px) !important;
        }

        .card[style*="border-radius: 15px;"] {
            border-radius: clamp(8px, 1vw, 15px) !important;
        }

        .card[style*="margin-right: 15px;"] {
            margin-right: clamp(10px, 1vw, 15px) !important;
        }

        .card[style*="margin-left: 15px;"] {
            margin-left: clamp(10px, 1vw, 15px) !important;
        }

        a.btn.export-excel {
            background: #185C37 !important;
            color: #fff !important;
            border-radius: 8px !important;
            padding: 0 10px !important;
            font-size: 16px !important;
            display: flex !important;
            align-items: center !important;
            gap: 20px !important;
            font-family: 'Gilroy-Medium' !important;
            width: 170px !important;
            height: 45px !important;
            text-decoration: none !important;
        }

        a.btn.export-excel img {
            width: 30px !important;
            height: 30px !important;
        }

        .date-filter-wrapper {
            width: 200px !important;
        }

        input.flatpickr-input {
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 20px 20px;
            padding-right: 40px;
            color: #235C93;
            -webkit-appearance: none;
        }

        @media (max-width: 992px) {

            .date-filter-wrapper {
                width: 100% !important;
            }

            .date-filter-wrapper input {
                width: 100% !important;
            }

            a.btn.export-excel {
                width: 110px !important;
                height: 35px !important;
                font-size: 12px !important;
                gap: 6px !important;
                padding: 0 6px !important;
            }

            a.btn.export-excel img {
                width: 20px !important;
                height: 20px !important;
            }

            .row.mb-4[style*="padding: 0;"] .col-md-6 {
                flex: 0 0 100%;
                max-width: 100%;
                margin-bottom: 15px;
            }

            .row.mb-4[style*="padding: 0;"] .col-md-6:first-child .card,
            .row.mb-4[style*="padding: 0;"] .col-md-6:last-child .card {
                margin-left: 0 !important;
                margin-right: 0 !important;
            }

            .d-flex[style*="gap: 40px; height: 350px;"] {
                flex-direction: column;
                height: auto !important;
                gap: clamp(15px, 2vw, 20px) !important;
            }

            #customLegend {
                width: auto !important;
                height: auto !important;
                flex-direction: row !important;
                justify-content: center;
                gap: 20px !important;
                margin-top: 20px !important;
            }

            #customLegend .legend-item {
                margin-bottom: 0 !important;
                margin-right: 0 !important;
            }

            #customLegend .legend-item:first-child {
                margin-right: 20px !important;
            }

            .d-flex.justify-content-between.align-items-center.mb-3 {
                flex-direction: column;
                align-items: flex-start !important;
                gap: clamp(10px, 1.5vw, 15px) !important;
            }

            .d-flex.align-items-center[style*="gap: 20px;"] {
                flex-direction: column;
                align-items: flex-start !important;
                gap: clamp(8px, 1vw, 10px) !important;
                width: 100%;
            }

            .d-flex.align-items-center.gap-2 {
                flex-direction: column;
                width: 100%;
            }

            .d-flex.align-items-center.gap-2 input {
                width: 100% !important;
            }

            div[style*="width:200px;"] {
                width: 100% !important;
            }

            #topInsurance .d-flex.align-items-center[style*="gap: 20px;"] {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 10px !important;
            }

            #topInsurance .d-flex.align-items-center[style*="gap: 20px;"]>* {
                margin-bottom: 8px !important;
            }

            .date-filter-wrapper {
                width: 100% !important;
                flex: 0 0 100% !important;
            }

            .date-filter-wrapper input {
                width: 100% !important;
                box-sizing: border-box !important;
            }

            #topInsurance .export-excel {
                justify-content: center;
            }

            #topInsurance .card {
                padding: 20px 15px !important;
            }

            #topInsurance .card-body {
                padding: 0 !important;
            }

            #topInsurance .d-flex.justify-content-between {
                flex-direction: column;
                align-items: flex-start !important;
            }

            #topInsurance .d-flex.align-items-center {
                width: 100%;
                margin-bottom: 20px;
            }

            #topInsurance img[alt="icon"] {
                width: 40px !important;
                height: 40px !important;
            }

            #topInsurance .d-flex.align-items-center[style*="gap: 20px"] {
                flex-direction: column;
                gap: 10px !important;
                width: 100%;
            }

            #topInsurance .date-filter-wrapper {
                width: 100% !important;
                margin-bottom: 10px;
            }

            #topInsurance .date-filter-wrapper input {
                width: 100% !important;
            }

            #topInsurance .export-excel {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            /* Mobile table styles */
            #topInsurance .table-responsive {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            #topInsurance table {
                min-width: 600px;
            }

            #topInsurance th,
            #topInsurance td {
                padding: 8px 5px !important;
                font-size: 14px;
                vertical-align: top;
            }

            #topInsurance th[style*="width:280px"],
            #topInsurance td[style*="width:280px"] {
                width: 140px !important;
                min-width: 140px;
                
            }

            #topInsurance th[style*="width:180px"],
            #topInsurance td[style*="width:180px"] {
                width: 120px !important;
                min-width: 120px;
            }
        }

        @media (max-width: 768px) {
            .date-filter-wrapper {
                width: 100% !important;
            }

            .date-filter-wrapper input {
                width: 100% !important;
            }

            .dashboard-wrapper .row.mb-4[style*="padding: 0;"] .col-md-6 {
                flex: 0 0 100%;
                max-width: 100%;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }

            .dashboard-wrapper .row.mb-4[style*="padding: 0;"] .col-md-6 .card {
                margin-left: 0 !important;
                margin-right: 0 !important;
            }

            .d-flex[style*="gap: 40px; height: auto; margin-top: 20px;"] {
                flex-direction: column;
                gap: 20px;
                height: auto !important;
            }

            #customLegend {
                flex-direction: row !important;
                width: 100% !important;
                height: auto !important;
                justify-content: flex-start;
                gap: 20px;
                margin-top: 15px !important;
            }

            .submission-chart-wrapper canvas {
                width: 100% !important;
                height: auto !important;
            }

            .d-flex[style*="justify-content-between align-items-center"] {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .d-flex[style*="gap: 20px;"] {
                flex-direction: column;
                gap: 10px;
                width: 100%;
            }

            input#filterDateRange,
            input#top5FilterDate {
                width: 100% !important;
            }

            a#viewMoreLink {
                font-size: 16px !important;
            }

            span[style*="font-size:64px;"] {
                font-size: 28px !important;
            }

            span[style*="font-size:32px;"] {
                font-size: 16px !important;
            }

            span[style*="font-size:24px;"] {
                font-size: 14px !important;
            }

            .btn[style*="font-size:16px;"] {
                font-size: 12px !important;
                padding: 5px 10px !important;
            }

            a[style*="font-size:20px;"] {
                font-size: 14px !important;
            }

            .table-responsive {
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch;
            }

            .table-responsive table {
                min-width: 600px;
            }

            .table thead th,
            .table tbody td {
                font-size: 11px !important;
                padding: 6px 4px !important;
            }

            span[style*="width:120px;"] {
                width: 80px !important;
                font-size: 10px !important;
                padding: 3px 0 !important;
            }

            span[style*="min-width:100px;"] {
                min-width: 70px !important;
                font-size: 10px !important;
                padding: 3px 8px !important;
            }

            .card[style*="padding: 30px;"] {
                padding: 15px !important;
            }

            .card[style*="padding: 40px;"] {
                padding: 20px !important;
            }

            .d-flex[style*="gap: 40px; height: 350px;"] {
                height: 200px !important;
                gap: 20px !important;
            }

            .row.mb-4[style*="padding: 0;"] .col-md-6 {
                flex: 0 0 100% !important;
                max-width: 100% !important;
            }

            .row.mb-4[style*="padding: 0;"] .col-md-6 .card {
                margin-left: 0 !important;
                margin-right: 0 !important;
                margin-bottom: 15px !important;
            }

            img[style*="width:40px; height:50px;"] {
                width: 28px !important;
                height: 35px !important;
            }

            img[style*="width:40px; height:40px;"] {
                width: 28px !important;
                height: 28px !important;
            }

            img[style*="width:50px; height:50px;"] {
                width: 35px !important;
                height: 35px !important;
            }

            img[style*="width:30px; height:30px;"] {
                width: 20px !important;
                height: 20px !important;
            }

            input[style*="width:120px;"] {
                width: 90px !important;
                font-size: 11px !important;
                padding-right: 30px !important;
                background-size: 16px 16px !important;
            }

            div[style*="width:200px;"] {
                width: 150px !important;
            }

            a.btn[style*="width: 170px; height: 45px;"] {
                width: 140px !important;
                height: 35px !important;
                font-size: 12px !important;
                gap: 10px !important;
                padding: 0 8px !important;
            }

            .d-flex.justify-content-between.align-items-center.mb-3 {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 10px !important;
            }

            .d-flex.align-items-center[style*="gap: 20px;"] {
                width: 100%;
                flex-wrap: wrap;
                gap: 10px !important;
            }

            .d-flex.align-items-center.gap-2 {
                flex-wrap: wrap;
                gap: 8px !important;
            }

            .d-flex.align-items-center.gap-2 input {
                width: calc(50% - 4px) !important;
                min-width: 90px;
            }

            .d-flex.align-items-center.gap-2 .btn {
                width: calc(25% - 6px) !important;
                min-width: 70px;
            }

            .card-body {
                padding: 0 !important
            }

            #topInsurance .d-flex.align-items-center[style*="gap: 20px;"] {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
            }

            #topInsurance .d-flex.align-items-center[style*="gap: 20px;"]>* {
                margin-bottom: 10px !important;
            }

            .date-filter-wrapper {
                width: 100% !important;
                min-width: 100% !important;
                max-width: 100% !important;
            }

            .date-filter-wrapper input {
                width: 100% !important;
                min-width: 100% !important;
                max-width: 100% !important;
                display: block !important;
            }

            .modal-content {
                padding: 2rem 0.5rem !important;
                border-radius: 12px !important;
            }
        }

        @media (max-width: 576px) {

            #customLegend {
                width: auto !important;
                height: auto !important;
                flex-direction: row !important;
                justify-content: center;
                gap: 20px !important;
                margin: 0px 60px !important;
            }

            #customLegend .legend-item {
                margin-bottom: 0 !important;
                margin-right: 0 !important;
            }

            #customLegend .legend-item:first-child {
                margin-right: 20px !important;
            }

            span[style*="font-size:64px;"] {
                font-size: 24px !important;
            }

            span[style*="font-size:32px;"] {
                font-size: 14px !important;
            }

            .d-flex[style*="gap: 40px; height: 350px;"] {
                flex-direction: column;
                height: auto !important;
                gap: 15px !important;
            }

            #customLegend {
                width: auto !important;
                flex-direction: row !important;
                justify-content: center;
                gap: 20px;
                margin-top: 15px;
            }

            .d-flex.align-items-center.gap-2 {
                flex-direction: column;
            }

            .d-flex.align-items-center.gap-2 input,
            .d-flex.align-items-center.gap-2 .btn {
                width: 100% !important;
            }

            a.btn[style*="width: 170px; height: 45px;"] {
                width: 100% !important;
                justify-content: center;
            }

            .card-body {
                padding: 0 !important
            }
        }

        @media (max-width: 400px) {

            input[style*="width:120px;"] {
                width: 80px !important;
                font-size: 10px !important;
            }

            .btn[style*="font-size:16px;"] {
                font-size: 11px !important;
                padding: 4px 8px !important;
            }

            .table thead th,
            .table tbody td {
                font-size: 12px !important;
                padding: 4px 3px !important;
            }

            .card-body {
                padding: 0 !important
            }
        }

        @media (max-width: 992px) {
            .submission-chart-wrapper canvas {
                height: 220px !important;
            }
        }

        @media (max-width: 768px) {
            .submission-chart-wrapper canvas {
                height: 200px !important;
            }
        }

        @media (max-width: 576px) {
            .submission-chart-wrapper canvas {
                height: 180px !important;
            }
        }

        .submission-chart-wrapper {
            width: 100%;
            max-width: 100%;
            height: auto;
            position: relative;
        }

        .submission-chart-wrapper canvas {
            width: 100% !important;
            height: 250px !important;
            max-width: 100%;
        }
        