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

            body {
                font-family: 'Inter', sans-serif;
            }

            :root {
                /* -----------  Primary Theme Colors --------------- */
                --primary-dark: #667eea;
                --primary-light: #3b82f6;
                --accent-blue: #0ea5e9;
                --accent-light: #38bdf8;
                --accent-orange: #f97316;
                --secondary: #f97316;
                --secondary-green: #059669;
                --dark-green: #653695e0;
                --light-green: #10b981;
                --tertiary-purple: #7c3aed;
                --tertiary-indigo: #4f46e5;
                --tertiary-teal: #0d9488;
                --success: #10b981;
                --warning: #f59e0b;
                --danger: #dc2626;
                --info: #0ea5e9;
                --purple: #7c3aed;
                --indigo: #4f46e5;
                --teal: #0d9488;
                --orange: #f97316;
                --cream: #fef7ed;
                --white: #ffffff;
                --light: #f8fafc;
                --dark: #0f172a;
                --dark-secondary: #1e293b;
                --card-bg: #fafafa;
                --bg-white: #ffffff;
                --bg-light: #f9fcf9;
                --text-primary: #2c2c2c;
                --text-secondary: #666666;
                --text-gray: #666666;
                --text-dark: #2c2c2c;
                --border: #e8f0e8;
                --border-light: #e8e8e8;
                --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
                --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
                --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
                --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
                --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
                --shadow-light: rgba(124, 179, 66, 0.1);
                --gray-50: #f8fafc;
                --gray-100: #f1f5f9;
                --gray-200: #e2e8f0;
                --gray-300: #cbd5e1;
                --gray-400: #94a3b8;
                --gray-500: #64748b;
                --gray-600: #475569;
                --gray-700: #334155;
                --gray-800: #1e293b;
                --gray-900: #0f172a;
                /* ----------------------------------
     Spacing
  ---------------------------------- */
                --spacing-xs: 4px;
                --spacing-sm: 8px;
                --spacing-md: 16px;
                --spacing-lg: 24px;
                --spacing-xl: 32px;
                --container-padding: 20px;
                --border-radius-xl: 16px;
                /* ----------------------------------
     Radius
  ---------------------------------- */
                --border-radius: 12px;
                --border-radius-lg: 16px;
                --glass-bg: rgba(255, 255, 255, 0.25);
                --glass-border: rgba(255, 255, 255, 0.18);
                --backdrop-blur: blur(16px);
                --shadow-glass: 0 8px 32px 0 rgba(124, 179, 66, 0.2);
                --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
                --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
                --primary-gradient: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, var(--orange) 100%);
                --success-gradient: linear-gradient(135deg, var(--success) 0%, var(--teal) 100%);
                --warning-gradient: linear-gradient(135deg, var(--warning) 0%, var(--secondary) 100%);
                --danger-gradient: linear-gradient(135deg, var(--danger) 0%, var(--orange) 100%);
                --info-gradient: linear-gradient(135deg, var(--info) 0%, var(--accent-blue) 100%);
                --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
                --radius: 16px;
                --radius-lg: 24px;
                --spacing: 2rem;
                /* ----------------------------------
     Layout
  ---------------------------------- */
                --sidebar-width: 300px;
                /* ----------------------------------
     Legal-Specific Theme (Scoped)
  ---------------------------------- */
                --legal-primary: #7cb342;
                --legal-primary-dark: #653695e0;
                --legal-primary-light: #9ccc65;
                --legal-secondary: #ff8f00;
                --legal-success: #22c55e;
                --legal-warning: #f59e0b;
                --legal-danger: #ef4444;
                --legal-info: #3b82f6;
                --legal-purple: #8b5cf6;
                --legal-dark: #1f2937;
                --legal-light: #f8fafc;
                --legal-white: #ffffff;
                --legal-text-primary: #1e293b;
                --legal-text-secondary: #64748b;
                --legal-border-light: #e2e8f0;
                /* Gradients for Legal */
                --legal-gradient-primary: linear-gradient(135deg, var(--legal-primary) 0%, var(--legal-primary-dark) 100%);
                --legal-gradient-secondary: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            }

            .text-primary {
                color: #2c2a4a !important;
            }

            .text-vilot {
                color: #653695e0 !important;
            }

            .bg-primary {
                background: linear-gradient(135deg, #653695e0 0%, var(--primary-dark) 100%) !important;
                background-color: linear-gradient(135deg, #653695e0 0%, var(--primary-dark) 100%) !important;
                color: #fff !important;
            }

            .fs-38 {
                font-size: 38px !important;
            }

            .fs-30 {
                font-size: 30px !important;
            }

            .fs-9 {
                font-size: 9px !important;
            }

            .fs-10 {
                font-size: 10px !important;
            }

            .fs-11 {
                font-size: 11px !important;
            }

            .fs-12 {
                font-size: 12px !important;
            }

            .fs-13 {
                font-size: 13px !important;
            }

            .fs-14 {
                font-size: 14px !important;
            }

            .fs-15 {
                font-size: 15px !important;
            }

            .fs-16 {
                font-size: 16px !important;
            }

            .fs-17 {
                font-size: 17px !important;
            }

            .fs-18 {
                font-size: 18px !important;
            }

            .fs-19 {
                font-size: 19px !important;
            }

            .fs-20 {
                font-size: 20px !important;
            }

            .fs-25 {
                font-size: 25px !important;
            }

            .card {
                box-shadow: 0 0.25rem 1.125rem rgba(75, 70, 92, 0.1) !important;
                border: transparent !important;
            }

            .body-top {
                padding-top: 158px !important;
            }

            @media (max-width: 479.98px) {
                .body-top {
                    padding-top: 95px !important;
                }

                .numbered-instructions {
                    padding-left: 0px !important;
                }

                .instruction-content {
                    display: flex;
                    gap: 1px !important;
                    flex-direction: column;
                    align-items: flex-start !important;
                }

                .numbered-instruction {
                    align-items: flex-start !important;
                }

                .instructions-title {
                    font-size: 17px !important;
                    font-weight: 700 !important;
                }
            }

            @media (max-width: 575.98px) {
                .body-top {
                    padding-top: 100px !important;
                }
            }

            @media (max-width: 767.98px) {
                .body-top {
                    padding-top: 110px !important;
                }
            }

            @media (max-width: 991.98px) {
                .body-top {
                    padding-top: 120px !important;
                }
            }

            @media (max-width: 1199.98px) {
                .body-top {
                    padding-top: 155px;
                }
            }

            /* ----------- Form Fileds styles --------------  */
            /* ========================================
           FORM LABELS & GROUPS
        ======================================== */
            /* .form-group {
            margin-bottom: 20px;
        } */

            .form-label {
                display: block;
                margin-bottom: 8px;
                font-weight: 600;
                color: var(--text-dark);
                font-size: 13px;
            }

            .form-label.required::after {
                content: '*';
                color: var(--danger);
                margin-left: 4px;
            }

            .form-text {
                font-size: 11px;
                color: var(--gray-500);
                margin-top: 5px;
            }

            /* ========================================
           INPUT FIELD STYLE
        ======================================== */

            .form-control {
                width: 100%;
                padding: 10px 14px;
                border: 1px solid var(--gray-300);
                border-radius: 8px !important;
                background: var(--white);
                font-size: 13px;
                transition: all 0.3s ease;
                font-family: 'Inter', sans-serif;
                -webkit-border-radius: 8px !important;
                -moz-border-radius: 8px !important;
            }

            .form-control:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 2px rgb(105 66 179 / 10%) !important;
                background: var(--white);
            }

            .form-control:disabled {
                background: var(--gray-100);
                color: var(--gray-500);
                cursor: not-allowed;
            }

            /* Input with Icons */

            .input-group {
                position: relative;
            }

            .input-group .form-control {
                padding-left: 38px;
            }

            .input-icon {
                position: absolute;
                left: 12px;
                top: 50%;
                transform: translateY(-50%);
                color: var(--gray-400);
                z-index: 10;
                pointer-events: none;
                font-size: 13px;
            }

            /* Textarea */

            .form-textarea {
                min-height: 90px;
                resize: vertical;
            }

            /* Select2 Styling - Enhanced for searchable dropdown */

            .select2-container--default .select2-selection--single {
                height: 36px !important;
                padding: 0;
                border: 1px solid var(--gray-300) !important;
                border-radius: 8px !important;
                background: var(--white) !important;
                font-size: 13px;
                -webkit-border-radius: 8px !important;
                -moz-border-radius: 8px !important;
            }

            .select2-container--default .select2-selection--single .select2-selection__rendered {
                line-height: 19px !important;
                padding: 7px 16px !important;
                color: var(--text-dark) !important;
                font-size: 13px !important;
            }

            .select2-container--default .select2-selection--single .select2-selection__arrow {
                height: 26px !important;
                right: 8px !important;
                top: 5px !important;
            }

            .select2-container--default .select2-selection--single .select2-selection__arrow b {
                border-color: var(--gray-400) transparent transparent transparent !important;
                border-width: 5px 4px 0 4px !important;
            }

            .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
                border-color: transparent transparent var(--gray-400) transparent !important;
                border-width: 0 4px 5px 4px !important;
            }

            .select2-container--default.select2-container--focus .select2-selection--single {
                border-color: var(--primary) !important;
                box-shadow: 0 0 0 2px rgb(105 66 179 / 10%) !important;
            }

            /* Select2 dropdown styling */

            .select2-dropdown {
                border: 1px solid var(--gray-300) !important;
                border-radius: 8px !important;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
                -webkit-border-radius: 8px !important;
                -moz-border-radius: 8px !important;
            }

            .select2-search--dropdown .select2-search__field {
                border: 1px solid var(--gray-300) !important;
                border-radius: 6px !important;
                padding: 8px 12px !important;
                font-size: 13px !important;
                margin: 8px !important;
                width: calc(100% - 16px) !important;
            }

            .select2-search--dropdown .select2-search__field:focus {
                border-color: var(--primary) !important;
                box-shadow: 0 0 0 2px rgb(105 66 179 / 10%) !important;
                outline: none !important;
            }

            .select2-results__option {
                padding: 8px 12px !important;
                font-size: 13px !important;
                color: var(--text-dark) !important;
            }

            .select2-results__option--highlighted {
                background-color: var(--primary) !important;
                color: white !important;
            }

            .select2-results__option--selected {
                background-color: var(--gray-100) !important;
                color: var(--text-dark) !important;
            }

            /* Select2 placeholder styling */

            .select2-container--default .select2-selection--single .select2-selection__placeholder {
                color: var(--gray-400) !important;
                font-size: 13px !important;
            }

            /* Select2 clear button */

            .select2-container--default .select2-selection--single .select2-selection__clear {
                color: var(--gray-400) !important;
                cursor: pointer;
                float: right;
                font-weight: bold;
                margin-right: 10px;
            }

            /* Hide clear button when no value is selected */

            .select2-container--default .select2-selection--single .select2-selection__clear {
                display: none;
            }

            /* Show clear button only when a value is selected */

            .select2-container--default.has-value .select2-selection--single .select2-selection__clear {
                display: block;
            }

            .select2-container .select2-selection__clear {
                color: #999;
            }

            .select2-container .select2-selection__clear:hover {
                color: #333;
            }

            .select2-container {
                width: 100% ;
            }

            /* Date Picker Styling */

            .flatpickr-input {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 002 2z'/%3e%3c/svg%3e");
                background-repeat: no-repeat;
                background-position: right 10px center;
                background-size: 16px;
                padding-right: 35px;
                cursor: pointer;
            }

            .flatpickr-input:focus {
                /* background image removed */
            }

            .flatpickr-calendar {
                z-index: 99999 !important;
                box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3) !important;
                border: 2px solid var(--primary) !important;
                border-radius: 12px !important;
                background: white !important;
                display: none;
            }

            /* Select2 validation states */

            .select2-container--default.is-invalid .select2-selection--single {
                border-color: var(--danger) !important;
                box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
            }

            .select2-container--default.is-valid .select2-selection--single {
                border-color: var(--success) !important;
                box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
            }

            /* ========================================
           RADIO BUTTON STYLE
        ======================================== */

            .radio-group {
                display: flex;
                gap: 20px;
                margin-top: 8px;
                flex-wrap: wrap;
            }

            .radio-item {
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .radio-item input[type="radio"] {
                width: 18px;
                height: 18px;
                accent-color: #653695e0;
                cursor: pointer;
            }

            .radio-item label {
                font-size: 14px;
                color: var(--text-dark);
                cursor: pointer;
                font-weight: 500;
            }

            /* Custom Radio Button (Optional) */

            .custom-radio {
                position: relative;
                display: inline-block;
            }

            .custom-radio input[type="radio"] {
                opacity: 0;
                position: absolute;
            }

            .custom-radio .radio-checkmark {
                position: absolute;
                top: 0;
                left: 0;
                height: 18px;
                width: 18px;
                background-color: var(--white);
                border: 2px solid var(--gray-300);
                border-radius: 50%;
                transition: all 0.3s ease;
            }

            .custom-radio input[type="radio"]:checked~.radio-checkmark {
                background-color: var(--primary);
                border-color: var(--primary);
            }

            .custom-radio .radio-checkmark:after {
                content: "";
                position: absolute;
                display: none;
                top: 2px;
                left: 2px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: white;
            }

            .custom-radio input[type="radio"]:checked~.radio-checkmark:after {
                display: block;
            }

            /* ========================================
           DATE PICKER STYLE (FLATPICKR)
        ======================================== */

            .flatpickr-input {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 002 2z'/%3e%3c/svg%3e");
                background-repeat: no-repeat;
                background-position: right 12px center;
                background-size: 18px;
                padding-right: 45px;
                cursor: pointer;
            }

            .flatpickr-input:focus {
                /* background image removed on focus */
            }

            .flatpickr-calendar {
                z-index: 99999 !important;
                box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3) !important;
                border: 2px solid var(--primary) !important;
                border-radius: 12px !important;
                background: white !important;
                font-family: 'Inter', sans-serif !important;
            }

            .flatpickr-calendar.open {
                z-index: 99999 !important;
            }

            .flatpickr-calendar.arrowTop:before,
            .flatpickr-calendar.arrowTop:after {
                border-bottom-color: var(--primary) !important;
            }

            .flatpickr-wrapper {
                position: relative;
            }

            .flatpickr-calendar.inline,
            .flatpickr-calendar.static {
                position: fixed !important;
                z-index: 99999 !important;
            }

            /* Flatpickr theme customization */

            .flatpickr-day.selected {
                background: var(--primary) !important;
                border-color: var(--primary) !important;
            }

            .flatpickr-day.selected:hover {
                background: var(--primary-dark) !important;
                border-color: var(--primary-dark) !important;
            }

            .flatpickr-day:hover {
                background: var(--gray-100) !important;
            }

            /* ========================================
           FILE UPLOAD STYLE
        ======================================== */

            .file-upload {
                position: relative;
                display: inline-block;
                width: 100%;
            }

            .file-upload-input {
                position: absolute;
                left: -9999px;
                opacity: 0;
            }

            .file-upload-label {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 20px;
                border: 2px dashed var(--gray-300);
                border-radius: 8px !important;
                background: var(--gray-50);
                cursor: pointer;
                transition: all 0.3s ease;
                flex-direction: column;
                gap: 8px;
                text-align: center;
                min-height: 100px;
                -webkit-border-radius: 8px !important;
                -moz-border-radius: 8px !important;
            }

            .file-upload-label:hover {
                border-color: var(--primary);
                background: rgba(124, 179, 66, 0.05);
            }

            .file-upload-label.file-selected {
                border-color: var(--success);
                background: rgba(34, 197, 94, 0.05);
            }

            .file-upload-icon {
                font-size: 24px;
                color: var(--gray-400);
            }

            .file-upload-text {
                color: var(--gray-600);
                font-weight: 500;
                font-size: 14px;
            }

            .file-upload-subtext {
                font-size: 12px;
                color: var(--gray-400);
            }

            /* Drag and Drop States */

            .file-upload-label.drag-over {
                border-color: var(--primary);
                background: rgba(124, 179, 66, 0.1);
            }

            .file-selected-info {
                margin-top: 10px;
                padding: 10px;
                background: var(--gray-50);
                border-radius: 8px;
                display: none;
            }

            .file-selected-info.show {
                display: block;
            }

            .file-name {
                color: var(--text-dark);
                font-weight: 500;
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .file-size {
                color: var(--gray-500);
                font-size: 12px;
            }

            /* ========================================
           PASSWORD FIELD WITH TOGGLE
        ======================================== */

            .password-group {
                position: relative;
            }

            .password-group .form-control {
                padding-right: 45px;
            }

            .password-toggle {
                position: absolute;
                right: 12px;
                top: 50%;
                transform: translateY(-50%);
                background: none;
                border: none;
                color: var(--gray-400);
                cursor: pointer;
                z-index: 10;
                padding: 4px;
                transition: color 0.3s ease;
                font-size: 16px;
            }

            .password-toggle:hover {
                color: var(--primary);
            }

            .password-toggle:focus {
                outline: none;
                color: var(--primary);
            }

            /* ========================================
           CHECKBOX STYLE
        ======================================== */

            .checkbox-group {
                display: flex;
                flex-direction: column;
                gap: 12px;
                margin-top: 8px;
            }

            .checkbox-item {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .checkbox-item input[type="checkbox"] {
                width: 18px;
                height: 18px;
                accent-color: var(--primary);
                cursor: pointer;
            }

            .checkbox-item label {
                font-size: 14px;
                color: var(--text-dark);
                cursor: pointer;
                font-weight: 500;
            }

            /* Custom Checkbox (Optional) */

            .custom-checkbox {
                position: relative;
                display: inline-block;
            }

            .custom-checkbox input[type="checkbox"] {
                opacity: 0;
                position: absolute;
            }

            .custom-checkbox .checkbox-checkmark {
                position: absolute;
                top: 0;
                left: 0;
                height: 18px;
                width: 18px;
                background-color: var(--white);
                border: 2px solid var(--gray-300);
                border-radius: 3px;
                transition: all 0.3s ease;
            }

            .custom-checkbox input[type="checkbox"]:checked~.checkbox-checkmark {
                background-color: var(--primary);
                border-color: var(--primary);
            }

            .custom-checkbox .checkbox-checkmark:after {
                content: "";
                position: absolute;
                display: none;
                left: 5px;
                top: 2px;
                width: 4px;
                height: 8px;
                border: solid white;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

            .custom-checkbox input[type="checkbox"]:checked~.checkbox-checkmark:after {
                display: block;
            }

            /* ========================================
           TOGGLE SWITCH STYLE
        ======================================== */

            .toggle-group {
                display: flex;
                flex-direction: column;
                gap: 15px;
                margin-top: 8px;
            }

            .toggle-item {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .toggle-input {
                display: none;
            }

            .toggle-label {
                position: relative;
                display: inline-block;
                width: 50px;
                height: 24px;
                cursor: pointer;
            }

            .toggle-slider {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: var(--gray-300);
                transition: 0.3s;
                border-radius: 24px;
            }

            .toggle-slider:before {
                position: absolute;
                content: "";
                height: 18px;
                width: 18px;
                left: 3px;
                top: 3px;
                background-color: white;
                transition: 0.3s;
                border-radius: 50%;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            }

            .toggle-input:checked+.toggle-label .toggle-slider {
                background-color: var(--primary);
            }

            .toggle-input:checked+.toggle-label .toggle-slider:before {
                transform: translateX(26px);
            }

            .toggle-text {
                font-size: 14px;
                color: var(--text-dark);
                font-weight: 500;
            }

            /* ========================================
           ENHANCED BUTTONS
        ======================================== */

            .btn:hover {
                transform: translateY(-1px);
                /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
                text-decoration: none;
            }

            .btn:active {
                transform: translateY(0);
            }

            .btn-primary {
                background: var(--primary);
                color: white;
            }

            .btn-primary:hover {
                background: var(--primary-dark);
                color: white;
            }

            .btn-secondary {
                background: var(--gray-500);
                color: white;
            }

            .btn-secondary:hover {
                background: var(--gray-600);
                color: white;
            }

            .btn-success {
                background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
                color: var(--white);
                box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
                border: transparent !important;
            }

            .btn-success:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
            }

            .btn:disabled {
                opacity: 0.6;
                cursor: not-allowed;
                transform: none !important;
            }

            .btn-outline-primary {
                background: transparent;
                color: var(--primary);
                border: 2px solid var(--primary);
            }

            .btn-outline-primary:hover {
                background: var(--primary);
                color: white;
            }

            .btn-info {
                background: var(--info);
                color: white;
            }

            .btn-info:hover {
                background: #653695e0;
                color: white;
            }

            .btn-warning {
                background: var(--warning);
                color: white;
            }

            .btn-warning:hover {
                background: #d97706;
                color: white;
            }

            .btn-danger {
                background: var(--danger);
                color: white;
                border-radius: 5px !important;
            }

            .btn-danger:hover {
                background: #dc2626;
                color: white;
            }

            .btn-light {
                background: var(--gray-100);
                color: var(--text-dark);
                border: 1px solid var(--gray-300);
            }

            .btn-light:hover {
                background: var(--gray-200);
                color: var(--text-dark);
            }

            .btn-outline-secondary {
                background: transparent;
                color: var(--gray-500);
                border: 2px solid var(--gray-500);
            }

            .btn-outline-secondary:hover {
                background: var(--gray-500);
                color: white;
            }

            .btn-outline-danger {
                background: transparent;
                color: var(--danger);
                border: 2px solid var(--danger);
            }

            .btn-outline-danger:hover {
                background: var(--danger);
                color: white;
            }

            .btn-outline-warning {
                /* background: transparent; */
                color: var(--warning);
                border: 2px solid var(--warning);
            }

            .btn-outline-warning:hover {
                background: transparent !important;
                color: #d97706 !important;
            }

            .btn-outline-warning {
                border: 1px solid #d97706 !important;
                color: #d97706 !important;
            }

            /* Button sizes */

            .btn-sm {
                padding: 8px 16px !important;
                font-size: 12px !important;
                min-height: 36px !important;
            }

            .btn-lg {
                padding: 16px 24px;
                font-size: 16px;
                min-height: 56px;
            }

            /* ========================================
           DEMO SECTIONS
        ======================================== */

            .demo-section {
                background: var(--white);
                border-radius: 12px;
                padding: 30px;
                margin-bottom: 30px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                border: 1px solid var(--gray-200);
            }

            .demo-title {
                font-size: 20px;
                font-weight: 700;
                color: var(--dark-green);
                margin-bottom: 20px;
                padding-bottom: 10px;
                border-bottom: 2px solid var(--border);
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .demo-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 20px;
            }

            .button-group {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 10px;
            }

            /* ========================================
           MOBILE RESPONSIVE
        ======================================== */

            @media (max-width: 768px) {

                .photo-section {
                    align-items: flex-start;
                }



                .demo-section {
                    padding: 20px;
                }

                .form-control {
                    padding: 14px 16px;
                    font-size: 16px;
                    /* Prevents zoom on iOS */
                }

                .input-group .form-control {
                    padding-left: 45px;
                }

                .input-icon {
                    left: 15px;
                    font-size: 16px;
                }

                .radio-group {
                    flex-direction: column;
                    gap: 10px;
                }

                .select2-container--default .select2-selection--single {
                    height: 50px !important;
                    font-size: 16px;
                }

                .select2-container--default .select2-selection--single .select2-selection__rendered {
                    line-height: 21px !important;
                    padding: 12px 16px !important;
                    color: var(--text-dark) !important;
                    font-size: 13px !important;
                }

                .select2-container--default .select2-selection--single .select2-selection__arrow {
                    height: 48px !important;
                }

                .file-upload-label {
                    padding: 25px;
                    min-height: 120px;
                }

                .file-upload-icon {
                    font-size: 28px;
                }

                .file-upload-text {
                    font-size: 16px;
                }

                .flatpickr-input {
                    padding-right: 50px;
                    background-size: 20px;
                    background-position: right 15px center;
                }

                .flatpickr-calendar {
                    position: fixed !important;
                    top: 50% !important;
                    left: 50% !important;
                    transform: translate(-50%, -50%) !important;
                    width: 90vw !important;
                    max-width: 320px !important;
                    z-index: 99999 !important;
                }

                .demo-grid {
                    grid-template-columns: 1fr;
                }

                .btn {
                    width: 100%;
                    margin-bottom: 10px;
                }

                .button-group {
                    flex-direction: column;
                }
            }

            @media (max-width: 480px) {
                .status-grid {
                    grid-template-columns: repeat(1, 1fr) !important;
                }

                .demo-section {
                    padding: 15px;
                }

                .demo-title {
                    font-size: 18px;
                }
            }

            /* ----- Form Fields End -------- */
            /* ---------------------- Side bar style started ------------------  */

            .dashboard-container {
                display: flex;
                min-height: 100vh;
            }

            /* Sidebar - FIXED: Removed fixed positioning from wrapper */

            .forest-sidebar-wrapper {
                position: fixed;
                top: 0;
                left: 0;
                height: 100vh;
                width: var(--sidebar-width);
                background: linear-gradient(180deg, var(--bg-white) 0%, var(--card-bg) 100%);
                box-shadow: 0 15px 40px rgba(124, 179, 66, 0.1);
                z-index: 1000;
                border-right: 2px solid var(--border);
                /* FIXED: Enable scrolling for entire sidebar */
                overflow-y: auto;
                overflow-x: hidden;
                scrollbar-width: none;
                -ms-overflow-style: none;
                transition: transform 0.3s ease;
            }

            .forest-sidebar-wrapper::-webkit-scrollbar {
                width: 0px;
                background: transparent;
            }

            .forest-sidebar-wrapper:hover::-webkit-scrollbar {
                width: 4px;
            }

            .forest-sidebar-wrapper:hover::-webkit-scrollbar-track {
                background: var(--gray-100);
            }

            .forest-sidebar-wrapper:hover::-webkit-scrollbar-thumb {
                background: var(--gray-400);
                border-radius: 2px;
            }

            /* FIXED: Header is now fixed at top of sidebar */

            .forest-sidebar-header {
                padding: 15px;
                border-bottom: 2px solid var(--border);
                background: #653695e0;
                position: sticky;
                top: 0;
                z-index: 10;
                overflow: hidden;
            }

            .forest-sidebar-header::before {
                content: '';
                position: absolute;
                top: -50%;
                left: -50%;
                width: 200%;
                height: 200%;
                z-index: 1;
                animation: forestFloatingBackground 20s ease-in-out infinite;
            }

            @keyframes forestFloatingBackground {

                0%,
                100% {
                    transform: translate(0, 0) rotate(0deg);
                }

                50% {
                    transform: translate(-20px, -20px) rotate(1deg);
                }
            }

            .forest-brand {
                display: flex;
                align-items: center;
                gap: 12px;
                position: relative;
                z-index: 2;
            }

            .forest-brand-logo {
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
            }

            .forest-brand-content {
                flex: 1;
            }

            .forest-brand-text {
                color: white;
                font-size: 16px;
                font-weight: 700;
                letter-spacing: -0.3px;
                margin-bottom: 1px;
            }

            .forest-brand-subtitle {
                color: rgba(255, 255, 255, 0.8);
                font-size: 10px;
            }

            /* FIXED: Menu container with proper padding for fixed header */

            .forest-nav-menu {
                padding: 8px 0;
                /* FIXED: Removed min-height since header is now fixed */
            }

            .forest-nav-section {
                margin-bottom: 4px;
            }

            .forest-nav-item {
                margin-bottom: 1px;
            }

            .forest-nav-link {
                display: flex;
                align-items: center;
                padding: 12px 15px;
                color: var(--gray-600);
                text-decoration: none;
                font-weight: 500;
                font-size: 13px;
                transition: all 0.3s ease;
                position: relative;
                border-radius: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                cursor: pointer;
            }

            .forest-nav-link:hover {
                background: var(--gray-50);
                color: var(--dark-green);
                transform: translateX(4px);
                padding-left: 19px;
                text-decoration: none;
            }

            /* Fixed Active Colors */

            .forest-nav-active {
                background-color: #202e44d1 !important;
                color: #ffffff !important;
                border-left: 4px solid #0a1322 !important;
            }

            .forest-dropdown-submenu-link.forest-nav-active {
                background-color: #e8f5e8 !important;
                color: #2d5a2d !important;
                border-left: 4px solid #4caf50 !important;
            }

            .forest-nested-link.forest-nav-active {
                background-color: #e8f5e8 !important;
                color: #2d5a2d !important;
                border-left: 4px solid #4caf50 !important;
            }

            /* Active icon colors */

            .forest-nav-active .forest-nav-icon i,
            .forest-nav-active .forest-dropdown-submenu-icon i,
            .forest-nav-active .forest-nested-icon i {
                color: #ffffff !important;
            }

            .forest-dropdown-submenu-link.forest-nav-active .forest-dropdown-submenu-icon i {
                color: #ffffff !important;
            }

            .forest-nested-link.forest-nav-active .forest-nested-icon i {
                color: #2d5a2d !important;
            }

            .forest-nav-link.forest-nav-active {
                background: #653695e0;
                color: white;
                border-radius: 0 5px 5px 0;
                margin-right: 12px;
                transform: translateX(0);
                /* box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3); */
            }

            .forest-nav-link.forest-nav-active:hover {
                transform: translateX(0);
                padding-left: 15px;
                color: white;
            }

            .forest-nav-icon {
                width: 18px;
                height: 18px;
                margin-right: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                font-size: 14px;
            }

            .forest-nav-badge {
                margin-left: auto;
                background: var(--accent-orange);
                color: white;
                font-size: 9px;
                padding: 2px 6px;
                border-radius: 10px;
                font-weight: 600;
                min-width: 16px;
                text-align: center;
                flex-shrink: 0;
            }

            .forest-nav-badge.forest-badge-new {
                background: var(--success);
                animation: pulse 2s infinite;
            }

            .forest-nav-badge.forest-badge-alert {
                background: var(--danger);
                animation: pulse 2s infinite;
            }

            .forest-nav-badge.forest-badge-live {
                background: var(--secondary);
                animation: pulse 2s infinite;
            }

            /* Dropdown Specific Styles */

            .forest-dropdown-nav-item {
                margin-bottom: 1px;
            }

            .forest-dropdown-nav-link {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 12px 15px;
                color: var(--gray-600);
                text-decoration: none;
                font-weight: 500;
                font-size: 13px;
                transition: all 0.3s ease;
                position: relative;
                border-radius: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                cursor: pointer;
            }

            .forest-dropdown-nav-link:hover {
                background: var(--gray-50);
                color: var(--dark-green);
                transform: translateX(4px);
                padding-left: 19px;
                text-decoration: none;
            }

            .forest-dropdown-nav-link.forest-nav-active {
                background: #653695e0;
                color: white;
                border-radius: 0 10px 10px 0;
                margin-right: 12px;
                transform: translateX(0);
                /* box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3); */
            }

            .forest-dropdown-nav-link.forest-nav-active:hover {
                transform: translateX(0);
                padding-left: 15px;
                color: white;
            }

            .forest-dropdown-nav-link.forest-dropdown-open {
                background: var(--gray-100);
                color: var(--dark-green);
            }

            .forest-dropdown-nav-content {
                display: flex;
                align-items: center;
                flex: 1;
            }

            .forest-dropdown-nav-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 20px;
                height: 20px;
                margin-left: 8px;
                transition: transform 0.3s ease;
            }

            .forest-dropdown-nav-toggle i {
                font-size: 10px;
                color: inherit;
            }

            .forest-dropdown-nav-toggle.forest-dropdown-rotated {
                transform: rotate(90deg);
            }

            .forest-dropdown-submenu {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                background: rgba(0, 0, 0, 0.03);
            }

            .forest-dropdown-submenu.forest-dropdown-expanded {
                max-height: 1100px;
            }

            .forest-dropdown-submenu-item {
                margin-bottom: 1px;
            }

            .forest-dropdown-submenu-link {
                display: flex;
                align-items: center;
                padding: 10px 15px 10px 45px;
                color: var(--gray-700);
                text-decoration: none;
                font-weight: 500;
                font-size: 12px;
                transition: all 0.3s ease;
                position: relative;
                border-radius: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .forest-dropdown-submenu-link:hover {
                background: var(--gray-100);
                color: var(--dark-green);
                text-decoration: none;
                padding-left: 50px;
            }

            .forest-dropdown-submenu-link.forest-nav-active {
                background: rgba(51, 105, 30, 0.1);
                color: var(--dark-green);
                font-weight: 600;
                border-left: 3px solid var(--dark-green);
            }

            .forest-dropdown-submenu-link.forest-nav-active:hover {
                padding-left: 47px;
            }

            .forest-dropdown-submenu-icon {
                width: 14px;
                height: 14px;
                margin-right: 8px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                font-size: 10px;
            }

            .forest-dropdown-submenu-badge {
                margin-left: auto;
                background: var(--gray-400);
                color: white;
                font-size: 8px;
                padding: 1px 4px;
                border-radius: 8px;
                font-weight: 600;
                min-width: 14px;
                text-align: center;
                flex-shrink: 0;
            }

            /* Main Content */

            .main-content {
                margin-left: var(--sidebar-width);
                min-height: 100vh;
                flex: 1;
                overflow: hidden;
            }

            /* Updated Header */

            .content-header {
                background: var(--white);
                padding: 11px 30px;
                border-bottom: 1px solid var(--gray-200);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
                position: sticky;
                top: 0;
                z-index: 100;
            }

            .header-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                /* gap: 15px; */
            }

            .header-left {
                display: flex;
                align-items: center;
                gap: 20px;
                flex: 1;
                min-width: 0;
            }

            .mobile-toggle {
                display: none;
                padding: 8px;
                background: none;
                border: none;
                color: var(--gray-600);
                font-size: 20px;
                cursor: pointer;
                border-radius: 8px;
                transition: all 0.2s ease;
            }

            .mobile-toggle:hover {
                color: var(--primary);
                background: var(--gray-100);
            }

            .welcome-section {
                flex: 1;
                min-width: 200px;
            }

            .welcome-title {
                font-size: 24px;
                font-weight: 700;
                color: var(--gray-800);
                margin-bottom: 4px;
            }

            .welcome-subtitle {
                font-size: 14px;
                color: var(--gray-500);
                font-weight: 600;
            }

            .header-right {
                display: flex;
                align-items: center;
                gap: 15px;
                flex-wrap: wrap;
            }

            .search-container {
                position: relative;
                min-width: 200px;
                max-width: 300px;
            }

            .search-input {
                width: 100%;
                padding: 10px 16px 10px 40px;
                border: 1px solid var(--gray-300);
                border-radius: 7px;
                background: var(--gray-50);
                font-size: 14px;
                transition: all 0.2s ease;
                cursor: pointer;
            }

            .search-input:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
                background: white;
            }

            .search-icon {
                position: absolute;
                left: 14px;
                top: 50%;
                transform: translateY(-50%);
                color: var(--gray-400);
            }

            .header-actions {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .year-selector {
                position: relative;
            }

            .year-dropdown {
                padding: 8px 12px;
                border: 1px solid var(--gray-300);
                border-radius: 8px;
                background: white;
                font-size: 13px;
                color: var(--gray-600);
                cursor: pointer;
                transition: all 0.2s ease;
                display: flex;
                align-items: center;
                gap: 8px;
                min-width: 120px;
                white-space: nowrap;
            }

            .year-dropdown:hover {
                border-color: var(--primary);
                color: var(--primary);
            }

            .view-all-btn {
                padding: 8px 16px;
                background: var(--gray-800);
                color: white;
                border: none;
                border-radius: 8px;
                font-weight: 600;
                font-size: 13px;
                cursor: pointer;
                transition: all 0.2s ease;
                white-space: nowrap;
                display: flex;
                align-items: center;
                gap: 6px;
            }

            .view-all-btn:hover {
                background: var(--gray-900);
                transform: translateY(-1px);
            }

            .header-icons {
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .header-icon {
                width: 36px;
                height: 36px;
                border: 1px solid var(--gray-300);
                border-radius: 8px;
                background: white;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--gray-600);
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .header-icon:hover {
                border-color: var(--primary);
                color: var(--primary);
            }

            .profile-menu {
                position: relative;
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 6px;
                background: white;
                border: 1px solid var(--gray-200);
                border-radius: 10px;
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .profile-menu:hover {
                border-color: var(--primary);
            }

            .profile-menu.active {
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
            }

            .profile-avatar-sm {
                width: 32px;
                height: 32px;
                background: #653695;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: 700;
                font-size: 12px;
            }

            .profile-dropdown {
                position: absolute;
                top: calc(100% + 8px);
                right: 0;
                background: white;
                border: 1px solid var(--gray-200);
                border-radius: 12px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
                min-width: 260px;
                opacity: 0;
                visibility: hidden;
                transform: translateY(-10px);
                transition: all 0.3s ease;
                z-index: 1000;
                overflow: hidden;
            }

            .profile-dropdown.show {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .profile-dropdown-header {
                padding: 20px;
                border-bottom: 1px solid var(--gray-200);
                background: var(--gray-50);
            }

            .profile-user-info {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .profile-avatar-lg {
                width: 48px;
                height: 48px;
                background: #653695;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: 700;
                font-size: 18px;
            }

            .profile-user-details h4 {
                font-size: 16px;
                font-weight: 600;
                color: var(--gray-800);
                margin: 0 0 2px 0;
                text-transform: capitalize;
            }

            .profile-user-details p {
                font-size: 13px;
                color: var(--gray-500);
                margin: 0;
            }

            .profile-dropdown-menu {
                padding: 8px 0;
            }

            .profile-dropdown-item {
                display: flex;
                align-items: center;
                gap: 12px;
                padding: 12px 20px;
                color: var(--gray-600);
                text-decoration: none;
                transition: all 0.2s ease;
                border: none;
                background: none;
                width: 100%;
                text-align: left;
                cursor: pointer;
                font-size: 14px;
                font-weight: 500;
            }

            .profile-dropdown-item:hover {
                background: var(--gray-50);
                color: var(--primary);
                text-decoration: none;
            }

            .profile-dropdown-item.danger {
                color: var(--danger);
            }

            .profile-dropdown-item.danger:hover {
                background: rgba(239, 68, 68, 0.1);
                color: var(--danger);
            }

            .profile-dropdown-item i {
                width: 16px;
                height: 16px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
            }

            .profile-dropdown-divider {
                height: 1px;
                background: var(--gray-200);
                margin: 8px 0;
            }

            /* Dashboard Body */

            .dashboard-body {
                padding: 35px;
            }

            .welcome-card {
                background: #653695e0;
                border-radius: 20px;
                padding: 40px;
                color: white;
                margin-bottom: 35px;
                position: relative;
                overflow: hidden;
            }

            .welcome-card::before {
                content: '';
                position: absolute;
                top: -30%;
                right: -15%;
                width: 200px;
                height: 200px;
                border-radius: 50%;
            }

            .welcome-content {
                position: relative;
                z-index: 2;
            }

            .welcome-card-title {
                font-size: 32px;
                font-weight: 800;
                margin-bottom: 10px;
            }

            .welcome-card-subtitle {
                font-size: 16px;
                opacity: 0.9;
                line-height: 1.5;
            }

            .stats-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 25px;
                margin-bottom: 35px;
            }

            .stat-card {
                background: var(--white);
                border-radius: 15px;
                padding: 25px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
                border: 1px solid var(--gray-200);
                transition: all 0.3s ease;
                overflow: hidden;
            }

            .stat-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            }

            .stat-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 15px;
            }

            .stat-icon {
                width: 50px;
                height: 50px;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 20px;
                color: white;
            }

            .stat-number {
                font-size: 24px;
                font-weight: 800;
                color: #fff;
                margin-bottom: 5px;
            }

            .stat-label {
                color: #fff;
                font-size: 13px;
                font-weight: 500;
            }

            .quick-actions {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 20px;
            }

            .action-card {
                background: var(--white);
                border-radius: 15px;
                padding: 20px;
                text-align: center;
                border: 2px solid var(--gray-200);
                transition: all 0.3s ease;
                cursor: pointer;
                text-decoration: none;
                color: inherit;
            }

            .action-card:hover {
                border-color: var(--primary);
                transform: translateY(-3px);
                color: inherit;
                text-decoration: none;
            }

            .action-icon {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                background: var(--primary);
                color: white;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 24px;
                margin: 0 auto 15px;
            }

            .action-title {
                font-weight: 600;
                margin-bottom: 5px;
                color: var(--gray-800);
            }

            .action-subtitle {
                font-size: 12px;
                color: var(--gray-500);
            }

            /* Sidebar Overlay */

            .sidebar-overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                z-index: 999;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
            }

            .sidebar-overlay.show {
                opacity: 1;
                visibility: visible;
            }

            @keyframes pulse {
                0% {
                    transform: scale(1);
                }

                50% {
                    transform: scale(1.05);
                }

                100% {
                    transform: scale(1);
                }
            }

            /* Responsive Design */

            @media (max-width: 1200px) {
                .search-container {
                    min-width: 180px;
                    max-width: 250px;
                }

                .welcome-title {
                    font-size: 22px;
                }

                .header-icons .header-icon:nth-child(n+3) {
                    display: none;
                }
            }

            @media (max-width: 992px) {
                :root {
                    --sidebar-width: 0px;
                }

                .mobile-toggle {
                    display: block !important;
                }

                .forest-sidebar-wrapper {
                    transform: translateX(-100%);
                    width: 260px;
                    position: fixed;
                    z-index: 1000;
                }

                .forest-sidebar-wrapper.show {
                    transform: translateX(0);
                }

                .main-content {
                    margin-left: 0;
                    width: 100%;
                }

                .content-header {
                    padding: 15px 20px;
                }

                .header-content {
                    gap: 10px;
                }

                .header-left {
                    gap: 15px;
                    min-width: 0;
                    flex: 1;
                }

                .search-container {
                    min-width: 150px;
                    max-width: 200px;
                    order: 3;
                    flex: 1;
                }

                .welcome-section {
                    order: 2;
                    min-width: 150px;
                }

                .welcome-title {
                    font-size: 20px;
                }

                .welcome-subtitle {
                    font-size: 13px;
                }

                .header-icons .header-icon:nth-child(n+2) {
                    display: none;
                }

                .year-dropdown {
                    min-width: 100px;
                    font-size: 12px;
                    padding: 6px 10px;
                }

                .view-all-btn {
                    padding: 6px 12px;
                    font-size: 12px;
                }

                .dashboard-body {
                    padding: 20px 15px;
                }

                .welcome-card {
                    padding: 25px;
                }

                .welcome-card-title {
                    font-size: 24px;
                }

                .stats-grid {
                    grid-template-columns: 1fr;
                    gap: 15px;
                }
            }

            @media (max-width: 768px) {
                .content-header {
                    padding: 12px 15px;
                }

                .header-content {
                    /* flex-direction: column; */
                    align-items: stretch;
                    gap: 15px;
                }

                .header-left {
                    order: 1;
                    justify-content: space-between;
                }

                .welcome-section {
                    order: 1;
                    min-width: 0;
                    flex: 1;
                }

                .header-right {
                    order: 2;
                    justify-content: space-between;
                    flex-wrap: nowrap;
                }

                .search-container {
                    order: 1;
                    flex: 1;
                    min-width: 0;
                    max-width: none;
                    margin-right: 15px;
                }

                .header-actions {
                    order: 2;
                    gap: 8px;
                    flex-shrink: 0;
                }

                .welcome-title {
                    font-size: 18px;
                }

                .welcome-subtitle {
                    font-size: 12px;
                }

                .year-dropdown .dropdown-text {
                    display: none;
                }

                .year-dropdown {
                    min-width: auto;
                    width: 36px;
                    height: 36px;
                    padding: 0;
                    justify-content: center;
                }

                .view-all-btn .btn-text {
                    display: none;
                }

                .view-all-btn {
                    width: 36px;
                    height: 36px;
                    padding: 0;
                    justify-content: center;
                }

                .dashboard-body {
                    padding: 15px 10px;
                }

                .welcome-card {
                    padding: 20px;
                }

                .welcome-card-title {
                    font-size: 20px;
                }

                .welcome-card-subtitle {
                    font-size: 14px;
                }
            }

            @media (max-width: 576px) {
                .content-header {
                    padding: 10px 12px;
                }

                .header-content {
                    gap: 12px;
                }

                .search-container {
                    margin-right: 10px;
                }

                .search-input {
                    padding: 8px 12px 8px 32px;
                    font-size: 12px;
                }

                .welcome-title {
                    font-size: 15px !important;
                }

                .welcome-subtitle {
                    font-size: 11px;
                }

                .header-actions {
                    gap: 6px;
                }

                .year-dropdown,
                .view-all-btn,
                .header-icon {
                    width: 32px;
                    height: 32px;
                }

                .profile-avatar-sm {
                    width: 28px;
                    height: 28px;
                    font-size: 11px;
                }

                .dashboard-body {
                    padding: 12px 8px;
                }

                .welcome-card {
                    padding: 15px;
                }

                .welcome-card-title {
                    font-size: 18px;
                }

                .welcome-card-subtitle {
                    font-size: 13px;
                }

                .quick-actions {
                    grid-template-columns: 1fr;
                }
            }

            @media (max-width: 480px) {
                .content-header {
                    padding: 8px 10px;
                }

                .search-input {
                    padding: 6px 10px 6px 28px;
                    font-size: 11px;
                }

                .search-icon {
                    left: 10px;
                    font-size: 12px;
                }

                .welcome-title {
                    font-size: 14px;
                }

                .welcome-subtitle {
                    font-size: 10px;
                }

                .year-dropdown,
                .view-all-btn,
                .header-icon {
                    width: 28px;
                    height: 28px;
                }

                .profile-avatar-sm {
                    width: 24px;
                    height: 24px;
                    font-size: 10px;
                }

                .header-icons {
                    display: none;
                }
            }

            /* ========================================
   NESTED DROPDOWN - EXTENDING EXISTING CLASSES
   ======================================== */
            /* Additional classes for nested dropdown functionality */
            /* These work with your existing .forest-dropdown-submenu-item structure */
            /* Container for nested dropdown items */

            .forest-dropdown-submenu-item.forest-nested-dropdown {
                position: relative;
            }

            /* Modify existing submenu link to work as nested trigger */

            .forest-dropdown-submenu-link.forest-nested-trigger {
                display: flex !important;
                align-items: center;
                justify-content: space-between;
                cursor: pointer;
                /* Keeps all your existing padding and styling */
            }

            /* Arrow for nested dropdown (works with your existing structure) */

            .forest-nested-arrow {
                margin-left: auto;
                transition: transform 0.3s ease;
                color: var(--gray-400);
                font-size: 10px;
                padding: 4px;
                flex-shrink: 0;
            }

            .forest-nested-arrow.forest-arrow-rotated {
                transform: rotate(90deg);
                color: var(--dark-green);
            }

            /* Nested submenu container (level 2) */

            .forest-nested-submenu {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease;
                margin-left: 55px;
                border-radius: 0 6px 6px 0;
            }

            .forest-nested-submenu.forest-nested-expanded {
                max-height: 570px;
            }

            /* Nested menu items (level 2) */

            .forest-nested-item {
                margin-bottom: 1px;
                transition: all 0.2s ease;
            }

            .forest-nested-item:hover {
                background: rgba(0, 0, 0, 0.02);
            }

            /* Nested menu links (level 2) */

            .forest-nested-link {
                display: flex;
                align-items: center;
                padding: 8px 15px 8px 25px;
                color: var(--gray-600);
                text-decoration: none;
                font-weight: 500;
                font-size: 12px;
                transition: all 0.3s ease;
                position: relative;
                border-radius: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                gap: 8px;
                white-space: normal !important;
            }

            .forest-nested-link:hover {
                background: var(--gray-100);
                color: var(--dark-green);
                text-decoration: none;
                padding-left: 30px;
            }

            /* .forest-nested-link:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 70%;
        background: var(--dark-green);
        transition: width 0.3s ease;
        border-radius: 0 2px 2px 0;
    } */

            .forest-nested-link:hover:before {
                width: 3px;
            }

            /* Icon for nested items */
            /* .forest-nested-icon {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gray-400);
        flex-shrink: 0;
        transition: all 0.3s ease;
    } */
            /* .forest-nested-link:hover .forest-nested-icon {
        background: var(--dark-green);
        transform: scale(1.2);
    } */
            /* Active state for nested links */

            .forest-nested-link.forest-nav-active {
                /* background: rgba(51, 105, 30, 0.12); */
                color: var(--dark-green);
                font-weight: 600;
                padding-left: 28px;
            }

            /* .forest-nested-link.forest-nav-active .forest-nested-icon {
        background: var(--dark-green);
    } */

            .forest-nested-link.forest-nav-active:before {
                width: 3px;
            }

            .forest-nested-link.forest-nav-active:hover {
                padding-left: 28px;
            }

            /* Badge for nested items (optional) */

            .forest-nested-badge {
                margin-left: auto;
                background: var(--gray-400);
                color: white;
                font-size: 7px;
                padding: 1px 4px;
                border-radius: 6px;
                font-weight: 600;
                min-width: 12px;
                text-align: center;
                flex-shrink: 0;
            }

            /* Animation for nested items when expanding */

            .forest-nested-submenu.forest-nested-expanded .forest-nested-item {
                animation: slideInFade 0.3s ease forwards;
            }

            .forest-nested-item:nth-child(1) {
                animation-delay: 0.05s;
            }

            .forest-nested-item:nth-child(2) {
                animation-delay: 0.1s;
            }

            .forest-nested-item:nth-child(3) {
                animation-delay: 0.15s;
            }

            .forest-nested-item:nth-child(4) {
                animation-delay: 0.2s;
            }

            .forest-nested-item:nth-child(5) {
                animation-delay: 0.25s;
            }

            @keyframes slideInFade {
                from {
                    opacity: 0;
                    transform: translateX(-10px);
                }

                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }

            /* Loading state */

            .forest-nested-loading {
                opacity: 0.6;
                pointer-events: none;
            }

            .forest-nested-loading .forest-nested-arrow {
                animation: spinArrow 1s linear infinite;
            }

            @keyframes spinArrow {
                from {
                    transform: rotate(0deg);
                }

                to {
                    transform: rotate(360deg);
                }
            }

            /* Responsive adjustments for nested dropdown */

            @media (max-width: 992px) {
                .forest-nested-submenu {
                    margin-left: 20px;
                }

                .forest-nested-link {
                    padding: 7px 12px 7px 20px;
                    font-size: 10px;
                }

                .forest-nested-link:hover {
                    padding-left: 25px;
                }
            }

            @media (max-width: 768px) {
                .forest-nested-submenu {
                    margin-left: 15px;
                }

                .forest-nested-link {
                    padding: 6px 10px 6px 18px;
                    font-size: 10px;
                }

                .forest-nested-link:hover {
                    padding-left: 22px;
                }
            }

            /* ---------------- Sidebar style end  -------------  */

            .action-buttons {
                display: flex !important;
                gap: 8px;
                /* flex-wrap: wrap; */
            }

            .btn-outline {
                background: var(--white) !important;
                color: var(--gray-600) !important;
                border: 1px solid var(--gray-300) !important;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
            }

            .btn-outline:hover {
                background: var(--gray-50) !important;
                color: var(--gray-800) !important;
                border-color: var(--gray-400) !important;
            }

            .btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 12px !important;
                font-weight: 600 !important;
                border: none;
                border-radius: 5px !important;
                padding: 10px 20px !important;
                cursor: pointer;
                transition: all 0.15s ease;
                text-decoration: none;
                gap: 4px;
                white-space: nowrap;
            }

            .fw-400 {
                font-weight: 400;
            }

            .fw-500 {
                font-weight: 500 !important;
            }

            .fw-600 {
                font-weight: 600 !important;
            }

            .fw-700 {
                font-weight: 700;
            }

            .fw-800 {
                font-weight: 800 !important;
            }

            .fw-900 {
                font-weight: 900;
            }

            /* Document Header */

            .document-header {
                background: var(--white);
                border-radius: 10px;
                overflow: hidden;
                box-shadow: var(--shadow-lg);
                border: 1px solid var(--gray-200);
                /* margin-bottom: var(--spacing-lg); */
            }

            .document-banner {
                background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                color: white;
                padding: 10px 32px;
                position: relative;
                overflow: hidden;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .document-banner-content {
                position: relative;
                z-index: 2;
            }

            .document-title {
                font-size: clamp(18px, 3.5vw, 24px);
                font-weight: 700;
                margin-bottom: var(--spacing-sm);
                letter-spacing: -0.025em;
            }

            .document-subtitle {
                font-size: clamp(13px, 2vw, 14px);
                opacity: 0.9;
                margin-bottom: var(--spacing-md);
            }

            .document-meta {
                display: flex;
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: var(--spacing-sm);
                margin-top: var(--spacing-md);
            }

            a {
                text-decoration: none !important;
            }

            .view-btn {
                background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
                color: white;
                border: none;
                border-radius: var(--border-radius);
                padding: 10px 20px;
                font-weight: 600;
                font-size: 13px;
                cursor: pointer;
                transition: all 0.3s ease;
                display: inline-flex;
                align-items: center;
                gap: var(--spacing-sm);
                /* min-width: 100px; */
                justify-content: center;
            }

            .view-btn:hover {
                background: linear-gradient(135deg, var(--primary-dark) 0%, #653695e0 100%);
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
            }

            .view-btn:active {
                transform: translateY(0);
            }

            /* ------------ scroll bar start -------- */

            ::-webkit-scrollbar {
                width: 6px;
            }

            ::-webkit-scrollbar-track {
                background: var(--neutral-100);
            }

            ::-webkit-scrollbar-thumb {
                background: var(--neutral-300);
                border-radius: 3px;
            }

            ::-webkit-scrollbar-thumb:hover {
                background: var(--accent-green);
            }

            /* ------------ scroll bar end -------- */

            .legal-hero-section {
                background: linear-gradient(135deg, #653695e0 0%, var(--primary-dark) 100%);
                border-radius: 16px;
                padding: 1.5rem;
                margin-bottom: 1.5rem;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
                border: 1px solid var(--legal-border-light);
            }

            .legal-case-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 1rem;
            }

            .legal-case-info {
                flex: 1;
                min-width: 0;
            }

            .legal-case-number {
                font-size: 1.875rem;
                font-weight: 700;
                /* background: var(--legal-gradient-primary); */
                /* -webkit-background-clip: text; */
                /* -webkit-text-fill-color: transparent; */
                /* background-clip: text; */
                margin-bottom: 0.25rem;
                line-height: 1.2;
                color: #fff;
            }

            .legal-case-title {
                font-size: 14px;
                font-weight: 600;
                color: var(--white);
                margin-bottom: 19px;
                line-height: 1.4;
            }

            .legal-case-meta {
                display: flex;
                gap: 1.5rem;
                flex-wrap: wrap;
            }

            .legal-meta-item {
                display: flex;
                align-items: center;
                gap: 0.375rem;
                font-size: 0.75rem;
                color: var(--white);
            }

            .legal-meta-icon {
                color: var(--legal-white);
                font-size: 0.875rem;
            }

            /* Status and Actions */

            .legal-status-actions {
                display: flex;
                flex-direction: column;
                gap: 0.75rem;
                align-items: flex-end;
            }

            .legal-status-section {
                display: flex;
                gap: 0.5rem;
                flex-wrap: wrap;
            }

            .legal-status-pill {
                padding: 0.375rem 0.75rem;
                border-radius: 20px;
                font-weight: 600;
                font-size: 0.75rem;
                display: flex;
                align-items: center;
                gap: 0.25rem;
                border: 1px solid;
            }

            .legal-status-active {
                background: rgba(34, 197, 94, 0.1);
                color: var(--legal-success);
                border-color: rgba(34, 197, 94, 0.3);
            }

            .legal-status-priority {
                background: rgba(239, 68, 68, 0.1);
                color: var(--legal-danger);
                border-color: rgba(239, 68, 68, 0.3);
            }

            .legal-status-court {
                background: rgba(59, 130, 246, 0.1);
                color: var(--legal-info);
                border-color: rgba(59, 130, 246, 0.3);
            }

            .legal-action-buttons {
                display: flex;
                gap: 0.5rem;
                flex-wrap: wrap;
            }

            .legal-action-btn {
                padding: 0.5rem 1rem;
                border: none;
                border-radius: 8px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.2s ease;
                display: flex;
                align-items: center;
                gap: 0.375rem;
                font-size: 0.75rem;
                white-space: nowrap;
            }

            .legal-btn-primary {
                background: var(--legal-gradient-primary);
                color: var(--legal-white);
            }

            .legal-btn-outline {
                background: var(--legal-white);
                color: var(--legal-text-secondary);
                border: 1px solid var(--legal-border-light);
            }

            .legal-action-btn:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            }

            /* ---------- Table Style Start ---------- */
            /* Reports Table Section - Simple Design */

            .table>thead {
                vertical-align: middle !important;
            }

            .reports-section {
                margin-top: var(--spacing-xl);
                margin-bottom: var(--spacing-xl);
            }

            .reports-header {
                text-align: center;
                margin-bottom: var(--spacing-xl);
            }

            .reports-title {
                font-size: clamp(20px, 3vw, 24px);
                font-weight: 800;
                color: var(--gray-900);
                margin-bottom: var(--spacing-sm);
                display: flex;
                align-items: center;
                justify-content: center;
                gap: var(--spacing-sm);
            }

            .reports-subtitle {
                color: var(--gray-600);
                font-size: 16px;
                margin: 0;
            }

            .table-container {
                background: var(--white);
                border-radius: var(--border-radius-lg);
                box-shadow: var(--shadow);
                border: 1px solid var(--gray-200);
                overflow: hidden;
            }

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

            .reports-table {
                width: 100%;
                border-collapse: collapse;
                font-size: 14px;
            }

            .reports-table thead {
                background: linear-gradient(135deg, #475569 0%, #334155 100%);
                ;
                color: white;
            }

            .reports-table th {
                padding: var(--spacing-md);
                font-weight: 700;
                text-align: center;
                font-size: 12px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                border: none;
            }

            .col-sno {
                width: 100px;
                text-align: center;
            }

            .col-action {
                width: 150px;
                text-align: center;
            }

            .col-report {
                width: auto;
            }

            .table-row {
                transition: all 0.3s ease;
                /* border-bottom: 1px solid var(--gray-200); */
            }

            .table-row:hover {
                background: var(--gray-50);
            }

            .table-row:last-child {
                border-bottom: none;
            }

            .reports-table td {
                padding: var(--spacing-md);
                /* border: none; */
                vertical-align: middle;
            }

            .sno-cell {
                text-align: center;
                font-weight: 500;
                color: var(--gray-700);
                font-size: 14px;
                border-bottom: 1px solid var(--gray-200);
            }

            .report-cell {
                padding-right: var(--spacing-xl);
            }

            .report-name {
                font-weight: 600;
                color: var(--gray-900);
                font-size: 15px;
                line-height: 1.5;
            }

            .action-cell {
                text-align: center;
            }

            /* ----------- Table Style End ---------- */

            .table>:not(caption)>*>* {
                background-color: transparent !important;
            }

            .active>.page-link,
            .page-link.active {
                background: #0f172a !important;
                border-color: #0f172a !important;
                color: #fff !important;
            }

            .pagination {
                margin-right: 10px !important;
            }

            .dataTables_info {
                padding-top: 0px !important;
            }

            .dataTables_paginate {
                margin: 1rem !important;
            }

            select.form-control:not(.select2-hidden-accessible) {
                cursor: pointer !important;
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e") !important;
                background-repeat: no-repeat !important;
                background-position: right 12px center !important;
                background-size: 16px !important;
                padding-right: 30px !important;
                margin-left: 4px !important;
                padding: 5px 16px !important;
            }

            div.dataTables_wrapper div.dataTables_length select {
                width: 65px !important;
                display: inline-block;
            }

            /* DataTable Custom Styles */

            #legalCasesTable {
                width: 100% !important;
            }

            thead {
                background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
            }

            #legalCasesTable thead th {
                /* background: linear-gradient(135deg, #475569 0%, #334155 100%); */
                color: white !important;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                font-size: 13px !important;
                border: none !important;
                padding: 1rem 0.75rem;
            }

            thead th {
                /* background: linear-gradient(135deg, #475569 0%, #334155 100%); */
                color: white !important;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                font-size: 13px !important;
                border: none !important;
                padding: 1rem 0.75rem;
            }

            #legalCasesTable tbody td {
                padding: 1rem 0.75rem;
                vertical-align: middle;
                border-bottom: 1px solid #e5e7eb;
            }

            #legalCasesTable tbody tr:hover {
                background-color: #f9fafb !important;
                /* transform: translateX(2px); */
                box-shadow: 2px 0 0 var(--primary);
            }

            /* Case specific styles */

            .case-number {
                font-weight: 700;
                color: var(--primary);
                /* font-family: 'Courier New', monospace; */
            }

            .case-status {
                padding: 0.4rem 0.8rem;
                border-radius: 20px;
                font-size: 0.7rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                display: inline-flex;
                align-items: center;
                gap: 4px;
                white-space: nowrap;
            }

            .case-status.pending {
                background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
                color: white;
            }

            .case-status.active {
                background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
                color: white;
            }

            .case-status.completed {
                background: linear-gradient(135deg, #10b981 0%, #059669 100%);
                color: white;
            }

            .case-status.closed {
                background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
                color: white;
            }

            .type-badge {
                padding: 0.3rem 0.6rem;
                border-radius: 15px;
                font-size: 0.7rem;
                font-weight: 600;
                display: inline-block;
                white-space: nowrap;
            }

            .type-service-tax {
                background: rgba(59, 130, 246, 0.1);
                color: var(--info);
            }

            .type-employment {
                background: rgba(139, 92, 246, 0.1);
                color: var(--legal-purple);
            }

            .type-property-tax {
                background: rgba(34, 197, 94, 0.1);
                color: var(--success);
            }

            .type-civil {
                background: rgba(245, 158, 11, 0.1);
                color: var(--warning);
            }

            .type-income-tax {
                background: rgba(239, 68, 68, 0.1);
                color: var(--danger);
            }

            .lawyer-name {
                font-weight: 600;
                color: var(--text-primary);
            }

            .next-hearing {
                font-weight: 500;
            }

            .next-hearing.urgent {
                color: var(--danger);
                font-weight: 700;
            }

            .next-hearing.disposed {
                color: #6b7280;
                font-style: italic;
            }

            /* Action Buttons */

            .table-actions {
                display: flex;
                gap: 0.25rem;
                flex-wrap: wrap;
            }

            .table-action-btn {
                width: 28px;
                height: 28px;
                border: 1px solid #d1d5db;
                background: white;
                border-radius: var(--border-radius);
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.3s ease;
                font-size: 0.7rem;
                position: relative;
                text-decoration: none;
            }

            .table-action-btn:hover {
                transform: translateY(-1px);
            }

            .table-action-btn.view {
                color: var(--info);
                border-color: var(--info);
            }

            .table-action-btn.view:hover {
                background: var(--info);
                color: white;
            }

            .table-action-btn.edit {
                color: var(--warning);
                border-color: var(--warning);
            }

            .table-action-btn.edit:hover {
                background: var(--warning);
                color: white;
            }

            .table-action-btn.delete {
                color: var(--danger);
                border-color: var(--danger);
            }

            .table-action-btn.delete:hover {
                background: var(--danger);
                color: white;
            }

            .table-action-btn.document {
                color: var(--primary);
                border-color: var(--primary);
            }

            .table-action-btn.document:hover {
                background: var(--primary);
                color: white;
            }

            .table-action-btn.status {
                color: var(--legal-purple);
                border-color: var(--legal-purple);
            }

            .table-action-btn.status:hover {
                background: var(--legal-purple);
                color: white;
            }

            .table-action-btn.remark {
                color: var(--emerald);
                border-color: var(--emerald);
            }

            .table-action-btn.remark:hover {
                background: var(--emerald);
                color: white;
            }

            .table-action-btn.update {
                color: var(--secondary);
                border-color: var(--secondary);
            }

            .table-action-btn.update:hover {
                background: var(--secondary);
                color: white;
            }

            .table-action-btn.affidavit {
                color: var(--success);
                border-color: var(--success);
            }

            .table-action-btn.affidavit:hover {
                background: var(--success);
                color: white;
            }

            /* Toggle Switch */

            .toggle-item {
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .toggle-input {
                display: none;
            }

            .toggle-label {
                position: relative;
                display: inline-block;
                width: 40px;
                height: 20px;
                cursor: pointer;
            }

            .toggle-slider {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: #d1d5db;
                transition: 0.3s;
                border-radius: 20px;
            }

            .toggle-slider:before {
                position: absolute;
                content: "";
                height: 16px;
                width: 16px;
                left: 2px;
                top: 2px;
                background-color: white;
                transition: 0.3s;
                border-radius: 50%;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            }

            .toggle-input:checked+.toggle-label .toggle-slider {
                background-color: var(--primary);
            }

            .toggle-input:checked+.toggle-label .toggle-slider:before {
                transform: translateX(20px);
            }

            /* DataTables Custom Styles */

            .dataTables_wrapper .dataTables_length,
            .dataTables_wrapper .dataTables_filter,
            .dataTables_wrapper .dataTables_info,
            .dataTables_wrapper .dataTables_paginate {
                margin: 1rem;
                margin-top: 0px;
            }

            .dataTables_wrapper .dataTables_filter input {
                border: 2px solid #e5e7eb;
                border-radius: var(--border-radius);
                padding: 0.5rem;
                margin-left: 0.5rem;
            }

            .dataTables_wrapper .dataTables_paginate .paginate_button {
                border-radius: var(--border-radius) !important;
                margin: 0 2px;
            }

            .dataTables_wrapper .dataTables_paginate .paginate_button.current {
                background: var(--primary) !important;
                border-color: var(--primary) !important;
            }

            /* Tooltip */

            .tooltip-custom {
                position: absolute;
                bottom: 130%;
                left: 50%;
                transform: translateX(-50%);
                background: rgba(0, 0, 0, 0.9);
                color: white;
                padding: 0.3rem 0.6rem;
                border-radius: var(--border-radius);
                font-size: 0.6rem;
                white-space: nowrap;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease;
                z-index: 1000;
            }

            .table-action-btn:hover .tooltip-custom {
                opacity: 1;
            }

            /* Tooltip styling */
            .tooltip-box {
                position: absolute;
                background-color: #333;
                color: #fff;
                padding: 6px 10px;
                border-radius: 4px;
                font-size: 11px;
                white-space: nowrap;
                z-index: 9999;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.2s;
            }

            .tooltip-box::after {
                content: "";
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border: 4px solid transparent;
                border-top-color: rgba(0, 0, 0, 0.8);
            }

            /* Responsive */

            @media (max-width: 768px) {
                .header-stats {
                    justify-content: center;
                }

                .stat-item {
                    min-width: 100px;
                }

                .table-actions {
                    flex-direction: column;
                    max-width: 30px;
                }
            }

            table.dataTable thead .sorting:before,
            table.dataTable thead .sorting_asc:before,
            table.dataTable thead .sorting_desc:before,
            table.dataTable thead .sorting_asc_disabled:before,
            table.dataTable thead .sorting_desc_disabled:before {
                /* right: 17px !important; */
                content: "\2191";
                bottom: 26px !important;
                font-size: 10px !important;
            }

            table.dataTable thead .sorting:after,
            table.dataTable thead .sorting_asc:after,
            table.dataTable thead .sorting_desc:after,
            table.dataTable thead .sorting_asc_disabled:after,
            table.dataTable thead .sorting_desc_disabled:after {
                right: 0.5em;
                content: "\2193";
                font-size: 10px !important;
                /* bottom: 26px !important; */
            }

            table.dataTable thead .sorting:before,
            table.dataTable thead .sorting:after,
            table.dataTable thead .sorting_asc:before,
            table.dataTable thead .sorting_asc:after,
            table.dataTable thead .sorting_desc:before,
            table.dataTable thead .sorting_desc:after,
            table.dataTable thead .sorting_asc_disabled:before,
            table.dataTable thead .sorting_asc_disabled:after,
            table.dataTable thead .sorting_desc_disabled:before,
            table.dataTable thead .sorting_desc_disabled:after {
                position: absolute;
                bottom: 0.9em !important;
                display: block;
                opacity: 0.3;
            }

            .dataTables_info {
                font-size: 12px !important;
            }

            .page-link {
                font-size: 12px !important;
            }

            .sidebar-card {
                background: var(--white);
                border-radius: var(--border-radius-lg);
                box-shadow: var(--shadow);
                border: 1px solid var(--gray-200);
                overflow: hidden;
            }

            .sidebar-header {
                background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
                color: white;
                padding: var(--spacing-md) var(--spacing-lg);
                font-weight: 700;
                font-size: 14px;
                display: flex;
                align-items: center;
                gap: var(--spacing-sm);
            }

            .sidebar-content {
                padding: var(--spacing-lg);
                gap: 10px;
                display: flex;
                flex-direction: column;
            }

            .info-item {
                background: var(--gray-50);
                padding: var(--spacing-md);
                border-radius: var(--border-radius);
                border: 1px solid var(--gray-200);
                transition: all 0.2s ease;
            }

            .info-item:hover {
                background: var(--white);
                box-shadow: var(--shadow-sm);
            }

            /* ========================================
           CUSTOM MULTI-SELECT COMPONENT
        ======================================== */

            .custom-multiselect {
                position: relative;
                width: 100%;
            }

            .multiselect-container {
                border: 1px solid var(--gray-300);
                border-radius: 8px;
                background: var(--white);
                min-height: 46px;
                padding: 4px 8px;
                cursor: text;
                transition: all 0.3s ease;
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
                align-items: center;
                position: relative;
            }

            .multiselect-container:focus-within {
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
            }

            .multiselect-container.open {
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
            }

            /* Dropdown Symbol */

            .dropdown-symbol {
                position: absolute;
                right: 12px;
                top: 50%;
                transform: translateY(-50%);
                color: var(--gray-500);
                font-size: 14px;
                transition: all 0.3s ease;
                pointer-events: none;
                z-index: 1;
            }

            .multiselect-container.open .dropdown-symbol {
                transform: translateY(-50%) rotate(180deg);
                color: var(--primary);
            }

            .multiselect-container:hover .dropdown-symbol {
                color: var(--primary);
            }

            /* Selected Tags */

            .selected-tag {
                background-color: var(--primary);
                color: white;
                padding: 6px 10px;
                border-radius: 6px;
                font-size: 12px;
                font-weight: 500;
                display: flex;
                align-items: center;
                gap: 6px;
            }

            .remove-tag {
                cursor: pointer;
                font-weight: bold;
                width: 16px;
                height: 16px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.2s ease;
            }

            .remove-tag:hover {
                background-color: rgba(255, 255, 255, 0.2);
                transform: scale(1.1);
            }

            /* Search Input */

            .search-input {
                border: none;
                outline: none;
                background: transparent;
                flex: 1;
                min-width: 150px;
                padding: 8px 4px;
                padding-right: 30px;
                /* Add space for dropdown symbol */
                font-size: 14px;
                font-family: 'Inter', sans-serif;
                color: var(--text-dark);
            }

            .search-input::placeholder {
                color: var(--gray-400);
            }

            /* Dropdown */

            .multiselect-dropdown {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--white);
                border: 1px solid var(--gray-300);
                border-radius: 8px;
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
                z-index: 1000;
                max-height: 300px;
                overflow-y: auto;
                display: none;
            }

            .multiselect-dropdown.show {
                display: block;
            }

            /* Search Box in Dropdown */

            .dropdown-search {
                padding: 15px;
                border-bottom: 1px solid var(--gray-200);
                background: var(--gray-50);
            }

            .dropdown-search-input {
                width: 100%;
                padding: 10px 15px;
                border: 2px solid var(--gray-300);
                border-radius: 8px;
                font-size: 14px;
                font-family: 'Inter', sans-serif;
                background: var(--white);
                transition: all 0.3s ease;
            }

            .dropdown-search-input:focus {
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
                outline: none;
            }

            /* Options */

            .option-item {
                padding: 12px 16px;
                cursor: pointer;
                transition: all 0.2s ease;
                font-size: 14px;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            .option-item:hover {
                background-color: var(--primary);
                /* color: white; */
            }

            .option-item.selected {
                background-color: var(--gray-100);
                color: var(--text-dark);
            }

            .option-item.selected::after {
                content: '✓';
                color: var(--primary);
                font-weight: bold;
                font-size: 16px;
            }

            .option-item.selected:hover {
                background-color: var(--primary);
                /* color: white; */
            }

            .option-item.selected:hover::after {
                color: white;
            }

            .no-results {
                padding: 20px;
                text-align: center;
                color: var(--gray-500);
                font-style: italic;
            }

            .multiselect-dropdown {
                animation: slideDown 0.2s ease-out;
            }

            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-10px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            /* Demo buttons */

            .demo-buttons {
                margin-top: 30px;
                text-align: center;
            }

            @media (max-width: 768px) {
                .demo-section {
                    padding: 20px;
                }

                .multiselect-container {
                    min-height: 50px;
                }

                .search-input {
                    font-size: 16px;
                    /* Prevent zoom on iOS */
                }

                .dropdown-search-input {
                    font-size: 16px;
                    /* Prevent zoom on iOS */
                }
            }

            /* ------------ rti style start ------------ */

            .form-card {
                background: var(--white);
                border-radius: 15px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                overflow: hidden;
                border: 1px solid var(--border-light);
            }

            .form-header {
                background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                color: var(--white);
                padding: 20px 40px;
                text-align: start;
                position: relative;
                overflow: hidden;
            }

            .form-header-content {
                position: relative;
                z-index: 2;
            }

            .form-title {
                font-size: 25px;
                font-weight: 700;
                margin-bottom: 0px;
                letter-spacing: -0.5px;
                display: flex;
                align-items: center;
                justify-content: start;
                gap: 10px;
            }

            .form-subtitle {
                font-size: 16px;
                opacity: 0.95;
                font-weight: 400;
                margin-bottom: 0;
            }

            .form-body {
                padding: 30px !important;
            }

            .content-title {
                font-size: 21px;
                font-weight: 700;
                margin-bottom: 0px !important;
                color: #653695e0;
                /* border-bottom: 3px solid var(--primary); */
                display: inline-block;
            }

            .content-title-table {
                font-size: 24px;
                font-weight: 700;
                margin-bottom: 0px !important;
                color: #653695;
                /* border-bottom: 3px solid var(--primary); */
                display: inline-block;
            }

            .content-subtitle {
                color: var(--gray-500);
                font-size: 14px;
                font-weight: 500;
                margin-bottom: 30px;
            }

            /* ------------ rti style end ------------ */
            /* ----------- Placeholder style start ------------ */
            /* ----------- Placeholder style end ------------ */

            .info-item:hover {
                background: var(--white);
                box-shadow: var(--shadow-sm);
            }

            .text-danger {
                color: red;
            }

            .text-success {
                color: green;
            }

            .password-popover {
                position: absolute;
                top: 0;
                left: 100%;
                margin-left: 10px;
                min-width: 200px;
                border: 1px solid #ccc;
                padding: 10px;
                background-color: #fff;
                border-radius: 4px;
                font-size: 14px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                z-index: 1000;
            }

            .error-message {
                font-size: 13px;
                margin-top: 4px;
                display: block;
            }

            .section {
                margin-bottom: 50px;
            }

            .form-grid {
                display: grid !important;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
                gap: 24px !important;
                margin-bottom: 24px !important;
                /* align-items: end; */
            }

            .form-label {
                display: block !important;
                margin-bottom: 8px !important;
                font-weight: 600 !important;
                color: var(--text-dark) !important;
                font-size: 14px !important;
            }

            .form-label.required::after {
                content: '*' !important;
                color: var(--danger) !important;
                margin-left: 4px !important;
            }

            .form-text {
                font-size: 12px !important;
                color: var(--gray-500) !important;
                margin-top: 6px !important;
            }

            .form-control {
                width: 100% !important;
                padding: 7px 16px !important;
                border: 1px solid var(--gray-300) !important;
                border-radius: 8px !important;
                background: var(--white) !important;
                font-size: 14px !important;
                transition: all 0.3s ease !important;
                font-family: 'Inter', sans-serif !important;
            }

            /* Remove number input spinner buttons */

            .form-control[type="number"]::-webkit-outer-spin-button,
            .form-control[type="number"]::-webkit-inner-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }

            .form-control[type="number"] {
                -moz-appearance: textfield;
            }

            .form-control:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
                background: var(--white);
            }

            .form-control:disabled {
                background: var(--gray-100);
                color: var(--gray-500);
                cursor: not-allowed;
            }

            .form-textarea {
                min-height: 100px;
                resize: vertical;
            }

            select.form-control {
                cursor: pointer;
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
                background-repeat: no-repeat;
                background-position: right 12px center;
                background-size: 16px;
                padding-right: 40px;
            }

            @media (max-width: 768px) {
                .form-header {
                    padding: 25px 20px;
                }

                .form-title {
                    font-size: 24px;
                    flex-direction: column;
                    gap: 8px;
                }

                .form-subtitle {
                    font-size: 14px;
                }

                .form-body {
                    padding: 30px 20px;
                }

                .content-title {
                    font-size: 20px;
                }

                .content-title-table {
                    font-size: 20px;
                }

                .form-grid {
                    grid-template-columns: 1fr;
                    gap: 20px;
                }

                .btn {
                    width: 100%;
                }
            }

            /* Status badges */

            .status-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 6px 12px;
                border-radius: 20px;
                font-size: 12px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                white-space: nowrap;
            }

            .status-active {
                background: rgba(34, 197, 94, 0.1);
                color: #15803d;
            }

            .status-inactive {
                background: rgba(239, 68, 68, 0.1);
                color: #dc2626;
            }

            .status-maintenance {
                background: rgba(245, 158, 11, 0.1);
                color: #d97706;
            }

            /* Action buttons */

            .action-buttons {
                display: flex;
                justify-content: center;
                gap: 8px;
            }

            .action-btn {
                width: 32px;
                height: 32px;
                border: none;
                border-radius: 6px;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                transition: all 0.3s ease;
            }

            .btn-view {
                background: rgba(59, 130, 246, 0.1);
                color: #2563eb;
            }

            .btn-view:hover {
                background: rgba(59, 130, 246, 0.2);
                transform: translateY(-1px);
            }

            .btn-edit {
                background: rgba(245, 158, 11, 0.1);
                color: #d97706;
            }

            .btn-edit:hover {
                background: rgba(245, 158, 11, 0.2);
                transform: translateY(-1px);
            }

            .btn-approve {
                background: rgba(16, 185, 129, 0.1);
                color: var(--emerald);
            }

            .btn-approve:hover {
                background: rgba(16, 185, 129, 0.2);
                transform: translateY(-1px);
            }

            .btn-delete {
                background: rgba(239, 68, 68, 0.1);
                color: #dc2626;
            }

            .btn-delete:hover {
                background: rgba(239, 68, 68, 0.2);
                transform: translateY(-1px);
            }

            .btn-container {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .dataTables_filter .form-control {
                /* Custom styles */
                background-color: #f0f0f0;
                border: 1px solid #ccc;
                font-size: 14px;
                padding: 6px 10px !important;
                border-radius: 4px;
                width: 180px !important;
            }

            /* -------------- Abstract Style Start --------------*/

            .metrics-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 1.25rem;
                width: 100%;
            }

            .metric-tile {
                background: var(--glass-bg) !important;
                backdrop-filter: var(--backdrop-blur) !important;
                border: 1px solid rgb(158 158 158 / 18%);
                border-radius: 7px;
                padding: 1.25rem;
                /* box-shadow: var(--shadow-glass); */
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                position: relative;
                overflow: hidden;
                cursor: pointer;
            }

            .metric-tile::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 4px;
                transition: all 0.3s ease;
            }

            /* .metric-tile:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 25px 50px -12px rgb(191 191 191 / 25%);
            border-color: rgba(255, 255, 255, 0.3);
        } */

            .metric-tile.questions::before {
                background: var(--primary-gradient);
            }

            .metric-tile.pass::before{
                background: #13a579 ;
            }

              .metric-tile.warning::before{
                background:#ffc107  ;
            }

            .metric-tile.total::before {
                background: #16949c;
            }

            .metric-tile.success::before {
                background: #13a579;
            }

            .metric-tile.responses::before {
                background: var(--secondary-gradient);
            }

            .metric-tile.users::before {
                background: var(--info-gradient);
            }

            .metric-tile.awaiting::before {
                background: var(--danger-gradient);
            }

            .tile-top {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
            }

            .tile-details h3 {
                font-size: 0.875rem;
                font-weight: 600;
                color: var(--text-secondary);
                margin-bottom: 0;
                min-height: 20px;
            }

            .tile-details p {
                font-size: 0.75rem;
                color: var(--text-secondary);
                opacity: 0.8;
            }

            .tile-symbol {
                width: 48px;
                height: 48px;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.25rem;
                color: white;
                position: relative;
                overflow: hidden;
            }

            .tile-symbol::before {
                content: '';
                position: absolute;
                inset: 0;
                padding: 1px;
                background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
                border-radius: inherit;
                mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                mask-composite: exclude;
            }

            .questions .tile-symbol {
                background: var(--primary-gradient);
            }
             .pass .tile-symbol {
                background:#13a579 ;
            }
             .warning .tile-symbol {
                background:  #ffc107;
            }

            .responses .tile-symbol {
                background: var(--secondary-gradient);
            }

            .success .tile-symbol {
                background: #13a579;
            }

            .users .tile-symbol {
                background: var(--info-gradient);
            }

            .awaiting .tile-symbol {
                background: var(--danger-gradient);
            }

            .tile-bottom {
                display: flex;
                align-items: flex-end;
                justify-content: space-between;
            }

            .metric-content {
                flex: 1;
                display: flex;
                justify-content: start;
                align-items: center;
                gap: 10px;
            }

            .metric-value {
                font-size: 25px;
                font-weight: 700;
                background: var(--primary-gradient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .questions .metric-value {
                background: var(--primary-gradient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

             .pass .metric-value {
                background: #13a579;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

             .warning .metric-value {
                background: #ffc107 ;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .total .metric-value {
                background: #16949c;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .responses .metric-value {
                background: var(--secondary-gradient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .success .metric-value {
                background: #13a579;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .users .metric-value {
                background: var(--info-gradient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .awaiting .metric-value {
                background: var(--danger-gradient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .metric-desc {
                font-size: 0.875rem;
                font-weight: 500;
                color: var(--text-primary);
            }

            .background-animations {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                z-index: -2;
            }

            .animated-shape {
                position: absolute;
                border-radius: 50%;
                background: radial-gradient(circle, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
                animation: float 6s ease-in-out infinite;
            }

            .animated-shape:nth-child(1) {
                width: 200px;
                height: 200px;
                top: 10%;
                left: 10%;
                animation-delay: 0s;
            }

            .animated-shape:nth-child(2) {
                width: 150px;
                height: 150px;
                top: 60%;
                right: 15%;
                animation-delay: 2s;
                background: radial-gradient(circle, rgba(255, 143, 0, 0.1) 0%, transparent 70%);
            }

            .animated-shape:nth-child(3) {
                width: 100px;
                height: 100px;
                bottom: 20%;
                left: 20%;
                animation-delay: 4s;
                background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
            }

            @media (max-width: 768px) {
                .metrics-grid {
                    grid-template-columns: 1fr;
                    gap: 1rem;
                }

                .metric-value {
                    font-size: 2rem;
                }

                .tile-symbol {
                    width: 40px;
                    height: 40px;
                    font-size: 1.1rem;
                }
            }

            @media (max-width: 480px) {
                .metric-tile {
                    padding: 1rem;
                }
            }

            @keyframes slideInUp {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            @keyframes fadeIn {
                from {
                    opacity: 0;
                }

                to {
                    opacity: 1;
                }
            }

            .main-header {
                animation: fadeIn 0.6s ease-out;
            }

            .metric-tile {
                animation: slideInUp 0.6s ease-out forwards;
                opacity: 0;
                padding-bottom: 10px
            }

            .metric-tile:nth-child(1) {
                animation-delay: 0.1s;
            }

            .metric-tile:nth-child(2) {
                animation-delay: 0.2s;
            }

            .metric-tile:nth-child(3) {
                animation-delay: 0.3s;
            }

            .metric-tile:nth-child(4) {
                animation-delay: 0.4s;
            }

            @keyframes pulse {

                0%,
                100% {
                    transform: scale(1);
                }

                50% {
                    transform: scale(1.05);
                }
            }

            /* .metric-tile:hover .metric-value {
            animation: pulse 0.6s ease-in-out;
        } */

            @keyframes float {

                0%,
                100% {
                    transform: translateY(0px) rotate(0deg);
                }

                33% {
                    transform: translateY(-20px) rotate(120deg);
                }

                66% {
                    transform: translateY(10px) rotate(240deg);
                }
            }

            /* Color variations for cards */

            .card-total {
                border-left: 4px solid var(--primary) !important;
            }

            .card-total .stat-number {
                color: var(--secondary-green);
            }

            .card-answered {
                border-left: 4px solid var(--secondary) !important;
            }

            .card-answered .stat-number {
                color: var(--warning);
            }

            .card-pending {
                border-left: 4px solid var(--info) !important;
            }

            .card-mapped {
                border-left: 4px solid var(--danger) !important;
            }

            /* Pending Questions Card Special Styling */

            .pending-breakdown {
                margin-top: var(--spacing-md);
            }

            .breakdown-title {
                font-size: 14px;
                font-weight: 600;
                color: var(--gray-700);
                margin-bottom: var(--spacing-md);
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .breakdown-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: var(--spacing-sm);
                margin-bottom: var(--spacing-md);
            }

            .breakdown-item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: var(--spacing-sm) var(--spacing-md);
                background: var(--gray-50);
                border-radius: var(--spacing-sm);
                border-left: 3px solid var(--warning);
                padding-inline: 5px;
            }

            .breakdown-item.head-officer {
                border-left-color: var(--purple);
            }

            .breakdown-item.circle {
                border-left-color: var(--indigo);
            }

            .breakdown-item.division {
                border-left-color: var(--teal);
            }

            .breakdown-item.range {
                border-left-color: var(--orange);
            }

            .breakdown-label {
                font-size: 13px;
                color: var(--gray-700);
                font-weight: 500;
            }

            .breakdown-value {
                font-size: 16px;
                font-weight: 900;
                color: var(--warning);
            }

            .breakdown-total {
                text-align: center;
                padding: var(--spacing-sm);
                background: rgba(245, 158, 11, 0.1);
                border-radius: var(--spacing-sm);
                border: 1px solid rgba(245, 158, 11, 0.2);
            }

            .breakdown-total-label {
                font-size: 12px;
                color: var(--gray-600);
                font-weight: 500;
            }

            .breakdown-total-value {
                font-size: 14px;
                color: var(--warning);
                font-weight: 700;
            }

            /* Toast Notifications */

            .toast-container {
                position: fixed;
                top: 20px;
                right: 20px;
                z-index: 1000;
            }

            .toast {
                background: var(--white);
                border-radius: var(--border-radius);
                box-shadow: var(--shadow-xl);
                border-left: 4px solid var(--success);
                padding: 16px 20px;
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                gap: 12px;
                min-width: 300px;
                animation: slideIn 0.3s ease;
            }

            @keyframes slideIn {
                from {
                    transform: translateX(100%);
                    opacity: 0;
                }

                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }

            /* Responsive Design */

            @media (max-width: 1200px) {
                .stats-grid {
                    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                }
            }

            @media (max-width: 768px) {
                .container {
                    padding: 15px;
                }

                .document-banner {
                    padding: var(--spacing-lg);
                }

                .stats-grid-abs {
                    grid-template-columns: 1fr;
                    gap: var(--spacing-md);
                }

                .breakdown-grid {
                    grid-template-columns: 1fr;
                    gap: var(--spacing-sm);
                }

                .reports-table th,
                .reports-table td {
                    padding: var(--spacing-md);
                }

                .col-sno {
                    width: 60px;
                }

                .col-action {
                    width: 120px;
                }

                .report-name {
                    font-size: 14px;
                }

                .view-btn {
                    padding: 8px 16px;
                    font-size: 12px;
                    min-width: 80px;
                }
            }

            @media (max-width: 480px) {
                .container {
                    padding: 10px;
                }

                .document-banner {
                    padding: var(--spacing-md);
                }

                .stats-card-body {
                    padding: var(--spacing-md);
                }

                .breakdown-item {
                    padding: var(--spacing-sm);
                }

                .reports-header {
                    margin-bottom: var(--spacing-lg);
                }

                .reports-title {
                    font-size: 20px;
                }

                .reports-subtitle {
                    font-size: 14px;
                }

                .reports-table th,
                .reports-table td {
                    padding: var(--spacing-sm) var(--spacing-md);
                }

                .sno-cell {
                    font-size: 14px;
                }

                .report-name {
                    font-size: 13px;
                }

                .view-btn {
                    padding: 6px 12px;
                    font-size: 11px;
                    min-width: 70px;
                }
            }

            .stats-grid-abs {
                display: flex;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: var(--spacing-lg);
                margin-bottom: var(--spacing-xl);
            }

            .stats-card-abs {
                background: var(--white);
                border-radius: var(--border-radius-lg);
                box-shadow: var(--shadow);
                border: 1px solid var(--gray-200);
                overflow: hidden;
                transition: all 0.3s ease;
                position: relative;
            }

            .stats-card-abs:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-lg);
            }

            .stats-card-abs-header {
                padding: 10px 24px;
                border-bottom: 1px solid var(--gray-200);
                position: relative;
            }

            .stats-card-abs-title {
                font-size: 16px;
                font-weight: 700;
                color: var(--gray-900);
                margin-bottom: var(--spacing-sm);
                display: flex;
                align-items: center;
                gap: var(--spacing-sm);
            }

            .stats-card-abs-subtitle {
                font-size: 13px;
                color: var(--gray-600);
            }

            .stats-card-abs-body {
                padding: var(--spacing-lg);
            }

            .stat-number {
                font-size: clamp(28px, 5vw, 36px);
                font-weight: 900;
                line-height: 1;
                margin-bottom: var(--spacing-sm);
            }

            .stat-label {
                font-size: 12px;
                /* text-transform: uppercase; */
                letter-spacing: 0.5px;
                font-weight: 600;
                opacity: 0.8;
            }

            .stat-trend {
                display: flex;
                align-items: center;
                gap: 4px;
                font-size: 12px;
                font-weight: 600;
                margin-top: var(--spacing-sm);
            }

            .trend-up {
                color: var(--success);
            }

            /* ----------- Abstract style end -------------  */
            /* ----------- Rti view page start----- */

            .field-container {
                display: flex;
                gap: 20px;
                padding: 0;
            }

            .field-item {
                display: flex;
                align-items: start;
                /* justify-content: space-between; */
                /* flex: 1; */
                /* padding: 20px; */
                background: rgba(255, 255, 255, 0.5);
                border-radius: 12px;
                border: 1px solid rgba(255, 255, 255, 0.3);
                gap: 10px;
                flex-direction: column;
            }

            .label-section {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .status-dot {
                width: 12px;
                height: 12px;
                border-radius: 50%;
            }

            .red-indicator {
                background: #ff6b6b;
            }

            .green-indicator {
                background: #51cf66;
            }

            .blue-indicator {
                background: #339af0;
            }

            .field-label {
                font-size: 16px;
                font-weight: 600;
                color: #2d3748;
            }

            .field-data {
                font-size: 14px;
                font-weight: 600;
                color: #4a5568;
                text-align: right;
            }

            .content-headers {
                display: flex;
                align-items: center;
                gap: 9px;
                margin-top: 20px;
                margin-bottom: 10px;
                /* padding-top: 30px; */
                padding-bottom: 0px;
            }

            .content-badge {
                width: 25px;
                height: 25px;
                background: linear-gradient(135deg, #667eea, #653695e0);
                border-radius: 7px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 12px;
            }

            .content-heading {
                font-size: 16px;
                font-weight: 700;
                color: #2d3748;
            }

            .content-body {
                font-size: 14px;
                line-height: 1.7;
                color: #4a5568;
                text-align: justify;
                font-weight: 500;
            }

            @media (max-width: 768px) {
                .main-wrapper {
                    max-width: 100%;
                }

                .details-panel {
                    padding: 30px 25px;
                }

                .field-container {
                    flex-direction: column;
                    gap: 15px;
                }

                .field-item {
                    flex-direction: column;
                    align-items: flex-start;
                    text-align: left;
                    gap: 8px;
                }

                .field-data {
                    text-align: left;
                }

                .content-header {
                    flex-direction: column;
                    align-items: flex-start;
                    text-align: left;
                }

                .content-badge {
                    margin-bottom: 0;
                }
            }

            /* ----------- Rti view page end----- */

            .response-feed {
                position: relative;
            }

            .response-item {
                position: relative;
                margin-bottom: 30px;
                padding-left: 70px;
            }

            .avatar-circle {
                position: absolute;
                left: 0;
                top: 0;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: 600;
                font-size: 18px;
                border: 3px solid white;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                z-index: 2;
            }

            .reply-container {
                background: rgba(255, 255, 255, 0.8);
                border-radius: 18px;
                padding: 0;
                border: 1px solid rgba(255, 255, 255, 0.3);
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
                overflow: hidden;
            }

            .reply-header {
                background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                color: white;
                padding: 15px 20px;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .author-info {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .author-name {
                font-size: 16px;
                font-weight: 600;
            }

            .author-role {
                font-size: 12px;
                opacity: 0.9;
                background: rgba(255, 255, 255, 0.2);
                padding: 2px 8px;
                border-radius: 10px;
            }

            .reply-time {
                font-size: 12px;
                opacity: 0.9;
            }

            .reply-metadata {
                padding: 20px;
                background: rgba(248, 250, 252, 0.8);
            }

            .metadata-grid {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
            }

            .metadata-box {
                display: flex;
                align-items: flex-start;
                gap: 8px;
                border-radius: 12px;
                border-left: 4px solid transparent;
            }

            /* .metadata-box.department-info {
                border-left-color: #ff6b6b;
            }

            .metadata-box.date-info {
                border-left-color: #51cf66;
            }

            .metadata-box.document-info {
                border-left-color: #339af0;
            } */

            .status-indicator {
                width: 12px;
                height: 12px;
                border-radius: 50%;
                flex-shrink: 0;
            }

            .red-status {
                background: #ff6b6b;
                margin-top: 5px
            }

            .green-status {
                background: #51cf66;
                margin-top: 5px
            }

            .blue-status {
                background: #339af0;
                margin-top: 5px
            }

            .metadata-content {
                flex: 1;
            }

            .metadata-label {
                font-size: 14px;
                font-weight: 600;
                color: #2d3748;
                margin-bottom: 4px;
            }

            .metadata-value {
                font-size: 14px;
                font-weight: 600;
                color: #2d3748;
            }

            .metadata-value a {
                color: #667eea;
                text-decoration: none;
            }

            .metadata-value a:hover {
                text-decoration: underline;
            }

            .reply-body {
                padding: 25px;
            }

            .message-header {
                display: flex;
                align-items: center;
                gap: 10px;
                margin-bottom: 15px;
            }

            .message-badge {
                width: 25px;
                height: 25px;
                background: linear-gradient(135deg, #667eea, #653695e0);
                border-radius: 7px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 12px;
            }

            .message-title {
                font-size: 16px;
                font-weight: 700;
                color: #2d3748;
            }

            .message-content {
                font-size: 14px;
                line-height: 1.7;
                color: #4a5568;
                text-align: justify;
                font-weight: 500;
            }

            .reply-actions {
                padding: 15px 25px;
                background: rgba(248, 250, 252, 0.5);
                border-top: 1px solid rgba(226, 232, 240, 0.5);
                display: flex;
                gap: 10px;
            }

            .control-button {
                padding: 8px 15px;
                border: none;
                border-radius: 8px;
                font-size: 12px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
            }

            .control-button.respond-btn {
                background: #667eea;
                color: white;
            }

            .control-button.share-btn {
                background: transparent;
                color: #667eea;
                border: 1px solid #667eea;
            }

            .control-button:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            }

            /* Original Message Styling */

            .primary-message {
                background: linear-gradient(135deg, #ff9a56, #ffad56);
            }

            .primary-message .avatar-circle {
                background: linear-gradient(135deg, #ff9a56, #ffad56);
            }

            .primary-message .reply-header {
                background: linear-gradient(135deg, #ff9a56, #ffad56);
            }

            /* Response Message Styling */
            /* .response-message {
            background: linear-gradient(135deg, #667eea, #653695e0);
        } */

            @media (max-width: 768px) {
                .communication-hub {
                    padding: 20px;
                    margin: 10px;
                }

                .response-item {
                    padding-left: 60px;
                }

                .avatar-circle {
                    width: 40px;
                    height: 40px;
                    font-size: 16px;
                }

                .metadata-grid {
                    grid-template-columns: 1fr;
                    gap: 15px;
                }

                .reply-header {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 10px;
                }
            }

            /* Info Items */

            .info-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
            }

            .info-item {
                position: relative;
            }

            .info-label {
                font-size: 12px;
                font-weight: 600;
                color: var(--text-secondary);
                /* text-transform: uppercase; */
                letter-spacing: 0.05em;
                margin-bottom: 6px;
            }

            .info-value {
                font-size: 15px;
                font-weight: 500;
                color: var(--text-primary);
                line-height: 1.5;
            }

            .info-value.empty {
                color: var(--gray-400);
                font-style: italic;
            }

            .info-value.highlight {
                color: var(--primary);
                font-weight: 600;
            }

            /* Description */

            .description-content {
                background: var(--gray-50);
                border: 1px solid var(--border);
                border-radius: 12px;
                padding: 20px;
                font-size: 15px;
                line-height: 1.7;
                color: var(--text-primary);
            }

            /* File Upload */

            .file-item {
                display: flex;
                align-items: center;
                gap: 16px;
                padding: 16px;
                background: var(--gray-50);
                border: 1px solid var(--border);
                border-radius: 12px;
                transition: all 0.2s ease;
            }

            .file-item:hover {
                background: var(--gray-100);
                transform: translateY(-1px);
            }

            .file-icon {
                width: 48px;
                height: 48px;
                background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
                color: var(--white);
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 20px;
                flex-shrink: 0;
            }

            .file-details {
                flex: 1;
                min-width: 0;
            }

            .file-name {
                font-weight: 600;
                color: var(--text-primary);
                margin-bottom: 4px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-size: 13px
            }

            .file-meta {
                font-size: 12px;
                color: var(--text-secondary);
            }

            .file-actions {
                display: flex;
                gap: 8px;
            }

            .file-btn {
                padding: 8px 16px;
                border-radius: 8px;
                font-size: 13px;
                font-weight: 600;
                text-decoration: none;
                transition: all 0.2s ease;
                display: flex;
                align-items: center;
                gap: 6px;
            }

            .file-btn-primary {
                background: var(--primary);
                color: var(--white);
            }

            .file-btn-primary:hover {
                background: var(--primary-dark);
                transform: translateY(-1px);
            }

            .file-btn-secondary {
                background: var(--gray-200);
                color: var(--text-secondary);
            }

            .file-btn-secondary:hover {
                background: var(--gray-300);
            }

            /* Sidebar Cards */

            .quick-info {
                display: flex;
                flex-direction: column;
                gap: 16px;
            }

            .quick-item {
                display: flex;
                align-items: center;
                gap: 12px;
                padding: 12px 0;
            }

            .quick-icon {
                width: 36px;
                height: 36px;
                border-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: var(--white);
                flex-shrink: 0;
            }

            .quick-icon.received {
                background: var(--info);
            }

            .quick-icon.due {
                background: var(--warning);
            }

            .quick-icon.category {
                background: var(--emerald);
            }

            .quick-icon.priority {
                background: var(--primary-light);
            }

            .quick-content {
                flex: 1;
            }

            .quick-label {
                font-size: 12px;
                color: var(--text-secondary);
                margin-bottom: 2px;
            }

            .quick-value {
                font-size: 14px;
                font-weight: 600;
                color: var(--text-primary);
            }

            /* Timeline */

            .timeline {
                position: relative;
                padding-left: 24px;
            }

            .timeline::before {
                content: '';
                position: absolute;
                left: 8px;
                top: 0;
                bottom: 0;
                width: 2px;
                background: var(--gray-200);
            }

            .timeline-item {
                position: relative;
                padding-bottom: 24px;
            }

            .timeline-item:last-child {
                padding-bottom: 0;
            }

            .timeline-dot {
                position: absolute;
                left: -20px;
                top: 2px;
                width: 16px;
                height: 16px;
                border-radius: 50%;
                background: var(--primary);
                border: 3px solid var(--white);
                box-shadow: var(--shadow);
            }

            .timeline-content {
                padding-left: 16px;
            }

            .timeline-title {
                font-size: 14px;
                font-weight: 600;
                color: var(--text-primary);
                margin-bottom: 4px;
            }

            .timeline-desc {
                font-size: 13px;
                color: var(--text-secondary);
                margin-bottom: 2px;
            }

            .timeline-time {
                font-size: 12px;
                color: var(--text-secondary);
            }

            /* Enhanced Responsive Design */

            @media (max-width: 1200px) {}

            @media (max-width: 1024px) {
                .content-grid {
                    grid-template-columns: 1fr;
                    gap: 20px;
                }

                .info-grid {
                    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                }
            }

            @media (max-width: 768px) {
                .header-info {
                    flex-direction: column;
                    gap: 16px;
                }

                .header-title {
                    font-size: 24px;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 8px;
                }

                .status-container {
                    align-items: flex-start;
                    width: 100%;
                }

                .status-badge,
                .priority-badge {
                    align-self: flex-start;
                }

                .info-grid {
                    grid-template-columns: 1fr;
                    gap: 16px;
                }

                .card-body {
                    padding: 20px;
                }

                .card-header {
                    padding: 16px 20px;
                }

                .action-bar {
                    flex-direction: column;
                    gap: 16px;
                    padding: 16px 20px;
                }

                .action-buttons {
                    width: 100%;
                    justify-content: center;
                    flex-wrap: wrap;
                }

                .btn {
                    flex: 1;
                    justify-content: center;
                    min-width: 120px;
                }

                .file-item {
                    padding: 16px;
                    flex-direction: column;
                    text-align: center;
                    gap: 12px;
                }

                .file-details {
                    text-align: center;
                }

                .file-actions {
                    justify-content: center;
                }

                .sidebar .file-item {
                    flex-direction: row;
                    text-align: left;
                }

                .sidebar .file-details {
                    text-align: left;
                }

                .sidebar .file-actions {
                    justify-content: flex-end;
                }
            }

            @media (max-width: 640px) {
                .header-title {
                    font-size: 20px;
                }

                .application-id {
                    font-size: 12px;
                    padding: 6px 12px;
                }

                .status-badge {
                    font-size: 12px;
                    padding: 8px 16px;
                }

                .priority-badge {
                    font-size: 11px;
                    padding: 5px 10px;
                }
            }

            @media (max-width: 480px) {
                .header-title {
                    font-size: 18px;
                }

                .card-body {
                    padding: 16px;
                }

                .card-header {
                    padding: 14px 16px;
                }

                .action-buttons {
                    flex-direction: column;
                    gap: 8px;
                }

                .btn {
                    width: 100%;
                    min-width: auto;
                }

                .info-value {
                    font-size: 14px;
                }

                .card-title {
                    font-size: 16px;
                }

                .description-content {
                    padding: 16px;
                    font-size: 14px;
                }

                .file-item {
                    padding: 12px;
                }

                .file-name {
                    font-size: 13px;
                }

                .file-meta {
                    font-size: 12px;
                }

                .file-btn {
                    padding: 6px 12px;
                    font-size: 12px;
                }
            }

            @media (max-width: 360px) {
                .header-title {
                    font-size: 16px;
                }

                .application-id {
                    font-size: 11px;
                }

                .card-title {
                    font-size: 15px;
                }

                .info-label {
                    font-size: 11px;
                }

                .info-value {
                    font-size: 13px;
                }
            }

            /* Print Styles */

            @media print {
                .header-content {
                    background: #7cb342 !important;
                    -webkit-print-color-adjust: exact;
                }

                .action-bar {
                    display: none !important;
                }

                .card {
                    break-inside: avoid;
                    box-shadow: none !important;
                    border: 1px solid #e5e7eb !important;
                }
            }

            .field-container {
                display: flex;
                gap: 20px;
                padding: 0;
            }

            .field-item {
                display: flex;
                align-items: start;
                /* justify-content: space-between; */
                /* flex: 1; */
                /* padding: 20px; */
                background: rgba(255, 255, 255, 0.5);
                border-radius: 12px;
                border: 1px solid rgba(255, 255, 255, 0.3);
                gap: 10px;
                flex-direction: column;
            }

            .label-section {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .status-dot {
                width: 12px;
                height: 12px;
                border-radius: 50%;
            }

            .red-indicator {
                background: #ff6b6b;
            }

            .green-indicator {
                background: #51cf66;
            }

            .blue-indicator {
                background: #339af0;
            }

            .field-label {
                font-size: 16px;
                font-weight: 600;
                color: #2d3748;
            }

            .field-data {
                font-size: 14px;
                font-weight: 600;
                color: #4a5568;
                text-align: right;
            }

            .content-headers {
                display: flex;
                align-items: center;
                gap: 9px;
                margin-top: 20px;
                margin-bottom: 10px;
                /* padding-top: 30px; */
                padding-bottom: 0px;
            }

            .content-badge {
                width: 25px;
                height: 25px;
                background: linear-gradient(135deg, #667eea, #653695e0);
                border-radius: 7px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 12px;
            }

            .content-heading {
                font-size: 16px;
                font-weight: 700;
                color: #2d3748;
            }

            .content-body {
                font-size: 14px;
                line-height: 1.7;
                color: #4a5568;
                text-align: justify;
                font-weight: 500;
            }

            @media (max-width: 768px) {
                .main-wrapper {
                    max-width: 100%;
                }

                .details-panel {
                    padding: 30px 25px;
                }

                .title-section h1 {
                    font-size: 28px;
                }

                .field-container {
                    flex-direction: column;
                    gap: 15px;
                }

                .field-item {
                    flex-direction: column;
                    align-items: flex-start;
                    text-align: left;
                    gap: 8px;
                }

                .field-data {
                    text-align: left;
                }

                .content-header {
                    flex-direction: column;
                    align-items: flex-start;
                    text-align: left;
                }

                .content-badge {
                    margin-bottom: 0;
                }
            }

            /* Cards */

            .card {
                background: var(--white);
                border-radius: 16px;
                box-shadow: var(--shadow-lg);
                overflow: hidden;
                border: 1px solid var(--border);
            }

            .card-headers {
                padding: 20px 24px;
                border-bottom: 1px solid var(--border);
                background: var(--gray-100);
            }

            .card-titles {
                font-size: 18px;
                font-weight: 700;
                color: var(--text-primary);
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .card-titles i {
                width: 20px;
                /* color: var(--primary); */
            }

            .card-body {
                padding: 24px;
            }

            @media (max-width: 1200px) {
                .form-row-double {
                    grid-template-columns: 220px 1fr 220px 1fr !important;
                    gap: 20px 30px !important;
                }
            }

            @media (max-width: 1024px) {
                .form-row-double {
                    grid-template-columns: 130px 1fr 101px 1fr !important;
                    gap: 15px 25px !important;
                }
            }

            @media (max-width: 768px) {
                .form-row-double {
                    grid-template-columns: 1fr !important;
                    gap: 13px !important;
                }
            }

            .form-input-container {
                flex: 1 !important;
            }

            .form-row-double {
                display: grid;
                grid-template-columns: 250px 1fr 250px 1fr;
                gap: 30px 40px;
                align-items: start;
                padding: 16px 0;
                border-bottom: 1px solid var(--gray-100);
            }

            .form-row-double:last-child {
                border-bottom: none;
            }

            /* ------- power fence start -------  */

            .data-section {
                background: var(--white);
                border-radius: var(--border-radius);
                padding: 20px;
                border: 1px solid var(--gray-200);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            }

            .latest-record-card {
                background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
                border-radius: var(--border-radius-lg);
                border: 2px solid var(--primary-light);
                overflow: hidden;
                position: relative;
            }

            .latest-record-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 4px;
                /* background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%); */
            }

            .record-header {
                background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                color: white;
                padding: 20px 25px;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .record-info {
                display: flex;
                align-items: center;
                gap: 15px;
            }

            .record-badge {
                background: rgba(255, 255, 255, 0.2);
                padding: 8px 16px;
                border-radius: 20px;
                font-size: 12px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .record-title {
                font-size: 18px;
                font-weight: 700;
            }

            .record-subtitle {
                font-size: 14px;
                opacity: 0.9;
            }

            .record-actions {
                display: flex;
                gap: 10px;
            }

            .record-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 20px;
            }

            .record-body {
                padding: 25px;
            }

            .section-headers {
                font-size: 14px;
                font-weight: 700;
                color: var(--primary-dark);
                margin-bottom: 15px;
                display: flex;
                align-items: center;
                gap: 8px;
                /* text-transform: uppercase; */
                letter-spacing: 0.5px;
                min-height: 40px;
            }

            .data-labels {
                font-size: 13px;
                color: var(--text-secondary);
                font-weight: 500;
            }

            .data-values {
                font-size: 14px;
                font-weight: 600;
                color: var(--text-primary);
            }

            .status-badge {
                display: inline-flex;
                align-items: center;
                gap: 4px;
                padding: 4px 10px;
                border-radius: 12px;
                font-size: 11px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.3px;
            }

            .status-high {
                background: rgba(239, 68, 68, 0.1);
                color: #dc2626;
            }

            .status-medium {
                background: rgba(245, 158, 11, 0.1);
                color: #d97706;
            }

            .status-warning {
                background-color: #fff3cd;
                color: #856404;
            }

            .status-danger {
                background-color: #f8d7da;
                color: #721c24;
            }

            .status-low {
                background: rgba(34, 197, 94, 0.1);
                color: #15803d;
            }

            /* Received - Blue */
            .status-received {
                background-color: #007bff;
                /* Bootstrap Primary */
                color: #fff;
            }

            /* In Progress - Orange */
            .status-progress {
                background-color: #fd7e14;
                /* Bootstrap Orange */
                color: #fff;
            }

            /* Approved - Green */
            .status-approved {
                background-color: #28a745;
                /* Bootstrap Success */
                color: #fff;
            }

            /* Rejected - Red */
            .status-rejected {
                background-color: #dc3545;
                /* Bootstrap Danger */
                color: #fff;
            }

            .data-row {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 8px 0;
                /* border-bottom: 1px solid var(--gray-100); */
            }

            .data-row:last-child {
                border-bottom: none;
            }

            @media (max-width: 1440px) {
                .data-grids {
                    display: flex !important;
                    flex-wrap: wrap;
                    flex-direction: column;
                }

                #dat-val {
                    margin-left: 0px !important;
                }

                .data-value {
                    flex: 2 !important;
                }

                .data-label-group {
                    flex: 1;
                }

                .data-item {
                    padding: 5px 0px !important;
                }
            }

            @media (max-width: 768px) {
                .record-header {
                    flex-direction: column;
                    gap: 15px;
                    text-align: center;
                }

                .record-grid {
                    grid-template-columns: 1fr;
                    gap: 15px;
                }

                .data-section {
                    padding: 15px;
                }

                .record-body {
                    padding: 20px 15px;
                }
            }

            @media (max-width: 480px) {
                .record-title {
                    font-size: 16px;
                }

                .data-row {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 4px;
                }
            }

            @media (max-width: 1200px) {
                .record-grid {
                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 15px;
                }
            }

            .form-row {
                display: grid;
                grid-template-columns: 300px 1fr;
                gap: 20px;
                align-items: start;
                /* margin-bottom: 24px; */
                padding: 16px 0;
                /* border-bottom: 1px solid var(--gray-100); */
            }

            .population-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }

            .population-label {
                font-size: 14px;
                font-weight: 600;
                color: var(--text-dark);
                margin-bottom: 5px;
            }

            @media (max-width: 768px) {
                .form-row {
                    grid-template-columns: 1fr;
                    gap: 12px;
                }
            }

            table.dataTable {
                margin-top: 0px !important
            }

            /* ------- Modal style -------  */

            .modal-title {
                font-size: 20px;
                font-weight: 600;
            }

            .case-ref {
                font-weight: 600;
                font-size: 15px;
            }

            /* ------------- User Menu Management Styles ---------------- */
            .permissions-page {
                min-height: 100vh;
                padding: 1rem;
                /* max-width: 1400px; */
                margin: 0 auto;
            }

            /* Header Section */

            .page-header {
                /* background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 100%); */
                background: #653695e0;
                color: white;
                padding: 1rem;
                border-radius: 7px;
                margin-bottom: 1rem;
                box-shadow: var(--shadow-lg);
            }

            .header-content-edit-user {
                display: flex;
                justify-content: between;
                align-items: center;
                gap: 2rem;
                flex-wrap: wrap;
            }

            .header-left-edit-user {
                flex: 1;
                min-width: 300px;
            }

            .header-right-edit-user {
                flex: 0.2;
            }

            .page-title {
                font-size: 32px;
                font-weight: 700;
                margin-bottom: 0.5rem;
                display: flex;
                align-items: center;
                gap: 0.75rem;
            }

            .page-subtitle {
                font-size: 16px;
                opacity: 0.9;
                font-weight: 400;
            }

            .header-actions-edit-user {
                display: flex;
                gap: 1rem;
            }

            .header-btn {
                background: rgba(255, 255, 255, 0.1);
                border: 1px solid rgba(255, 255, 255, 0.2);
                color: white;
                padding: 0.75rem 1.5rem;
                border-radius: 0.5rem;
                font-weight: 500;
                text-decoration: none;
                transition: all 0.2s;
                backdrop-filter: blur(10px);
            }

            .header-btn:hover {
                background: rgba(255, 255, 255, 0.2);
                transform: translateY(-1px);
            }

            /* Stats Grid */

            .stats-grid-edit-user {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 1.5rem;
                margin-bottom: 1rem;
            }

            .stat-card-edit-user {
                background: white;
                padding: 1rem;
                border-radius: 0.75rem;
                box-shadow: var(--shadow-sm);
                border: 1px solid var(--gray-200);
                text-align: center;
                transition: all 0.2s;
                position: relative;
                overflow: hidden;
            }

            .stat-card-edit-user::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 3px;
                background: linear-gradient(90deg, var(--primary), var(--success));
            }

            .stat-card-edit-user:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-md);
            }

            .stat-number-edit-user {
                font-size: 2.5rem;
                font-weight: 700;
                color: var(--primary);
                margin-bottom: 0.5rem;
            }

            .stat-label-edit-user {
                color: var(--gray-600);
                font-weight: 500;
                text-transform: uppercase;
                font-size: 0.8rem;
                letter-spacing: 0.5px;
            }

            /* Main Content Grid */

            .content-grid {
                grid-template-columns: 300px 1fr;
                gap: 2rem;
            }

            .search-box {
                position: relative;
            }

            .search-input-edit-user {
                width: 100%;
                padding: 0.75rem 0.75rem 0.75rem 2.5rem;
                border: 1px solid white;
                border-radius: 0.5rem;
                font-size: 0.9rem;
                transition: all 0.2s;
                color: var(--gray-900);
            }

            .search-input-edit-user:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
            }

            .search-icon-edit-user {
                position: absolute;
                left: 0.75rem;
                top: 50%;
                transform: translateY(-50%);
                color: var(--gray-500);
            }

            /* Permissions Panel */

            .permissions-panel {
                background: white;
                border-radius: 1rem;
                box-shadow: var(--shadow-md);
                border: 1px solid var(--gray-200);
                overflow: hidden;
            }

            .panel-header {
                background: #653695e0;
                padding: 1rem;
                border-bottom: 1px solid var(--gray-200);
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .panel-title {
                font-size: 24px;
                font-weight: 600;
                color: white;
                display: flex;
                align-items: center;
                gap: 0.75rem;
            }

            /* Permission Modules */

            .permissions-content {
                padding: 1rem;
            }

            .permission-module {
                border: 1px solid var(--gray-200);
                border-radius: 0.75rem;
                margin-bottom: 1rem;
                overflow: hidden;
                transition: all 0.3s ease;
                background: white;
            }

            .permission-module:hover {
                box-shadow: var(--shadow-md);
                border-color: var(--primary);
            }

            .permission-module.expanded {
                border-color: var(--primary);
                box-shadow: var(--shadow-md);
            }

            .module-header {
                padding: 0.5rem;
                cursor: pointer;
                display: flex;
                align-items: center;
                gap: 1rem;
                transition: all 0.2s;
                background: var(--gray-50);
            }

            .module-header:hover {
                background: var(--gray-100);
            }

            .permission-module.expanded .module-header {
                background: rgba(59, 130, 246, 0.05);
                border-bottom: 1px solid var(--gray-200);
            }

            .module-checkbox {
                position: relative;
            }

            .custom-checkbox-edit-user {
                display: inline-flex;
                align-items: center;
                cursor: pointer;
                position: relative;
                gap: 0.5em;
                user-select: none;
            }

            .custom-checkbox-edit-user input[type="checkbox"] {
                position: absolute;
                opacity: 0;
                width: 0;
                height: 0;
            }

            .checkbox-design {
                width: 20px;
                height: 20px;
                border: 2px solid #7e8a7aff;
                border-radius: 4px;
                background: #fff;
                display: inline-block;
                position: relative;
                transition: border-color 0.2s;
                flex-shrink: 0;
            }

            .custom-checkbox-edit-user input[type="checkbox"]:checked+.checkbox-design {
                background: var(--primary);
                border-color: var(--primary);
            }

            .custom-checkbox-edit-user input[type="checkbox"]:checked+.checkbox-design::after {
                content: '✓';
                color: #fff;
                font-size: 14px;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -55%);
            }

            .checkbox-label {
                font-size: 1em;
                color: #222;
                display: inline-block;
                margin-left: 0;
                min-width: 0;
                flex-shrink: 0;
            }

            .has-nested-label {
                font-weight: bold;
                color: var(--gray-500);
            }

            .module-icon {
                width: 40px;
                height: 40px;
                border-radius: 0.5rem;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.1rem;
                color: white;
                background: linear-gradient(135deg, var(--primary), var(--primary-dark));
                flex-shrink: 0;
            }

            .module-info {
                flex: 1 1 auto;
            }

            .module-name {
                font-size: 1.1rem;
                font-weight: 600;
                color: var(--gray-900);
                margin-bottom: 0.25rem;
            }

            .module-description {
                color: var(--gray-600);
                font-size: 14px;
                margin: 0;
            }

            .module-badge {
                background: var(--gray-200);
                color: var(--gray-700);
                padding: 0.25rem 0.75rem;
                border-radius: 1rem;
                font-size: 0.8rem;
                font-weight: 500;
            }

            .expand-icon {
                color: var(--gray-400);
                transition: transform 0.2s;
            }

            .permission-module.expanded .expand-icon {
                transform: rotate(90deg);
            }

            /* Sub-permissions */

            .sub-permissions {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                background: white;
            }

            .permission-module.expanded .sub-permissions {
                max-height: 1000px;
            }

            .sub-permissions-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 0.75rem;
                padding: 0.5rem;
            }

            .sub-permission-row {
                display: flex;
                flex-direction: column;
                padding: 0.5rem;
                /* margin-top: 10px; */
                display: none;
            }

            .sub-permission {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                /* padding: 0.75rem; */
                border-radius: 0.5rem;
                transition: all 0.2s;
                cursor: pointer;
            }

            .sub-permission:hover {
                background: var(--gray-50);
            }

            .sub-permission-name {
                font-weight: 500;
                font-size: 14px;
                color: var(--gray-800);
            }

            /* Nested Permissions */

            .nested-permissions {
                padding: 0 0.75rem;
                margin: 10px;
                border-left: 2px solid var(--gray-200);
                display: flex;
                gap: 1rem;
                flex-wrap: wrap;
                align-items: center;
                transition: all 0.2s;
            }

            .nested-permission {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .nested-permission:hover {
                background: var(--gray-50);
            }

            /* Form Actions */

            .form-actions {
                position: sticky;
                bottom: 0;
                background: white;
                padding: 1rem;
                border-top: 1px solid var(--gray-200);
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 1rem;
                /* margin-top: 2rem; */
                border-radius: 0 0 1rem 1rem;
            }

            .btn-primary-edit-user {
                background: #653695e0;
                color: white;
                border: none;
                padding: 0.65rem 0.85rem;
                border-radius: 5px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.2s;
                display: flex;
                align-items: center;
                gap: 0.5rem;
                font-size: 1rem;
            }

            .btn-primary-edit-user:hover {
                background: var(--primary-dark);
                transform: translateY(-1px);
                box-shadow: var(--shadow-md);
            }

            .btn-secondary-edit-user {
                background: var(--gray-100);
                color: var(--gray-700);
                border: 1px solid var(--gray-300);
                padding: 0.875rem 2rem;
                border-radius: 0.5rem;
                font-weight: 500;
                text-decoration: none;
                cursor: pointer;
                transition: all 0.2s;
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }

            .btn-secondary-edit-user:hover {
                background: var(--gray-200);
                border-color: var(--gray-400);
            }

            .progress-indicator {
                color: var(--gray-600);
                font-size: 0.9rem;
            }

            /* Responsive Design */

            @media (max-width: 1024px) {
                .content-grid {
                    grid-template-columns: 1fr;
                }
            }

            @media (max-width: 768px) {
                .permissions-page {
                    padding: 1rem;
                }

                .header-content-edit-user {
                    flex-direction: column;
                    align-items: stretch;
                }

                .header-actions-edit-user {
                    justify-content: center;
                }

                .stats-grid-edit-user {
                    grid-template-columns: repeat(2, 1fr);
                }

                .sub-permissions-grid {
                    grid-template-columns: 1fr;
                }

                .form-actions {
                    flex-direction: column-reverse;
                    align-items: stretch;
                }
            }

            /* Animation */

            @keyframes slideIn {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .animate-in {
                animation: slideIn 0.5s ease-out;
            }

            /* Loading States */

            .loading {
                /* opacity: 0.6; */
                pointer-events: none;
            }

            .spinner {
                width: 20px;
                height: 20px;
                border: 2px solid var(--gray-300);
                border-top: 2px solid var(--primary);
                border-radius: 50%;
                animation: spin 1s linear infinite;
            }

            @keyframes spin {
                0% {
                    transform: rotate(0deg);
                }

                100% {
                    transform: rotate(360deg);
                }
            }

            span.nested-sub {
                color: var(--gray-500);
                font-weight: 700;
            }

            .header-right select.forest-select {
                padding: 10px 16px;
                font-size: 14px;
                border: 1px solid #28a745;
                border-radius: 4px;
                color: #155724;
                outline: none;
                transition: border-color 0.2s;
            }

            .header-right select.forest-select:focus {
                border-color: #1e7e34;
            }

            /* END EDIT USER MENU MANAGEMENT */


            /* ========================================
           CLEAN CONFIRMATION MODAL STYLES
        ======================================== */
            /* Modal Overlay */

            .cfm-backdrop {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(8px);
                z-index: 9999;
                display: flex;
                align-items: center;
                justify-content: center;
                opacity: 0;
                visibility: hidden;
                transition: all 0.2s ease;
            }

            .cfm-backdrop.is-visible {
                opacity: 1;
                visibility: visible;
            }

            /* Modal Dialog */

            .cfm-window {
                background: var(--white);
                border-radius: var(--border-radius-xl);
                width: 90%;
                max-width: 400px;
                box-shadow: var(--shadow-xl);
                position: relative;
                transform: scale(0.95) translateY(10px);
                transition: all 0.2s ease;
            }

            .cfm-backdrop.is-visible .cfm-window {
                transform: scale(1) translateY(0);
            }

            /* Close Button */

            .cfm-dismiss-btn {
                position: absolute;
                top: 16px;
                right: 16px;
                width: 32px;
                height: 32px;
                border: none;
                background: none;
                cursor: pointer;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--gray-400);
                transition: all 0.2s ease;
                z-index: 10;
            }

            .cfm-dismiss-btn:hover {
                background: var(--gray-100);
                color: var(--gray-600);
            }

            /* Modal Content */

            .cfm-body {
                padding: 48px 24px 24px;
                text-align: center;
            }

            /* Icon */

            .cfm-status-icon {
                width: 48px;
                height: 48px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto 24px;
                font-size: 20px;
                color: var(--white);
            }

            .cfm-status-icon.type-danger {
                background: var(--danger);
            }

            .cfm-status-icon.type-success {
                background: var(--success);
            }

            .cfm-status-icon.type-warning {
                background: var(--warning);
            }

            .cfm-status-icon.type-info {
                background: var(--info);
            }

            /* Title */

            .cfm-heading {
                font-size: 18px;
                font-weight: 600;
                color: var(--text-primary);
                margin-bottom: 12px;
            }

            /* Message */

            .cfm-description {
                font-size: 14px;
                color: var(--text-secondary);
                margin-bottom: 32px;
                line-height: 1.5;
            }

            /* Item Details */

            .cfm-target-item {
                background: var(--gray-50);
                border-radius: var(--border-radius);
                padding: 16px;
                margin-bottom: 24px;
                border-left: 3px solid var(--danger);
                text-align: left;
            }

            .cfm-target-wrapper {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .cfm-target-avatar {
                width: 32px;
                height: 32px;
                background: var(--danger);
                color: var(--white);
                border-radius: var(--border-radius);
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                flex-shrink: 0;
            }

            .cfm-target-info {
                flex: 1;
                min-width: 0;
            }

            .cfm-target-label {
                font-weight: 600;
                color: var(--text-primary);
                font-size: 14px;
                margin-bottom: 2px;
                word-break: break-word;
            }

            .cfm-target-subtitle {
                font-size: 12px;
                color: var(--text-secondary);
            }

            /* Multiple Items */

            .cfm-batch-items {
                background: var(--gray-50);
                border-radius: var(--border-radius);
                padding: 12px;
                margin-bottom: 24px;
                max-height: 160px;
                overflow-y: auto;
            }

            .cfm-batch-entry {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 8px 0;
                font-size: 14px;
            }

            .cfm-batch-entry:not(:last-child) {
                border-bottom: 1px solid var(--gray-200);
            }

            .cfm-batch-avatar {
                width: 20px;
                height: 20px;
                background: var(--danger);
                color: var(--white);
                border-radius: 4px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 10px;
                flex-shrink: 0;
            }

            .cfm-batch-label {
                color: var(--text-primary);
                font-weight: 500;
                flex: 1;
                word-break: break-word;
            }

            /* Warning Box */

            .cfm-alert-box {
                background: rgba(239, 68, 68, 0.05);
                border: 1px solid rgba(239, 68, 68, 0.2);
                border-radius: var(--border-radius);
                padding: 12px;
                margin-bottom: 24px;
                display: flex;
                align-items: flex-start;
                gap: 8px;
                text-align: left;
            }

            .cfm-alert-icon {
                color: var(--danger);
                font-size: 16px;
                margin-top: 2px;
                flex-shrink: 0;
            }

            .cfm-alert-message {
                color: var(--danger);
                font-size: 13px;
                font-weight: 500;
                line-height: 1.4;
            }

            /* Buttons */

            .cfm-actions {
                display: flex;
                gap: 12px;
            }

            .cfm-action-btn {
                flex: 1;
                padding: 12px 24px;
                border-radius: var(--border-radius);
                font-weight: 600;
                font-size: 14px;
                cursor: pointer;
                border: none;
                transition: all 0.2s ease;
                position: relative;
                overflow: hidden;
            }

            .cfm-action-btn:hover {
                transform: translateY(-1px);
            }

            .cfm-action-btn:active {
                transform: translateY(0);
            }

            .cfm-action-btn.style-cancel {
                background: var(--gray-100);
                color: var(--gray-700);
            }

            .cfm-action-btn.style-cancel:hover {
                background: var(--gray-200);
                color: var(--gray-800);
            }

            .cfm-action-btn.style-confirm {
                background: var(--danger);
                color: var(--white);
            }

            .cfm-action-btn.style-confirm:hover {
                background: #dc2626;
            }

            .cfm-action-btn.style-confirm.theme-success {
                background: var(--success);
            }

            .cfm-action-btn.style-confirm.theme-info {
                background: var(--info);
            }

            /* Loading State */

            .cfm-action-btn.is-loading {
                pointer-events: none;
                opacity: 0.7;
            }

            .cfm-action-btn .btn-label {
                transition: opacity 0.2s ease;
            }

            .cfm-action-btn.is-loading .btn-label {
                opacity: 0;
            }

            .cfm-action-btn .spinner-element {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 16px;
                height: 16px;
                border: 2px solid rgba(255, 255, 255, 0.3);
                border-top: 2px solid var(--white);
                border-radius: 50%;
                animation: cfm-spin 1s linear infinite;
                opacity: 0;
            }

            .cfm-action-btn.is-loading .spinner-element {
                opacity: 1;
            }

            @keyframes cfm-spin {
                0% {
                    transform: translate(-50%, -50%) rotate(0deg);
                }

                100% {
                    transform: translate(-50%, -50%) rotate(360deg);
                }
            }

            /* Success State */

            .cfm-action-btn .check-icon {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%) scale(0);
                opacity: 0;
                transition: all 0.3s ease;
            }

            .cfm-action-btn.is-success .check-icon {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }

            .cfm-action-btn.is-success .btn-label {
                opacity: 0;
            }

            /* ========================================
           DEMO PAGE STYLES
        ======================================== */

            .showcase-wrapper {
                /* max-width: 1200px; */
                margin: 0 auto;
                padding: 40px 20px;
            }

            .showcase-header {
                text-align: center;
                margin-bottom: 50px;
            }

            .showcase-main-title {
                font-size: 36px;
                font-weight: 800;
                color: var(--text-primary);
                margin-bottom: 16px;
            }

            .showcase-subtitle {
                font-size: 18px;
                color: var(--text-secondary);
                margin-bottom: 30px;
            }

            .showcase-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                gap: 30px;
                margin-bottom: 40px;
            }

            .showcase-card {
                background: var(--white);
                border-radius: var(--border-radius-xl);
                padding: 30px;
                box-shadow: var(--shadow-md);
                border: 1px solid var(--gray-200);
            }

            .showcase-card-title {
                font-size: 20px;
                font-weight: 700;
                color: var(--text-primary);
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .showcase-card-desc {
                color: var(--text-secondary);
                margin-bottom: 25px;
                line-height: 1.6;
                font-size: 14px;
            }

            .showcase-button-list {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }

            .showcase-trigger-btn {
                padding: 12px 20px;
                border-radius: var(--border-radius);
                font-weight: 600;
                font-size: 14px;
                cursor: pointer;
                border: none;
                transition: all 0.2s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }

            .showcase-trigger-btn:hover {
                transform: translateY(-1px);
                box-shadow: var(--shadow-md);
            }

            .showcase-trigger-btn.variant-danger {
                background: var(--danger);
                color: var(--white);
            }

            .showcase-trigger-btn.variant-success {
                background: var(--success);
                color: var(--white);
            }

            .showcase-trigger-btn.variant-warning {
                background: var(--warning);
                color: var(--white);
            }

            .showcase-trigger-btn.variant-info {
                background: var(--info);
                color: var(--white);
            }

            .showcase-trigger-btn.variant-primary {
                background: var(--primary);
                color: var(--white);
            }

            /* Sample Table */

            .data-display-table {
                background: var(--white);
                border-radius: var(--border-radius-xl);
                overflow: hidden;
                box-shadow: var(--shadow-md);
                border: 1px solid var(--gray-200);
                margin-bottom: 30px;
            }

            .data-table-header {
                background: var(--gray-800);
                color: var(--white);
                padding: 20px 25px;
                font-weight: 600;
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .data-table {
                width: 100%;
                border-collapse: collapse;
            }

            .data-table th {
                background: var(--gray-50);
                padding: 15px;
                text-align: left;
                font-weight: 600;
                color: var(--text-primary);
                border-bottom: 1px solid var(--gray-200);
                font-size: 14px;
            }

            .data-table td {
                padding: 15px;
                border-bottom: 1px solid var(--gray-200);
                vertical-align: middle;
                font-size: 14px;
            }

            .data-table tr:hover {
                background: var(--gray-50);
            }

            .data-table-mini-btn {
                width: 32px;
                height: 32px;
                border: none;
                border-radius: var(--border-radius);
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                transition: all 0.2s ease;
                margin-right: 5px;
            }

            .data-table-mini-btn:hover {
                transform: translateY(-1px);
            }

            .data-table-mini-btn.action-delete {
                background: rgba(239, 68, 68, 0.1);
                color: var(--danger);
            }

            .data-table-mini-btn.action-delete:hover {
                background: var(--danger);
                color: var(--white);
            }

            .status-indicator {
                padding: 4px 8px;
                border-radius: 12px;
                font-size: 12px;
                font-weight: 600;
                text-transform: uppercase;
            }

            .status-active {
                background: rgba(34, 197, 94, 0.1);
                color: #15803d;
            }

            .status-pending {
                background: rgba(245, 158, 11, 0.1);
                color: #d97706;
            }

            .status-scheduled {
                background: rgba(59, 130, 246, 0.1);
                color: #2563eb;
            }

            /* Success State Animations */

            .cfm-status-icon.animated-success {
                animation: cfm-successIconPulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
                transform-origin: center;
            }

            .cfm-status-icon.animated-success i {
                animation: cfm-checkmarkPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
                transform-origin: center;
            }

            .cfm-status-icon.animated-success::after {
                content: '';
                position: absolute;
                top: -8px;
                left: -8px;
                width: 64px;
                height: 64px;
                border: 3px solid var(--success);
                border-radius: 50%;
                opacity: 0;
                animation: cfm-successCircleExpand 1.2s ease-out 0.1s both;
            }

            @keyframes cfm-successIconPulse {
                0% {
                    transform: scale(0);
                    opacity: 0;
                }

                50% {
                    transform: scale(1.15);
                    opacity: 0.8;
                }

                100% {
                    transform: scale(1);
                    opacity: 1;
                }
            }

            @keyframes cfm-checkmarkPop {
                0% {
                    transform: scale(0);
                    opacity: 0;
                }

                50% {
                    transform: scale(1.3);
                    opacity: 0.8;
                }

                70% {
                    transform: scale(0.9);
                    opacity: 1;
                }

                100% {
                    transform: scale(1);
                    opacity: 1;
                }
            }

            @keyframes cfm-successCircleExpand {
                0% {
                    transform: scale(0.6);
                    opacity: 0;
                }

                30% {
                    opacity: 0.4;
                    transform: scale(0.8);
                }

                60% {
                    opacity: 0.2;
                    transform: scale(1.1);
                }

                100% {
                    transform: scale(1.3);
                    opacity: 0;
                }
            }

            /* Auto dismiss indicator */

            .cfm-auto-close {
                margin-top: 16px;
                font-size: 12px;
                color: var(--text-secondary);
                opacity: 0.7;
                text-align: center;
            }

            .cfm-countdown {
                display: inline-block;
                min-width: 8px;
                text-align: center;
                font-weight: 600;
            }

            /* Single button state */

            .cfm-actions.layout-single {
                justify-content: center;
            }

            .cfm-actions.layout-single .cfm-action-btn {
                flex: 0 0 auto;
                min-width: 120px;
            }

            /* Toast Notification */

            .notification-toast {
                position: fixed;
                top: 20px;
                right: 20px;
                background: var(--success);
                color: var(--white);
                padding: 16px 20px;
                border-radius: var(--border-radius);
                box-shadow: var(--shadow-lg);
                z-index: 10000;
                transform: translateX(400px);
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                gap: 12px;
                font-weight: 500;
                max-width: 300px;
            }

            .notification-toast.is-visible {
                transform: translateX(0);
            }

            .notification-toast.type-error {
                background: var(--danger);
            }

            /* Responsive Design */

            @media (max-width: 768px) {
                .cfm-window {
                    width: 95%;
                    margin: 20px;
                }

                .cfm-body {
                    padding: 40px 20px 20px;
                }

                .cfm-actions {
                    flex-direction: column;
                }

                .showcase-grid {
                    grid-template-columns: 1fr;
                }

                .showcase-wrapper {
                    padding: 20px 15px;
                }

                .data-table th,
                .data-table td {
                    padding: 10px;
                    font-size: 13px;
                }
            }

            @media (max-width: 480px) {
                .flex-sm-column {
                    flex-direction: column;
                }

                .showcase-main-title {
                    font-size: 28px;
                }

                .cfm-body {
                    padding: 36px 16px 16px;
                }

                .cfm-heading {
                    font-size: 16px;
                }

                .cfm-description {
                    font-size: 13px;
                }
            }

            /* RTI Filter Dropdown Styles */

            .reports-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;
                flex-wrap: wrap;
                gap: 15px;
            }

            .rti-filter-dropdown-container {
                position: relative;
            }

            .rti-filter-dropdown-btn {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 8px 16px;
                background: #fff;
                border: 1px solid #ddd;
                border-radius: 6px;
                cursor: pointer;
                font-size: 14px;
                color: #333;
                transition: all 0.3s ease;
                min-width: 150px;
                justify-content: space-between;
            }

            .rti-filter-dropdown-btn:hover {
                border-color: var(--primary) !important;
                background: #f8f9fa;
            }

            .rti-filter-dropdown-btn i {
                transition: transform 0.3s ease;
                font-size: 12px;
            }

            .rti-filter-dropdown.active .rti-filter-dropdown-btn i {
                transform: rotate(180deg);
            }

            .rti-filter-dropdown-menu {
                position: absolute;
                top: 100%;
                right: 0;
                background: #fff;
                border: 1px solid #ddd;
                border-radius: 6px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                z-index: 1000;
                min-width: 150px;
                opacity: 0;
                visibility: hidden;
                transform: translateY(-10px);
                transition: all 0.3s ease;
            }

            .rti-filter-dropdown.active .rti-filter-dropdown-menu {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .rti-filter-dropdown-item {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 12px 16px;
                text-decoration: none;
                color: #333;
                transition: all 0.3s ease;
                border-bottom: 1px solid #f0f0f0;
                cursor: pointer;
            }

            .rti-filter-dropdown-item:last-child {
                border-bottom: none;
            }

            .rti-filter-dropdown-item:hover {
                background: #f8f9fa;
                color: #333;
            }

            .rti-filter-dropdown-item.active {
                background: var(--primary) !important;
                color: #fff;
            }

            .rti-filter-dropdown-item i {
                font-size: 14px;
                width: 16px;
                text-align: center;
            }

            @media (max-width: 768px) {
                .reports-header {
                    flex-direction: column;
                    align-items: stretch;
                }

                .rti-filter-dropdown-container {
                    align-self: flex-end;
                }

                .rti-filter-dropdown-menu {
                    right: 0;
                    left: auto;
                }
            }

            /* ----------- laq style start--------- */
            /* Desktop Layout */

            .form-layout {
                display: grid;
                grid-template-columns: 380px 1fr;
                gap: 25px;
                margin-bottom: 20px;
                align-items: start;
            }

            /* Left Column - Basic Information */

            .left-column {
                position: sticky;
                top: 20px;
                height: fit-content;
                overflow: visible;
            }

            /* Right Column - Questions */

            .right-column {
                min-height: 100vh;
            }

            .form-section {
                background: var(--white);
                border-radius: 12px;
                padding: 20px;
                margin-bottom: 20px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                border: 1px solid var(--gray-200);
                overflow: visible;
                position: relative;
            }

            .section-title {
                font-size: 16px;
                font-weight: 700;
                color: var(--dark-green);
                margin-bottom: 15px;
                padding-bottom: 8px;
                /* border-bottom: 2px solid var(--border); */
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .section-title i {
                color: var(--primary);
            }

            /* Form Groups */
            /* .form-group {
            margin-bottom: 18px;
        } */
            /* Form Validation */

            .form-control.is-invalid,
            .select2-container--default.is-invalid .select2-selection--single {
                border-color: var(--danger) !important;
                box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
            }

            .form-control.is-valid,
            .select2-container--default.is-valid .select2-selection--single {
                border-color: var(--success) !important;
                box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
            }

            .invalid-feedback {
                display: block;
                color: var(--danger);
                font-size: 11px;
                margin-top: 4px;
                font-weight: 500;
            }

            .valid-feedback {
                display: block;
                color: var(--success);
                font-size: 11px;
                margin-top: 4px;
                font-weight: 500;
            }

            /* Dynamic Question Block Styling */

            .question-block {
                background: var(--gray-50);
                border: 2px solid var(--gray-200);
                border-radius: 10px;
                padding: 16px;
                margin-bottom: 16px;
                position: relative;
                transition: all 0.3s ease;
            }

            .question-block:hover {
                border-color: var(--primary);
                box-shadow: 0 4px 12px rgba(124, 179, 66, 0.1);
            }

            .question-block-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 12px;
                padding-bottom: 8px;
                border-bottom: 1px solid var(--gray-300);
            }

            .question-block-title {
                font-weight: 700;
                color: var(--dark-green);
                font-size: 14px;
                display: flex;
                align-items: center;
                gap: 6px;
            }

            .question-block-remove {
                background: var(--danger);
                color: white;
                border: none;
                width: 28px;
                height: 28px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.3s ease;
                font-size: 12px;
            }

            .question-block-remove:hover {
                background: #dc2626;
                transform: scale(1.1);
            }

            /* Conditional fields styling */

            .conditional-fields {
                display: none;
                animation: fadeIn 0.3s ease;
            }

            .conditional-fields.show {
                display: block;
            }

            /* Force Select2 dropdown to always open downward */




            @keyframes fadeIn {
                from {
                    opacity: 0;
                    transform: translateY(-10px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .page-header h1 {
                /* color: var(--dark-green); */
                font-weight: 800;
                margin-bottom: 8px;
                font-size: 28px;
            }

            .page-header p {
                /* color: var(--gray-600); */
                font-size: 15px;
            }

            /* Add question button special styling */

            .add-question-btn {
                background: #653695e0 !important;
                border: none;
                color: white !important;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                box-shadow: 0 3px 12px rgba(124, 179, 66, 0.3);
                width: 100%;
                margin-bottom: 16px;
            }

            .add-question-btn:hover {
                background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-green) 100%);
                transform: translateY(-2px);
                /* box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4); */
                color: #fff !important;
            }

            /* Question counter */

            .question-counter {
                background: var(--accent-orange);
                color: white;
                font-size: 11px;
                font-weight: 700;
                padding: 3px 7px;
                border-radius: 10px;
                min-width: 20px;
                text-align: center;
            }

            /* Questions section special styling */

            .questions-section {
                min-height: 400px;
            }

            .empty-questions-state {
                text-align: center;
                padding: 40px 15px;
                color: var(--gray-500);
                border: 2px dashed var(--gray-300);
                border-radius: 10px;
                background: var(--gray-50);
            }

            .empty-questions-state i {
                font-size: 40px;
                margin-bottom: 12px;
                color: var(--gray-400);
            }

            .empty-questions-state h4 {
                margin-bottom: 8px;
                color: var(--gray-600);
                font-size: 16px;
            }

            /* Compact Actions Section */

            .questions-actions {
                margin-top: 20px;
                padding: 15px;
                background: var(--gray-50);
                border-radius: 8px;
                border: 1px solid var(--gray-200);
            }

            .questions-actions-title {
                font-size: 14px;
                font-weight: 600;
                color: var(--dark-green);
                margin-bottom: 12px;
                text-align: center;
            }

            .questions-actions-container {
                display: flex;
                gap: 8px;
                justify-content: center;
                flex-wrap: wrap;
            }

            .action-btn-small {
                padding: 8px 14px;
                font-size: 12px;
                font-weight: 600;
                border-radius: 6px;
                border: none;
                cursor: pointer;
                transition: all 0.3s ease;
                display: inline-flex;
                align-items: center;
                gap: 4px;
                min-width: 90px;
                justify-content: center;
            }

            .action-btn-small:hover {
                transform: translateY(-1px);
                box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
            }

            .action-submit-small {
                background: var(--success);
                color: white;
            }

            .action-submit-small:hover {
                background: #16a34a;
            }

            .action-preview-small {
                background: var(--info);
                color: white;
            }

            .action-preview-small:hover {
                background: #653695e0;
            }

            .action-draft-small {
                background: var(--warning);
                color: white;
            }

            .action-draft-small:hover {
                background: #d97706;
            }

            .action-reset-small {
                background: transparent;
                color: var(--danger);
                border: 1px solid var(--danger);
            }

            .action-reset-small:hover {
                background: var(--danger);
                color: white;
            }

            /* Left Column Fixed Header */

            .left-column-header {
                background: #2c3e50;
                color: white;
                padding: 15px;
                border-radius: 12px 12px 0 0;
                margin: -20px -20px 15px -20px;
                text-align: center;
            }

            .left-column-header h3 {
                margin: 0;
                font-weight: 700;
                font-size: 16px;
            }

            .left-column-header p {
                margin: 4px 0 0 0;
                opacity: 0.9;
                font-size: 13px;
            }

            /* Right Column Header */

            .right-column-header {
                background: #2c3e50;
                color: white;
                padding: 15px 15px;
                border-radius: 12px 12px 0 0;
                margin: -20px -20px 15px -20px;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .right-column-header h3 {
                margin: 0;
                font-weight: 700;
                font-size: 16px;
                display: flex;
                align-items: center;
                gap: 8px;
            }

            /* Mobile Responsive Fixes */

            @media (max-width: 1024px) {
                .form-layout {
                    grid-template-columns: 1fr;
                    gap: 15px;
                }

                .left-column {
                    position: static;
                    order: 1;
                    overflow: visible;
                }

                .right-column {
                    min-height: auto;
                    order: 2;
                }
            }

            @media (max-width: 768px) {
                .page-header h1 {
                    font-size: 24px;
                }

                .page-header p {
                    font-size: 14px;
                }

                .form-section {
                    padding: 15px;
                    margin-bottom: 15px;
                    overflow: visible;
                }

                .left-column-header,
                .right-column-header {
                    margin: -15px -15px 12px -15px;
                    padding: 12px;
                }

                .left-column-header h3,
                .right-column-header h3 {
                    font-size: 15px;
                }

                .section-title {
                    font-size: 15px;
                }

                .questions-actions-container {
                    flex-direction: column;
                    gap: 6px;
                }

                .action-btn-small {
                    min-width: 100%;
                    padding: 10px 14px;
                    font-size: 13px;
                }

                .add-question-btn {
                    font-size: 14px;
                    padding: 12px;
                }

                .question-block {
                    padding: 12px;
                }

                .question-block-header {
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-between;
                    gap: 8px;
                }

                .question-block-remove {
                    flex-shrink: 0;
                }

                .input-icon {
                    left: 14px;
                    font-size: 14px;
                }
            }

            @media (max-width: 480px) {
                .status-grid {
                    grid-template-columns: repeat(1, 1fr) !important;
                }

                .page-header h1 {
                    font-size: 20px;
                }

                .form-section {
                    padding: 12px;
                }

                .left-column-header,
                .right-column-header {
                    margin: -12px -12px 10px -12px;
                    padding: 10px;
                }

                .question-block {
                    padding: 10px;
                }

                .empty-questions-state {
                    padding: 30px 10px;
                }

                .empty-questions-state i {
                    font-size: 32px;
                }

                .empty-questions-state h4 {
                    font-size: 14px;
                }
            }

            @media (min-width: 500px) and (max-width: 768px) {
                .status-grid {
                    grid-template-columns: repeat(2, 1fr) !important;
                }
            }

            @media (min-width: 1300px) and (max-width: 1400px) {
                .status-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .vehicle-info-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .course-module {
                    min-height: 110px !important;
                }

                .form-title {
                    font-size: 19px !important;
                    font-weight: 600 !important;
                }

                .claims-header h4 {
                    font-weight: 600 !important;
                }

                .form-header {
                    padding: 15px 30px 15px 24px !important;
                }

                .content-title {
                    font-size: 15px !important;
                }

                .content-title-table {
                    font-size: 18px !important;
                }

                .form-body {
                    padding: 22px 30px !important;
                }

                .form-grid {
                    gap: 20px 24px !important;
                    margin-bottom: 4px !important;
                }

                .section {
                    margin-bottom: 10px !important;
                }

                .form-header {
                    padding: 16px 40px !important;
                }

                .multiselect-container {
                    min-height: 39px !important;
                    padding: 0px 8px !important;
                }

                .form-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .metrics-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .form-row {
                    /* gap: 0px !important; */
                    margin-bottom: 0px !important;
                    border-bottom: 0px !important;
                }
            }

            @media (min-width: 1401px) and (max-width: 1499px) {
                .status-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .vehicle-info-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .flex-dir-col {
                    flex-direction: column !important;
                }

                .w-100-1200 {
                    width: 100% !important;
                }

                .card-header-simple h3 {
                    font-weight: 600 !important;
                }

                .course-module__connector--right-corner::after {
                    content: "";
                    position: absolute;
                    display: none;
                    top: 126px !important;
                    left: 114px !important;
                    border: 0.7rem solid transparent;
                    border-top-color: #F75757;
                }

                .record-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .form-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .metrics-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .form-title {
                    font-size: 19px !important;
                    font-weight: 600 !important;
                }

                .claims-header h4 {
                    font-weight: 600 !important;
                }

                .form-header {
                    padding: 15px 30px 15px 24px !important;
                }

                .form-body {
                    padding: 15px 30px !important;
                }

                .content-title {
                    font-size: 19px;
                    font-size: 600;
                }

                .content-title-table {
                    font-size: 19px;
                    font-size: 600;
                }

                .reports-title {
                    font-size: 21px !important;
                }

                .reports-header {
                    margin-bottom: 10px !important;
                }

                .course-module {
                    min-height: 90px !important;
                }
            }

            @media (min-width: 1500px) and (max-width: 1600px) {
                .status-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .course-module__connector--right-corner::after {
                    content: "";
                    position: absolute;
                    display: none;
                    top: 110px !important;
                    left: 132px !important;
                    border: 0.7rem solid transparent;
                    border-top-color: #F75757;
                }

                .case-summary-container {}

                .document-title {
                    font-size: 22px;
                }

                .content-title {
                    font-size: 17px !important;
                }

                .content-title-table {
                    font-size: 22px !important;
                }

                .flex-dir-col {
                    flex-direction: column !important;
                }

                .w-100-1200 {
                    width: 100% !important;
                }

                .form-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .info-grid {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    gap: 20px;
                }

                .form-row {
                    gap: 20px;
                }

                .form-title {
                    font-size: 19px !important;
                    font-weight: 600 !important;
                }

                .claims-header h4 {
                    font-weight: 600 !important;
                }

                .form-header {
                    padding: 15px 30px 15px 24px !important;
                }

                .form-body {
                    padding: 22px 30px !important;
                }

                .form-grid {
                    gap: 20px 24px !important;
                    margin-bottom: 24px !important;
                }

                .section {
                    margin-bottom: 10px !important;
                }

                .form-header {
                    padding: 12px 30px !important;
                }

                .multiselect-container {
                    min-height: 39px !important;
                    padding: 0px 8px !important;
                }

                .metrics-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .course-module {
                    min-height: 80px !important;
                }
            }

            @media (min-width: 1700px) and (max-width: 2000px) {

                .stepper-line {
                    position: absolute;
                    top: 55px !important;
                    left: 120px !important;
                    right: 120px !important;
                    height: 3px !important;
                    background: #e5e7eb !important;
                    border-radius: 1.5px !important;
                    z-index: 1 !important;
                }

                .vehicle-info-grid {
                    grid-template-columns: repeat(5, 1fr) !important;
                }

                .status-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .metrics-grid {
                    grid-template-columns: repeat(4, 1fr) !important;
                }

                .flex-dir-col {
                    flex-direction: column !important;
                }

                .w-100-1200 {
                    width: 100% !important;
                }

                .form-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }
            }

            @media (min-width: 1201px) and (max-width: 1300px) {

                .profile-content {
                    flex-direction: column !important;
                }

                .applicant-photo {
                    width: 120px;
                    height: 120px !important;
                    object-fit: cover;
                    display: block;
                }

                .vehicle-info-grid {
                    grid-template-columns: repeat(3, 1fr) !important;
                }

                .flex-dir-col {
                    flex-direction: column !important;
                }

                .legal-case-header {
                    flex-direction: column !important;
                    align-items: flex-start !important;
                }

                .course-module__connector--right-corner::after {
                    content: "";
                    position: absolute;
                    display: none;
                    top: 140px !important;
                    left: 78px !important;
                    border: 0.7rem solid transparent;
                    border-top-color: #F75757;
                }

                .w-100-1200 {
                    width: 100% !important;
                }

                .record-grid {
                    grid-template-columns: repeat
                }

                .form-label {
                    font-size: 12px !important;
                }

                .page-title {
                    font-size: 22px !important;
                    font-weight: 600 !important;
                    color: var(--dark-green);
                    margin-bottom: 6px;
                }

                .page-subtitle {
                    color: var(--gray-500);
                    font-size: 13px !important;
                }

                .course-module {
                    min-height: 107px !important;
                }
            }

            @media (min-width: 1301px) and (max-width: 1400px) {
                .flex-dir-col {
                    flex-direction: column !important;
                }

                .w-100-1200 {
                    width: 100% !important;
                }

                .course-module__connector--right-corner::after {
                    content: "";
                    position: absolute;
                    display: none;
                    top: 140px !important;
                    left: 98px !important;
                    border: 0.7rem solid transparent;
                    border-top-color: #F75757;
                }
            }

            .cursor-pointer {
                cursor: pointer !important;
            }

            .upload-label-outside.required::after {
                content: '*' !important;
                color: var(--danger) !important;
                margin-left: 4px !important;
            }

            /* ----------- section16 ----------  */

            .case-summary {
                background: var(--white);
                border-radius: 10px;
                padding: 0;
                /* max-width: 900px; */
                width: 100%;
                box-shadow: var(--shadow-sm);
                overflow: hidden;
                border: 2px solid #e8e8e8;
            }

            .case-summarys {
                background: var(--white);
                border-radius: 10px;
                padding: 0;
                /* max-width: 900px; */
                /* width: 100%; */
                box-shadow: var(--shadow-sm);
                overflow: hidden;
                border: 2px solid #e3e3e3;
            }

            .summary-header {
                background: var(--gray-100);
                padding: 16px 24px;
                display: flex;
                align-items: center;
                border-radius: 10px;
            }

            .header-symbol {
                width: 33px;
                height: 33px;
                background: #2c3e50;
                border-radius: 8px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 10px;
                box-shadow: var(--shadow);
            }

            .header-symbol i {
                color: var(--white);
                font-size: 16px;
            }

            .header-text h3 {
                color: var(--text-primary);
                font-size: 17px;
                font-weight: 600;
                margin: 0;
            }

            .header-text p {
                color: var(--text-secondary);
                font-size: 0.9rem;
                margin: 0;
                font-weight: 400;
            }

            .summary-content {
                padding: var(--spacing-xl);
            }

            .data-wrapper {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: var(--spacing-xl);
            }

            .data-section {
                position: relative;
                padding-left: var(--spacing-md);
                overflow: hidden;
            }

            .data-section::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                width: 4px;
                background: var(--secondary);
                border-radius: 2px;
            }

            .data-row {
                display: flex;
                align-items: center;
                padding: var(--spacing-md) 0;
            }

            .data-row:last-child {
                border-bottom: none;
            }

            .row-icon {
                color: var(--primary);
                font-size: 1rem;
                margin-right: var(--spacing-sm);
                width: 16px;
                text-align: center;
            }

            .row-label {
                color: var(--text-secondary);
                font-size: 0.9rem;
                font-weight: 500;
                min-width: 120px;
                margin-right: var(--spacing-md);
            }

            .row-label .mandatory {
                color: var(--danger);
                margin-left: 2px;
            }

            .row-data {
                color: var(--text-primary);
                font-size: 0.95rem;
                font-weight: 600;
                flex: 1;
                text-align: right;
            }

            .status-chip {
                background: var(--success);
                color: var(--white);
                padding: 6px 16px;
                border-radius: 20px;
                font-size: 0.75rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                display: inline-flex;
                align-items: center;
                box-shadow: var(--shadow);
            }

            .status-chip::before {
                content: '';
                width: 6px;
                height: 6px;
                background: var(--white);
                border-radius: 50%;
                margin-right: 6px;
            }

            @media (max-width: 768px) {
                .data-wrapper {
                    grid-template-columns: 1fr;
                    gap: var(--spacing-lg);
                }

                .data-row {
                    flex-direction: column;
                    align-items: flex-start;
                    padding: var(--spacing-sm) 0;
                }

                .row-label {
                    min-width: auto;
                    margin-right: 0;
                    margin-bottom: 4px;
                }

                .row-data {
                    text-align: left;
                }

                .summary-header {
                    padding: var(--spacing-md);
                }

                .summary-content {
                    padding: var(--spacing-lg);
                }
            }

            @media (max-width: 480px) {
                .header-text h3 {
                    font-size: 1.25rem;
                }

                .header-symbol {
                    width: 28px;
                    height: 28px;
                }

                .header-symbol i {
                    font-size: 1rem;
                }
            }

            .section-title {
                font-size: 1.1rem;
                font-weight: 600;
                color: var(--primary-dark);
                margin-bottom: var(--spacing-md);
                display: flex;
                align-items: center;
            }

            .section-title i {
                margin-right: var(--spacing-sm);
                font-size: 1rem;
            }

            .data-grid {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                /* gap: 60px; */
            }

            .data-grids {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0px;
            }

            .data-item {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                padding: var(--spacing-md) 0;
                transition: all 0.2s ease;
                position: relative;
            }

            /* .data-item:last-child {
                                                                                                                                                                                                                border-bottom: none;
                                                                                                                                                                                                                padding-bottom: 0;
                                                                                                                                                                                                                padding-top: 10px;
                                                                                                                                                                                                            } */

            .data-label-group {
                display: flex;
                align-items: center;
                /* flex: 1; */
            }

            .data-icon {
                color: var(--primary);
                font-size: 1rem;
                margin-right: var(--spacing-sm);
                width: 16px;
                text-align: center;
                transition: all 0.3s ease;
            }

            .data-label {
                color: var(--text-secondary);
                font-size: 14px;
                font-weight: 600;
                transition: color 0.2s ease;
            }

            .data-value {
                color: var(--text-primary);
                font-size: 14px;
                font-weight: 600;
                text-align: left;
                /* flex-shrink: 0; */
                /* margin-left: 50px; */
                transition: all 0.2s ease;
                /* flex: 1; */
            }

            /* .data-item:hover .data-value {
                                                        color: var(--primary-dark);
                                                        transform: scale(1.02);
                                                    } */

            @keyframes pulse {

                0%,
                100% {
                    opacity: 1;
                    transform: scale(1);
                }

                50% {
                    opacity: 0.7;
                    transform: scale(0.9);
                }
            }

            @media (max-width: 768px) {
                .data-grid {
                    grid-template-columns: 1fr;
                    gap: var(--spacing-md);
                }

                .data-item {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: var(--spacing-sm);
                }

                .data-value {
                    text-align: left;
                    margin-left: 1.5rem !important;
                }

                .view-header {
                    padding: var(--spacing-lg);
                }

                .view-content {
                    padding: var(--spacing-lg);
                }

                .view-title {
                    font-size: 1.5rem;
                    flex-direction: column;
                    gap: var(--spacing-sm);
                }
            }

            @media (max-width: 480px) {
                .summary-stats {
                    grid-template-columns: 1fr;
                }
            }

            /* Tooltip styles */

            .tooltip {
                position: absolute;
                bottom: 120%;
                left: 50%;
                transform: translateX(-50%);
                background: rgba(0, 0, 0, 0.8);
                color: white;
                padding: 0.25rem 0.5rem;
                border-radius: var(--radius);
                font-size: 0.6rem;
                white-space: nowrap;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease;
                z-index: 1000;
            }

            /* Add this for the arrow pointing down */

            .tooltip::after {
                content: '';
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border: 4px solid transparent;
                border-top-color: rgba(0, 0, 0, 0.8);
            }

            .table-action-btn:hover .tooltip {
                opacity: 1;
            }

            .total-count {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                margin-bottom: 20px;
                gap: 20px;
            }

            .content-title-table-fca {
                font-size: 18px;
                font-weight: 600;
                margin: 0;
                color: #333;
                padding-top: 10px;
                position: relative;
            }

            .stat-number {
                font-weight: bold;
                font-size: 20px;
                margin-left: 5px;
            }

            .stat-green {
                color: #28a745;
                /* green */
            }

            .stat-orange {
                color: #fd7e14;
                /* orange */
            }

            .case-filters {
                background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-dark) 100%);
                color: var(--white);
                text-align: start;
                position: relative;
                overflow: hidden;
            }

            .arms-entry {
                border: 1px solid var(--border-light);
                border-radius: 6px;
                margin-bottom: 1rem;
                overflow: hidden;
                transition: all 0.3s ease;
                background: var(--bg-white);
            }

            .arms-entry:hover {
                border-color: var(--primary);
                box-shadow: var(--shadow-md);
            }

            .entry-toggle {
                background: var(--gray-50);
                padding: 8px 1.5rem;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: all 0.3s ease;
                border-bottom: 1px solid var(--border-light);
            }

            .entry-toggle:hover {
                background: var(--gray-100);
            }

            .entry-toggle.active {
                background: #653695e0;
                color: var(--white);
                border-bottom-color: #653695e0;
            }

            .toggle-left {
                display: flex;
                align-items: center;
                gap: 1rem;
            }

            .entry-number {
                background: var(--primary);
                color: var(--white);
                width: 28px;
                height: 28px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.875rem;
                font-weight: 600;
            }

            .entry-toggle.active .entry-number {
                background: var(--white);
                color: var(--accent-blue);
            }

            .entry-name {
                font-weight: 600;
                font-size: 14px;
            }

            .entry-preview {
                font-size: 0.875rem;
                color: var(--text-secondary);
                margin-left: 0.5rem;
            }

            .entry-toggle.active .entry-preview {
                color: var(--gray-200);
            }

            .chevron {
                transition: transform 0.3s ease;
                font-size: 12px;
                color: var(--gray-500);
            }

            .entry-toggle.active .chevron {
                transform: rotate(180deg);
                color: var(--white);
            }

            .entry-content {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease;
                background: var(--bg-white);
            }

            .entry-content.active {
                max-height: 400px;
            }

            .entry-details {
                padding: 2rem 1.5rem;
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 1.5rem;
            }

            .detail-card {
                background: var(--card-bg);
                padding: 1.25rem;
                border-radius: 10px;
                text-align: center;
                border: 1px solid var(--border-light);
                transition: all 0.3s ease;
            }

            .detail-card:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-sm);
            }

            .detail-card:nth-child(1) {
                border-top: 3px solid var(--info);
            }

            .detail-card:nth-child(2) {
                border-top: 3px solid var(--purple);
            }

            .detail-card:nth-child(3) {
                border-top: 3px solid var(--teal);
            }

            .detail-card:nth-child(4) {
                border-top: 3px solid var(--secondary);
            }

            .detail-value {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: 0.5rem;
                color: var(--text-dark);
            }

            .detail-label {
                font-size: 0.8rem;
                color: var(--text-secondary);
                text-transform: uppercase;
                letter-spacing: 0.5px;
                font-weight: 500;
            }

            @media (max-width: 768px) {
                .entry-details {
                    grid-template-columns: 1fr;
                    padding: 1.5rem 1rem;
                }
            }

            .fade-in {
                animation: fadeIn 0.6s ease-out;
            }

            @keyframes fadeIn {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .answer-section {
                /* border-top: 1px solid var(--gray-200); */
                background: var(--white);
            }

            .answer-toggle.expanded {
                background: linear-gradient(135deg, rgba(124, 179, 66, 0.08) 0%, rgba(124, 179, 66, 0.04) 100%);
                color: var(--primary);
                /* border-bottom-color: var(--primary-light); */
            }

            .answer-toggle {
                width: 100%;
                background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
                /* background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%); */
                border: none;
                padding: var(--spacing-md) var(--spacing-lg);
                display: flex;
                align-items: center;
                justify-content: space-between;
                cursor: pointer;
                transition: all 0.3s ease;
                color: var(--gray-700);
                font-weight: 600;
                font-size: 14px;
                border-bottom: 1px solid var(--gray-100);
                /* border-bottom: 1px solid var(--gray-100); */
            }

            .answer-content.expanded {
                max-height: 1000px;
            }

            .answer-content {
                /* max-height: 0; */
                overflow: hidden;
                transition: max-height 0.3s ease;
                background: var(--gray-50);
                /* max-height: 0; */
                overflow: hidden;
                transition: max-height 0.3s ease;
                /* background: var(--gray-50); */
            }

            .answer-form {
                padding: var(--spacing-lg);
            }

            .char-counter {
                text-align: right;
                font-size: 11px;
                color: var(--gray-500);
                margin-top: 4px;
            }

            .question-actions {
                display: flex;
                gap: var(--spacing-sm);
                margin-top: var(--spacing-md);
                flex-wrap: wrap;
            }


            .answer-display {
                background: var(--white);
                border: 2px solid var(--success);
                border-radius: var(--border-radius);
                padding: var(--spacing-lg);
            }

            .answer-display h4 {
                font-size: 14px;
                font-weight: 600;
                color: var(--success);
                margin: 0 0 var(--spacing-sm) 0;
                display: flex;
                align-items: center;
                gap: var(--spacing-sm);
            }


            /* --------------------- photography view page start -------------------   */

            .forest-app-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
                margin-bottom: 2rem;
            }

            .forest-app-card {
                background: var(--white);
                border-radius: 12px;
                padding: 0;
                box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
                border: 1px solid var(--border);
                overflow: hidden;
                transition: all 0.3s ease;
            }

            .forest-app-card-header {
                padding: 15px 24px;
                border-bottom: 1px solid var(--border);
                /* margin-bottom: 10px; */
                background: #dfdfdf;
            }

            .forest-app-card-title {
                font-size: 18px;
                font-weight: 700;
                color: #323232;
                margin-bottom: 0;
                display: flex;
                align-items: center;
            }

            .forest-app-card-title i {
                /* width: 20px; */
                margin-right: 0.75rem;
                color: var(--primary);
                display: none;
            }

            .forest-app-card-desc {
                font-size: 0.85rem;
                color: var(--text-secondary);
                margin: 0;
                display: none;
            }

            .forest-app-card-body {
                padding: 0 1.5rem 0 1.5rem;
            }

            .forest-app-info-row {
                display: flex;
                /* justify-content: space-between; */
                align-items: center;
                padding: 0.75rem 0;
                /* border-bottom: 1px solid var(--border); */
            }

            .forest-app-info-row:last-child {
                border-bottom: none;
            }

            .forest-app-info-label {
                font-size: 0.85rem;
                color: var(--text-secondary);
                font-weight: 600;
                display: flex;
                align-items: center;
                /* min-width: 40%; */
            }

            .forest-app-info-label img {
                margin-right: 0.5rem;
            }

            .forest-app-info-value {
                font-size: 0.9rem;
                color: #653695e0 !important;
                font-weight: 700;
                text-align: right;
                /* max-width: 60%; */
                line-height: 1.4;
            }

            .forest-app-full-card {
                grid-column: 1 / -1;
            }

            .forest-app-sequence-section {
                background: var(--bg-light);
                border-radius: 8px;
                padding: 1.5rem;
                margin-top: 1rem;
                border: 1px solid var(--border);
            }

            .forest-app-sequence-title {
                font-size: 16px;
                font-weight: 600;
                color: var(--primary-dark);
                margin-bottom: 1rem;
                display: flex;
                align-items: center;
            }

            .forest-app-sequence-title img {
                margin-right: 0.5rem;
            }

            .forest-app-sequence-content {
                font-size: 0.95rem;
                line-height: 1.6;
                color: var(--text-primary);
            }

            .forest-app-stats-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
                gap: 1rem;
                margin-top: 1.5rem;
            }

            .forest-app-stat-box {
                background: var(--bg-light);
                border-radius: 8px;
                padding: 1rem;
                text-align: center;
                border: 1px solid var(--border);
                transition: all 0.3s ease;
            }

            .forest-app-stat-box:hover {
                border-color: var(--primary);
                transform: translateY(-2px);
            }

            .forest-app-stat-number {
                font-size: 1.5rem;
                font-weight: 700;
                color: var(--primary);
                display: block;
                margin-bottom: 0.25rem;
            }

            .forest-app-stat-label {
                font-size: 0.75rem;
                color: var(--text-secondary);
                font-weight: 500;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .forest-app-equipment-section {
                background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
                color: var(--white);
                border-radius: 12px;
                padding: 2rem;
                margin-top: 1rem;
                position: relative;
                overflow: hidden;
            }

            .forest-app-equipment-section::before {
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                width: 120px;
                height: 120px;
                background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
                border-radius: 50%;
                transform: translate(40px, -40px);
            }

            .forest-app-equipment-title {
                font-size: 1.1rem;
                font-weight: 600;
                margin-bottom: 1rem;
                position: relative;
                z-index: 2;
                display: flex;
                align-items: center;
            }

            .forest-app-equipment-title img {
                margin-right: 0.5rem;
            }

            .forest-app-equipment-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 1.5rem;
                position: relative;
                z-index: 2;
            }

            .forest-app-equipment-item {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 8px;
                padding: 1rem;
                border: 1px solid rgba(255, 255, 255, 0.2);
            }

            .forest-app-equipment-text {
                font-size: 0.9rem;
                line-height: 1.5;
                opacity: 0.95;
            }

            .forest-app-persons-section {
                background: var(--card-bg);
                border-radius: 16px;
                padding: 13px 25px;
                margin-top: 1.5rem;
                border: 2px solid var(--border);
            }

            .forest-app-persons-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 12px;
            }

            .forest-app-persons-title {
                font-size: 1.2rem;
                font-weight: 700;
                color: var(--primary-dark);
                margin: 0;
            }

            .forest-app-persons-note {
                font-size: 0.8rem;
                color: var(--text-secondary);
                margin-left: 0.5rem;
            }

            .forest-app-person-card {
                background: var(--white);
                border: 2px dashed var(--primary);
                border-radius: 12px;
                padding: 12px 24px;
                margin-bottom: 1rem;
            }

            .forest-app-person-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 8px;
            }

            .forest-app-person-label {
                font-size: 1rem;
                font-weight: 700;
                color: var(--primary);
            }

            .forest-app-add-btn {
                background: var(--primary);
                color: var(--white);
                border: none;
                padding: 0.5rem 1rem;
                border-radius: 6px;
                font-size: 0.85rem;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .forest-app-add-btn:hover {
                background: var(--primary-dark);
                transform: translateY(-1px);
            }

            .forest-app-person-grid {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 1rem;
            }

            /* .forest-app-person-field {
            background: var(--bg-light);
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid var(--border);
        } */

            .forest-app-field-label {
                font-size: 0.8rem;
                font-weight: 600;
                color: var(--primary-dark);
                margin-bottom: 0.5rem;
                /* text-transform: uppercase; */
                /* letter-spacing: 0.5px; */
                display: flex;
                align-items: center;
            }

            .forest-app-field-label img {
                margin-right: 0.5rem;
            }

            .forest-app-field-value {
                font-size: 0.9rem;
                color: var(--text-primary);
                font-weight: 500;
                line-height: 1.4;
            }

            .forest-app-file-value {
                display: flex;
                align-items: center;
                /* color: var(--danger); */
            }

            .forest-app-file-value i {
                margin-right: 0.5rem;
                color: var(--danger);
            }

            .forest-app-summary-bar {
                background: var(--white);
                border-radius: 12px;
                padding: 1.5rem;
                margin-top: 2rem;
                box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
                border: 1px solid var(--border);
            }

            .forest-app-summary-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1.5rem;
            }

            .forest-app-summary-item {
                text-align: center;
                padding: 1rem;
                border-radius: 8px;
                background: var(--bg-light);
                border: 1px solid var(--border);
                transition: all 0.3s ease;
            }

            .forest-app-summary-item:hover {
                border-color: var(--primary);
                transform: translateY(-2px);
            }

            .forest-app-summary-icon {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                background: var(--primary);
                color: var(--white);
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto 0.75rem auto;
                font-size: 1.1rem;
            }

            .forest-app-summary-number {
                font-size: 1.25rem;
                font-weight: 700;
                color: var(--primary-dark);
                margin-bottom: 0.25rem;
            }

            .forest-app-summary-label {
                font-size: 0.8rem;
                color: var(--text-secondary);
                font-weight: 500;
            }

            /* Responsive Design */
            @media (max-width: 768px) {
                .forest-app-container {
                    padding: 1rem 0.5rem;
                }

                .forest-app-grid {
                    grid-template-columns: 1fr;
                    gap: 1rem;
                }

                .forest-app-header {
                    padding: 1.5rem;
                }

                .forest-app-title {
                    font-size: 1.4rem;
                }

                .forest-app-card-header,
                .forest-app-card-body {
                    padding: 1rem;
                }

                .forest-app-equipment-section {
                    padding: 1.5rem;
                }

                .forest-app-equipment-grid {
                    grid-template-columns: 1fr;
                }

                .forest-app-summary-grid {
                    grid-template-columns: repeat(2, 1fr);
                }

                .forest-app-info-value {
                    max-width: 50%;
                    font-size: 0.85rem;
                }

                .forest-app-person-grid {
                    grid-template-columns: 1fr;
                }
            }

            @media (max-width: 480px) {
                .forest-app-summary-grid {
                    grid-template-columns: 1fr;
                }

                .forest-app-stats-grid {
                    grid-template-columns: repeat(2, 1fr);
                }

                .forest-app-persons-section {
                    padding: 1.5rem;
                }
            }


            .forest-app-header {
                background: var(--white);
                border-radius: 16px;
                padding: 2rem;
                margin-bottom: 2rem;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
                border: 1px solid var(--border);
                position: relative;
                overflow: hidden;
            }

            .forest-app-header::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 4px;
                background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--secondary));
            }

            .forest-app-title {
                font-size: 1.75rem;
                font-weight: 700;
                color: var(--text-primary);
                margin-bottom: 0.5rem;
                display: flex;
                align-items: center;
            }

            .forest-app-title i {
                margin-right: 1rem;
                color: var(--primary);
            }

            .forest-app-subtitle {
                color: var(--text-secondary);
                font-size: 1rem;
                margin: 0;
            }


            /* --------------------- photography view page end -------------------   */

            .select2-container--default .select2-results__option--highlighted[aria-selected] {
                background-color: #f3e8ff !important;
                color: #000 !important;
            }

            .data-icon {
                color: #653695e0;
            }





            /* Custom DataTables Layout CSS */

            /* Top controls wrapper - contains buttons and search in same div */
            .top-controls {
                /* background-color: #f8f9fa; */
                padding: 15px;
                /* border-radius: 5px; */
                /* border: 1px solid #dee2e6; */
            }

            /* Buttons and filter wrapper */
            .buttons-filter-wrapper {
                width: 100%;
                justify-content: space-between !important;
            }

            /* Button styling */
            .dt-buttons {
                margin-bottom: 0 !important;
                display: flex;
                gap: 8px;
            }

            .dt-button {
                margin-right: 0 !important;
                border-radius: 4px !important;
                padding: 6px 12px !important;
                font-size: 12px !important;
                border: none !important;
            }

            /* Search filter styling */
            .dataTables_filter {
                margin-bottom: 0 !important;
            }

            .dataTables_filter label {
                margin-bottom: 0;
                display: flex;
                align-items: center;
                font-weight: 500;
            }

            .dataTables_filter input {
                margin-left: 8px;
                padding: 6px 12px;
                border: 1px solid #ced4da;
                border-radius: 4px;
                width: 250px;
            }

            /* Bottom controls wrapper - contains info and pagination in same div */
            /* .bottom-controls {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            border: 1px solid #dee2e6;
        } */

            /* Info and pagination wrapper */
            .info-pagination-wrapper {
                width: 100%;
                justify-content: space-between !important;
            }

            /* Info styling */
            .dataTables_info {
                margin-bottom: 0 !important;
                color: #6c757d;
                font-size: 14px;
            }

            /* Pagination styling */
            .dataTables_paginate {
                margin-bottom: 0 !important;
                margin-top: 0 !important;
            }

            .dataTables_paginate .paginate_button {
                /* padding: 6px 12px; */
                margin-left: 2px;
                /* border: 1px solid #dee2e6; */
                border-radius: 4px;
                color: #495057;
                text-decoration: none;
            }

            .dataTables_paginate .paginate_button:hover {
                background-color: #e9ecef;
                border-color: #adb5bd;
            }

            .dataTables_paginate .paginate_button.current {
                background-color: #007bff;
                border-color: #007bff;
                color: white;
            }

            /* Table wrapper */
            .table-wrapper {
                margin: 20px 0;
                margin-top: 0px;
            }

            /* Button colors */
            .buttons-copy {
                background-color: transparent !important;
                color: white !important;
            }

            .buttons-copy:hover {
                background-color: transparent !important;
                color: rgb(0, 0, 0) !important;
            }

            .buttons-excel {
                background-color: transparent !important;
                color: white !important;
            }

            .btn-outline-primary {
                border: 1px solid #6c757d;
                color: #000 !important;
            }


            .btn-outline-success {
                border: 1px solid #198754 !important;
                color: #198754 !important;
            }


            .btn-outline-success:hover {
                border: 1px solid #198754 !important;
                color: #198754 !important;
            }


            .btn-outline-danger {
                border: 1px solid #dc3545;
                color: #dc3545 !important;
            }

            .btn-outline-danger:hover {
                background: transparent !important;
                border: 1px solid #dc3545 !important;

                color: #dc3545 !important;
            }



            .buttons-pdf {
                /* background-color: #dc3545 !important; */
                /* color: white !important; */
            }

            /* Responsive adjustments */
            @media (max-width: 768px) {

                .buttons-filter-wrapper,
                .info-pagination-wrapper {
                    flex-direction: column !important;
                    align-items: flex-start !important;
                    gap: 15px;
                }

                .dt-buttons {
                    order: 2;
                }

                .dataTables_filter {
                    order: 1;
                }

                .dataTables_info {
                    order: 1;
                }

                .dataTables_paginate {
                    order: 2;
                }
            }



            .footer-fix-bottom {
                position: fixed !important;
                bottom: 0px !important;
            }


            /* Footer Base Styles */
            .content-footer {
                background: var(--white);
                border-top: 1px solid var(--gray-200);
                box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
                z-index: 10;
                transition: all 0.3s ease;
            }

            /* When content is minimal - Absolute positioning */
            .content-footer.footer-absolute {
                position: absolute;
                bottom: 0px;
                left: 0px;
                margin-left: var(--sidebar-width);
                width: -webkit-fill-available;
                width: -moz-available;
                width: calc(100% - var(--sidebar-width));
            }

            /* When content is sufficient - Sticky positioning */
            .content-footer.footer-sticky {
                position: sticky;
                bottom: 0;
                margin-top: auto;
                width: 100%;
            }

            /* Footer content styles */
            .footer-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 30px;
                flex-wrap: wrap;
                gap: 15px;
                width: -webkit-fill-available;
            }

            .footer-left span {
                font-size: 14px;
                color: var(--gray-600);
                font-weight: 500;
            }

            .footer-right {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .footer-right a {
                color: var(--gray-600);
                text-decoration: none;
                font-size: 14px;
                font-weight: 500;
                transition: all 0.2s ease;
            }

            .footer-right a:hover {
                color: var(--primary);
                text-decoration: none;
            }

            .footer-divider {
                color: var(--gray-400);
                font-size: 14px;
                margin: 0 4px;
            }

            /* Prevent content from being hidden behind absolute footer */
            .main-content.has-absolute-footer {
                padding-bottom: 70px;
            }

            /* Responsive adjustments */
            @media (max-width: 992px) {
                .main-content {
                    margin-left: 0;
                    width: 100%;
                }

                .content-footer.footer-absolute {
                    margin-left: 0;
                    width: 100%;
                }
            }

            @media (max-width: 768px) {
                .footer-content {
                    flex-direction: column;
                    text-align: center;
                    padding: 12px 20px;
                    gap: 8px;
                }

                .footer-left span {
                    font-size: 13px;
                }

                .footer-right {
                    gap: 8px;
                }

                .footer-right a {
                    font-size: 13px;
                }
            }

            @media (max-width: 480px) {
                .footer-right {
                    flex-wrap: wrap;
                    justify-content: center;
                }

                .footer-divider {
                    display: none;
                }
            }

            /* Demo content styles */
            .demo-content {
                background: #f8fafc;
                border-radius: 12px;
                padding: 20px;
                margin: 20px 0;
                border: 1px solid #e2e8f0;
            }

            .add-content-btn,
            .remove-content-btn {
                background: var(--primary);
                color: white;
                border: none;
                padding: 10px 20px;
                border-radius: 8px;
                cursor: pointer;
                margin: 10px 5px;
                font-weight: 500;
            }

            .remove-content-btn {
                background: #dc2626;
            }

            .add-content-btn:hover {
                background: #6d28d9;
            }

            .remove-content-btn:hover {
                background: #b91c1c;
            }

            .content-block {
                background: white;
                border-radius: 8px;
                padding: 20px;
                margin: 10px 0;
                border-left: 4px solid var(--primary);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            .status-indicator {
                position: fixed;
                top: 20px;
                right: 20px;
                background: rgba(0, 0, 0, 0.8);
                color: white;
                padding: 10px 15px;
                border-radius: 8px;
                font-size: 12px;
                z-index: 1000;
            }

            .progress {
                height: 5px !important;
                border-radius: 5px !important;
                background-color: #e9ecef !important;
            }

            .scroll-wrapper {
                max-height: 310px;
                overflow-y: auto;
                padding-right: 14px;
                box-sizing: content-box;
            }

            .scroll-wrapper::-webkit-scrollbar {
                width: 4px;
                margin-left: 10px;
            }

            .scroll-wrapper::-webkit-scrollbar-thumb {
                background-color: rgba(0, 0, 0, 0.2);
                border-radius: 10px;
            }

            .bg-none {
                background: none;
                background-color: none;
            }

            .status-submitted {
                background: rgba(34, 197, 94, 0.1);
                color: var(--success);
            }

            /* ----------------- Badge colors start ---------------- */
            .bg-label-primary {
                background-color: #eae8fd !important;
                color: #7367f0 !important;
            }

            .bg-label-hover-primary {
                background-color: #eae8fd !important;
                color: #7367f0 !important;
            }

            .bg-label-hover-primary:hover {
                background-color: #7367f0 !important;
                color: #fff !important;
            }

            .bg-label-secondary {
                background-color: #f2f2f3 !important;
                color: #a8aaae !important;
            }

            .bg-label-success {
                background-color: #dff7e9 !important;
                color: #28c76f !important;
            }

            .bg-label-info {
                background-color: #d9f8fc !important;
                color: #00cfe8 !important;
            }

            .bg-label-warning {
                background-color: #fff1e3 !important;
                color: #ff9f43 !important;
            }

            .bg-label-danger {
                background-color: #fce5e6 !important;
                color: #ea5455 !important;
            }

            .bg-label-light {
                background-color: #fafafb !important;
                color: #dfdfe3 !important;
            }

            .bg-label-dark {
                background-color: #e4e4e4 !important;
                color: #4b4b4b !important;
            }

            .bg-label-gray {
                background-color: rgba(254, 254, 254, 0.8575) !important;
                color: rgba(75, 70, 92, 0.05) !important;
            }

            .bg-label-hover-secondary {
                background-color: #f2f2f3 !important;
                color: #a8aaae !important;
            }

            .bg-label-hover-secondary:hover {
                background-color: #a8aaae !important;
                color: #fff !important;
            }

            .bg-label-hover-success {
                background-color: #dff7e9 !important;
                color: #28c76f !important;
            }

            .bg-label-hover-success:hover {
                background-color: #28c76f !important;
                color: #fff !important;
            }

            .bg-label-hover-info {
                background-color: #d9f8fc !important;
                color: #00cfe8 !important;
            }

            .bg-label-hover-info:hover {
                background-color: #00cfe8 !important;
                color: #fff !important;
            }

            .bg-label-hover-warning {
                background-color: #fff1e3 !important;
                color: #ff9f43 !important;
            }

            .bg-label-hover-warning:hover {
                background-color: #ff9f43 !important;
                color: #fff !important;
            }

            .bg-label-hover-danger {
                background-color: #fce5e6 !important;
                color: #ea5455 !important;
            }

            .bg-label-hover-danger:hover {
                background-color: #ea5455 !important;
                color: #fff !important;
            }

            .bg-label-hover-light {
                background-color: #fafafb !important;
                color: #dfdfe3 !important;
            }

            .bg-label-hover-light:hover {
                background-color: #dfdfe3 !important;
                color: #fff !important;
            }

            .bg-label-hover-dark {
                background-color: #e4e4e4 !important;
                color: #4b4b4b !important;
            }

            .bg-label-hover-dark:hover {
                background-color: #4b4b4b !important;
                color: #fff !important;
            }

            .bg-label-hover-gray {
                background-color: rgba(254, 254, 254, 0.8575) !important;
                color: rgba(75, 70, 92, 0.05) !important;
            }

            .bg-label-hover-gray:hover {
                background-color: rgba(75, 70, 92, 0.05) !important;
                color: #fff !important;
            }

            /* ----------------- Badge colors end ---------------- */

            .language-indicator-external {
                position: absolute;
                right: 30px;
                top: 55%;
                transform: translateY(-50%);
                background: #0d6efd;
                color: white;
                padding: 4px 8px;
                border-radius: 12px;
                font-size: 10px;
                font-weight: 600;
                min-width: 30px;
                text-align: center;
                z-index: 10;
            }

            .language-indicator-external.tamil-indicator {
                background: #20c997;
            }

            .language-indicator-external.english-indicator {
                background: #0d6efd;
            }

            .docscenter-container::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 4px;
                background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4facfe);
                border-radius: 24px 24px 0 0;
            }

            .docscenter-header {
                text-align: center;
                margin-bottom: 2rem;
            }

            .docscenter-title {
                font-size: 1.75rem;
                font-weight: 700;
                color: #2d3748;
                margin-bottom: 0.5rem;
                letter-spacing: -0.025em;
            }

            .docscenter-subtitle {
                color: #718096;
                font-size: 0.95rem;
                font-weight: 500;
            }

            .docscenter-list {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }

            .docscenter-item {
                background: #ffffff;
                border: 2px solid #f7fafc;
                border-radius: 16px;
                padding: 11px 1.5rem;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                position: relative;
                cursor: pointer;
            }

            .docscenter-item:hover {
                border-color: #e2e8f0;
                transform: translateY(-2px);
                box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
            }

            .docscenter-link {
                text-decoration: none;
                color: inherit;
                display: flex;
                align-items: center;
                width: 100%;
            }

            .docscenter-icon-box {
                width: 46px;
                height: 46px;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 1rem;
                position: relative;
                flex-shrink: 0;
            }

            .docscenter-hallticket .docscenter-icon-box {
                background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
                color: #3182ce;
            }

            .docscenter-marksheet .docscenter-icon-box {
                background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
                color: #38a169;
            }

            .docscenter-certificate .docscenter-icon-box {
                background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
                color: #dd6b20;
            }

            .docscenter-icon {
                font-size: 1.5rem;
            }

            .docscenter-content {
                flex: 1;
                min-width: 0;
            }

            .docscenter-item-title {
                font-size: 1.125rem;
                font-weight: 600;
                color: #2d3748;
                margin-bottom: 0.25rem;
                line-height: 1.3;
            }

            .docscenter-description {
                font-size: 0.875rem;
                color: #718096;
                line-height: 1.4;
            }

            .docscenter-action {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                border-radius: 8px;
                background: #f7fafc;
                color: #a0aec0;
                transition: all 0.3s ease;
                margin-left: 1rem;
                flex-shrink: 0;
            }

            .docscenter-item:hover .docscenter-action {
                background: #edf2f7;
                color: #4a5568;
                transform: translateX(2px);
            }

            .docscenter-badge {
                position: absolute;
                top: 12px;
                right: 12px;
                background: #edf2f7;
                color: #718096;
                font-size: 0.75rem;
                padding: 0.25rem 0.5rem;
                border-radius: 6px;
                font-weight: 500;
            }

            /* Responsive Design */
            @media (max-width: 768px) {
                .docscenter-container {
                    padding: 2rem;
                    margin: 0.5rem;
                }

                .docscenter-title {
                    font-size: 1.5rem;
                }

                .docscenter-item {
                    padding: 1.25rem;
                }

                .docscenter-icon-box {
                    width: 48px;
                    height: 48px;
                    margin-right: 0.875rem;
                }

                .docscenter-icon {
                    font-size: 1.25rem;
                }

                .docscenter-item-title {
                    font-size: 1rem;
                }

                .docscenter-description {
                    font-size: 0.8rem;
                }
            }

            @media (max-width: 480px) {
                .docscenter-container {
                    padding: 1.5rem;
                    margin: 0.25rem;
                }

                .docscenter-header {
                    margin-bottom: 1.5rem;
                }

                .docscenter-item {
                    padding: 1rem;
                }

                .docscenter-icon-box {
                    width: 44px;
                    height: 44px;
                    margin-right: 0.75rem;
                }

                .docscenter-action {
                    width: 28px;
                    height: 28px;
                    margin-left: 0.5rem;
                }
            }

            /* Animations */
            .docscenter-item {
                animation: docscenterFadeInUp 0.5s ease forwards;
                opacity: 0;
                transform: translateY(20px);
            }

            .docscenter-item:nth-child(1) {
                animation-delay: 0.1s;
            }

            .docscenter-item:nth-child(2) {
                animation-delay: 0.2s;
            }

            .docscenter-item:nth-child(3) {
                animation-delay: 0.3s;
            }

            @keyframes docscenterFadeInUp {
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            /* Loading states */
            .docscenter-item::after {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
                transition: left 0.5s;
            }

            .docscenter-item:hover::after {
                left: 100%;
            }

            /* .select2-container--open .select2-dropdown {
    top: 100% !important;
    bottom: auto !important;
}

.force-down.select2-dropdown {
    top: 100% !important;
    bottom: auto !important;
} */

            /* Apply style to Select2 dropdowns that open below */
            /* .field-group-exam .select2-dropdown.select2-dropdown--below {
    position: absolute !important;
    top: 40px !important;
    left: 0 !important;
} */



            .pem-header-card-comp {
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                border: none;
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
                border-radius: 16px;
            }

            .pem-header-card-comp .card-body {
                padding: 2rem;
            }

            .pem-header-card-comp h1 {
                background: linear-gradient(135deg, #667eea, #764ba2);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                font-weight: 700;
                font-size: 2.2rem;
            }

            .pem-control-panel-comp {
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                border: none;
                border-radius: 16px;
                padding: 2rem;
                margin-bottom: 2rem;
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            }

            .pem-question-card-comp {
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                border: none;
                border-radius: 16px;
                transition: all 0.3s ease;
                margin-bottom: 2rem;
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            }

            /* .pem-question-card-comp:hover {
                transform: translateY(-2px);
                box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
            } */

            .pem-question-header-comp {
                background: linear-gradient(135deg, #f8f9fa, #e9ecef);
                border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
                border-radius: 16px 16px 0 0;
                padding: 1.5rem;
            }

            .pem-question-header-comp h6 {
                font-size: 1.1rem;
                font-weight: 600;
                margin: 0;
            }

            .pem-parameter-table-comp {
                background-color: white;
                border-radius: 7px;
                overflow: hidden;
                box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
            }

            .pem-parameter-table-comp th {
                font-weight: 600;
                font-size: 0.9rem;
                border: none;
                padding: 1rem 0.75rem !important;
            }

            .pem-parameter-table-comp td {
                vertical-align: middle;
                padding: 1rem 0.75rem;
                border-color: rgba(0, 0, 0, 0.1);
                padding: 17px 10px !important;
            }

            .pem-warning-icon-comp {
                color: #ffc107;
                cursor: help;
            }

            .pem-collapse-toggle-comp {
                cursor: pointer;
                user-select: none;
                transition: all 0.3s ease;
            }

            @media (max-width: 768px) {
                .pem-main-container-comp {
                    padding: 20px 15px;
                }

                .pem-header-card-comp h1 {
                    font-size: 1.8rem;
                }

                .pem-parameter-table-comp {
                    font-size: 0.85rem;
                }

                .pem-parameter-table-comp th,
                .pem-parameter-table-comp td {
                    padding: 0.75rem 0.5rem;
                }
            }

            .pem-print-only-comp {
                display: none;
            }

            @media print {
                .pem-no-print-comp {
                    display: none !important;
                }

                .pem-print-only-comp {
                    display: block !important;
                }

                .pem-question-card-comp {
                    break-inside: avoid;
                    border: 1px solid #000 !important;
                    margin-bottom: 15px;
                }
            }

            .text-alignment {
                text-align: left !important;
            }

            .btn.disabled,
            .btn:disabled,
            fieldset:disabled .btn {
                color: #808080;
            }

            .btn-custom {
                background: #7750a4;
                color: white;
            }

            .btn-custom:hover {
                background: #677ce7 !important;
                /* border-color: #475569; */
                color: #fff !important;
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgb(193 193 193 / 15%);
            }

            table.dataTable td,
            table.dataTable th {
                /* border-bottom: 1px solid #e5e5e5; */
            }


            .bg-label-warning {
                background-color: #fff1e3 !important;
                color: #ff9f43 !important;
            }


            .amp-det-header {
                background: linear-gradient(135deg, var(--det-primary), var(--det-secondary));
                color: white;
                padding: 15px 0;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }

            .amp-det-logo {
                width: 60px;
                height: 60px;
                border-radius: 50%;
            }

            .amp-det-title {
                font-size: 1.5rem;
                font-weight: bold;
                margin: 0;
            }

            .amp-det-subtitle {
                font-size: 0.9rem;
                margin: 0;
                opacity: 0.9;
            }

            .amp-sidebar {
                background: white;
                min-height: calc(100vh - 90px);
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
                padding: 20px 0;
            }

            .amp-sidebar .nav-link {
                color: #666;
                padding: 12px 20px;
                margin: 5px 0;
                border-left: 3px solid transparent;
                transition: all 0.3s ease;
            }

            .amp-sidebar .nav-link:hover {
                background-color: #f5f5f5;
                color: var(--det-primary);
                border-left-color: var(--det-primary);
            }

            .amp-sidebar .nav-link.active {
                background-color: #e3f2fd;
                color: var(--det-primary);
                border-left-color: var(--det-primary);
                font-weight: 600;
            }

            .amp-stats-card {
                border-radius: 10px;
                border: none;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                transition: transform 0.3s ease;
            }

            .amp-stats-card:hover {
                transform: translateY(-5px);
            }

            .amp-stats-number {
                font-size: 2rem;
                font-weight: bold;
                margin: 0;
            }

            .amp-stats-label {
                font-size: 0.9rem;
                opacity: 0.9;
            }

            .amp-school-accordion .accordion-item {
                border: none;
                margin-bottom: 15px;
                border-radius: 10px !important;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
                overflow: hidden;
            }

            .amp-school-accordion .accordion-header {
                border-radius: 10px !important;
            }

            .amp-school-accordion .accordion-button {
                background: linear-gradient(135deg, #f8f9fa, #e9ecef);
                color: #333;
                font-weight: 600;
                padding: 11px 20px;
                border-radius: 8px !important;
            }

            .amp-school-accordion .accordion-button:not(.collapsed) {
                /* background: linear-gradient(135deg, var(--det-primary), var(--det-secondary)); */
                color: #ff9800;
                box-shadow: none;
            }

            .amp-school-accordion .accordion-button:focus {
                box-shadow: none;
            }

            .amp-school-accordion .accordion-button::after {
                filter: brightness(0) invert(0);
            }

            .amp-school-accordion .accordion-button:not(.collapsed)::after {
                filter: brightness(100) invert(1);
            }

            /* Legend Color Classes */
            .amp-status-complete .accordion-button {
                border-left: 5px solid #4caf50 !important;
            }

            .amp-status-partial .accordion-button {
                border-left: 3px solid #ff9800 !important;
            }

            .amp-status-unmapped .accordion-button {
                border-left: 3px solid #f44336 !important;
            }

            .amp-status-complete .accordion-button:not(.collapsed) {
                border-top: 3px solid #66bb6a !important;
                border-left: transparent !important;
                color: #66bb6a;

                /* background: linear-gradient(135deg, #4caf50, #66bb6a) !important; */
            }

            .amp-status-partial .accordion-button:not(.collapsed) {
                border-top: 3px solid #ff9800 !important;
                border-left: transparent !important;
                /* background: linear-gradient(135deg, #ff9800, #ffa726) !important; */
            }

            .amp-status-unmapped .accordion-button:not(.collapsed) {
                border-top: 3px solid #f44336 !important;
                border-left: transparent !important;
                color: #ef5350 !important;
                /* background: linear-gradient(135deg, #f44336, #ef5350) !important; */
            }

            .amp-trade-card {
                background: white;
                border-radius: 10px;
                padding: 20px;
                margin-bottom: 15px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
                transition: all 0.3s ease;
            }

            .amp-trade-card:hover {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
                transform: translateY(-2px);
            }

            .amp-trade-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                /* margin-bottom: 15px;
                padding-bottom: 15px;
                border-bottom: 2px solid #f0f0f0; */
            }

            .amp-trade-name {
                font-size: 1.1rem;
                font-weight: 600;
                margin: 0;
            }

            .amp-assessor-select {
                min-width: 300px;
            }

            .amp-btn-det-primary {
                background: var(--det-primary);
                color: white;
                border: none;
                padding: 10px 25px;
                border-radius: 5px;
                transition: all 0.3s ease;
            }

            .amp-btn-det-primary:hover {
                background: var(--det-secondary);
                transform: translateY(-2px);
                box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
            }

            .amp-assessor-badge {
                background: #e3f2fd;
                color: var(--det-primary);
                padding: 8px 15px;
                border-radius: 20px;
                font-size: 0.9rem;
                display: inline-flex;
                align-items: center;
                gap: 8px;
            }

            .amp-assessor-badge .amp-remove-btn {
                cursor: pointer;
                color: var(--det-danger);
                font-size: 0.8rem;
                transition: all 0.2s ease;
            }

            .amp-assessor-badge .amp-remove-btn:hover {
                transform: scale(1.2);
            }

            .amp-school-stats {
                display: flex;
                gap: 20px;
                margin-left: 20px;
            }

            .amp-school-stat-item {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 0.9rem;
            }

            .amp-school-stat-badge {
                background: rgba(255, 255, 255, 0.2);
                padding: 4px 12px;
                border-radius: 15px;
                font-weight: 600;
            }

            .accordion-button:not(.collapsed) .amp-school-stats .amp-school-stat-badge {
                background: rgba(255, 255, 255, 0.3);
            }

            .amp-no-assessor-alert {
                background: #fff3cd;
                border-left: 4px solid #ffc107;
                padding: 10px 15px;
                border-radius: 5px;
                font-size: 0.9rem;
            }

            .amp-mapped-assessor-info {
                background: #d1f2eb;
                border-left: 4px solid #4caf50;
                padding: 10px 15px;
                border-radius: 5px;
            }

            .amp-filter-card {
                background: white;
                border-radius: 10px;
                padding: 20px;
                margin-bottom: 20px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            }

            .amp-legend-item {
                display: flex;
                align-items: center;
                gap: 10px;
                font-size: 0.9rem;
            }

            .amp-legend-color {
                width: 30px;
                height: 30px;
                border-radius: 5px;
                flex-shrink: 0;
            }

            .amp-alert-info-custom {
                background: linear-gradient(135deg, #e3f2fd, #bbdefb);
                border-left: 4px solid var(--det-info);
                border-radius: 8px;
            }

     /* Custom Styles for badges */        
            
    .bg-custom-blue{
    background-color: #d1ecf1bf !important ;
    border:2px solid #bee5eb !important;
    color: #17a2b8 !important;
    }

    .bg-custom-danger{
           background-color: #d4eddab5 !important;
    border:2px solid #c3e6cb !important;
    color: #28a745 !important;
    }

    .bg-custom-info{
            background-color: #e2e3e5cf !important;
    border:2px solid #d6d8db !important;
    color: #6c757d !important;
    }

    .bg-custom-warning{
    background-color: #fff3cdd4 ;
    border:2px solid #ffeaa7 !important;
    color: #ffc107 !important;
    }

    .bg-custom-success{
       background-color: #f8d7da9c ;
    border:2px solid #f5c6cb !important;
    color: #dc3545 !important;
    }
   .bg-custom-purple{
       background-color: #e7d7f5b3 ;
    border:2px solid #d6c3e8 !important;
    color: #9b59b6 !important;
    }