/* Mortgage enquiry plugin frontend styles — consolidated from formhtml.php, scoped under .mortgage-enquiry-plugin-form-wrapper so the shortcode can be embedded on any page without leaking styles */
        /** {*/
        /*    box-sizing: border-box;*/
        /*    margin: 0;*/
        /*    padding: 0;*/
        /*}*/

        /*body {*/
        /*    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
        /*    background: #f5f7fa;*/
        /*    min-height: 100vh;*/
        /*    color: #333;*/
        /*    line-height: 1.6;*/
        /*}*/

                .mortgage-enquiry-plugin-form-wrapper .container {
            max-width: 1200px;
            margin: 0 auto;
            /*padding: 20px;*/
        }


        /* Header */
                .mortgage-enquiry-plugin-form-wrapper .header {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            /*padding: 20px;*/
            margin-bottom: 30px;
            text-align: center;
            position: relative;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 10px;
        }


                .mortgage-enquiry-plugin-form-wrapper .logo2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #004884;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
        }


                .mortgage-enquiry-plugin-form-wrapper .logo2 span {
            color: #004884;
            font-weight: 600;
        }


                .mortgage-enquiry-plugin-form-wrapper .subtitle {
            color: #6b7280;
            font-size: 1.1rem;
            margin-bottom: 20px;
        }


        /* Progress Bar */
                .mortgage-enquiry-plugin-form-wrapper .progress-container {
            background: #e9ecef;
            border-radius: 4px;
            padding: 3px;
            margin-bottom: 20px;
        }


                .mortgage-enquiry-plugin-form-wrapper .progress-bar {
            background: #004884;
            height: 6px;
            border-radius: 3px;
            transition: width 0.3s ease;
        }


                .mortgage-enquiry-plugin-form-wrapper .progress-text {
            text-align: center;
            margin-top: 10px;
            color: #6b7280;
            font-size: 0.9rem;
        }


        /* Steps Navigation */
                .mortgage-enquiry-plugin-form-wrapper .steps-nav {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 10px;
        }


                .mortgage-enquiry-plugin-form-wrapper .step-btn {
            padding: 10px 16px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            background: white;
            color: #6b7280;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 1px 4px rgba(0,0,0,0.05);
            width: auto;
            min-width: 120px;
            text-align: center;
        }


                .mortgage-enquiry-plugin-form-wrapper .step-btn.active {
            background: #004884;
            color: white;
            border-color: #004884;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 72, 132, 0.2);
        }


                .mortgage-enquiry-plugin-form-wrapper .step-btn.completed {
            background: #28a745;
            color: white;
            border-color: #28a745;
        }

        
        /* Mobile Steps Navigation */
        @media (max-width: 768px) {

                    .mortgage-enquiry-plugin-form-wrapper .steps-nav {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                margin-bottom: 20px;
                padding: 0 5px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .step-btn {
                padding: 10px 5px;
                font-size: 0.85rem;
                border-radius: 15px;
                min-width: unset;
                width: 100%;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

        
}

        
        @media (max-width: 480px) {

                    .mortgage-enquiry-plugin-form-wrapper .steps-nav {
                grid-template-columns: repeat(2, 1fr);
                gap: 6px;
                margin-bottom: 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .step-btn {
                padding: 8px 5px;
                font-size: 0.8rem;
                border-radius: 12px;
            }

        
}


        /* Form Container */
                .mortgage-enquiry-plugin-form-wrapper .form-container {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-step {
            display: none;
            padding: 40px;
            animation: fadeIn 0.5s ease;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-step.active {
            display: block;
        }


        @keyframes fadeIn {

                    from { opacity: 0; transform: translateY(20px); }

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

        
}


                .mortgage-enquiry-plugin-form-wrapper .step-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f3f4f6;
        }


                .mortgage-enquiry-plugin-form-wrapper .step-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 8px;
        }


                .mortgage-enquiry-plugin-form-wrapper .step-description {
            color: #6b7280;
            font-size: 1.1rem;
        }


        /* Form Fields */
                .mortgage-enquiry-plugin-form-wrapper .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-group {
            margin-bottom: 20px;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #374151;
            font-size: 0.95rem;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-group label.required::after {
            content: '*';
            color: #ef4444;
            margin-left: 4px;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-group input,
        .mortgage-enquiry-plugin-form-wrapper .form-group select,
        .mortgage-enquiry-plugin-form-wrapper .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #fafafa;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        
        /* Custom select styling for better mobile appearance */
                .mortgage-enquiry-plugin-form-wrapper select {
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            padding-right: 40px;
        }


                .mortgage-enquiry-plugin-form-wrapper .form-group input:focus,
        .mortgage-enquiry-plugin-form-wrapper .form-group select:focus,
        .mortgage-enquiry-plugin-form-wrapper .form-group textarea:focus {
            outline: none;
            border-color: #2563eb;
            background: white;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }


        /* Sections */
                .mortgage-enquiry-plugin-form-wrapper .section {
            background: #ffffff;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
            border-left: 3px solid #004884;
            box-shadow: 0 1px 5px rgba(0,0,0,0.05);
        }


                .mortgage-enquiry-plugin-form-wrapper .section-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #343a40;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }


                .mortgage-enquiry-plugin-form-wrapper .section-icon {
            width: 24px;
            height: 24px;
            background: #004884;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            font-weight: bold;
        }


        /* Applicant Toggle */
                .mortgage-enquiry-plugin-form-wrapper .applicant-toggle {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }


                .mortgage-enquiry-plugin-form-wrapper .toggle-btn {
            padding: 10px 20px;
            border: 1px solid #ced4da;
            background: white;
            color: #6c757d;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }


                .mortgage-enquiry-plugin-form-wrapper .toggle-btn:first-child {
            border-radius: 4px 0 0 4px;
        }


                .mortgage-enquiry-plugin-form-wrapper .toggle-btn:last-child {
            border-radius: 0 4px 4px 0;
        }


                .mortgage-enquiry-plugin-form-wrapper .toggle-btn.active {
            background: #004884;
            color: white;
            border-color: #004884;
        }


        /* Navigation Buttons */
                .mortgage-enquiry-plugin-form-wrapper .nav-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #f3f4f6;
        }


                .mortgage-enquiry-plugin-form-wrapper .btn {
            padding: 14px 28px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }


                .mortgage-enquiry-plugin-form-wrapper .btn-primary {
            background: #004884;
            color: white;
        }


                .mortgage-enquiry-plugin-form-wrapper .btn-primary:hover {
            background: #003b6b;
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(0, 72, 132, 0.25);
        }


                .mortgage-enquiry-plugin-form-wrapper .btn-secondary {
            background: #6c757d;
            color: white;
        }


                .mortgage-enquiry-plugin-form-wrapper .btn-secondary:hover {
            background: #5a6268;
        }


                .mortgage-enquiry-plugin-form-wrapper .btn-outline {
            background: transparent;
            color: #6c757d;
            border: 1px solid #ced4da;
        }


                .mortgage-enquiry-plugin-form-wrapper .btn-outline:hover {
            background: #f8f9fa;
            border-color: #adb5bd;
        }


        /* Action Buttons */
                .mortgage-enquiry-plugin-form-wrapper .action-buttons {
            position: fixed;
            top: 120px;
            right: 20px;
            display: flex;
            gap: 10px;
            z-index: 1000;
        }


                .mortgage-enquiry-plugin-form-wrapper .action-btn {
            padding: 10px 16px;
            border: none;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            white-space: nowrap;
        }

        
         @media (max-width: 991px) {

                      .mortgage-enquiry-plugin-form-wrapper .navbar .container {
                padding:6px 20px;
            }

         
}

        
        @media (max-width: 768px) {

                    .mortgage-enquiry-plugin-form-wrapper .action-buttons {
                top: auto;
                bottom: 20px;
                right: 20px;
                flex-direction: column;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .action-btn {
                padding: 8px 14px;
                font-size: 0.85rem;
            }

           
        
}

        
        @media (max-width: 480px) {

                    .mortgage-enquiry-plugin-form-wrapper .action-buttons {
                bottom: 15px;
                right: 15px;
                gap: 8px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .action-btn {
                padding: 8px 12px;
                font-size: 0.8rem;
            }

        
}


                .mortgage-enquiry-plugin-form-wrapper .action-btn.print {
            background: #28a745;
            color: white;
        }


                .mortgage-enquiry-plugin-form-wrapper .action-btn.clear {
            background: #dc3545;
            color: white;
        }


        /* Dynamic sections */
                .mortgage-enquiry-plugin-form-wrapper .dynamic-section {
            display: none;
            margin-top: 20px;
        }


                .mortgage-enquiry-plugin-form-wrapper .dynamic-section.show {
            display: block;
        }


        /* Custom Checkbox Styling */
                .mortgage-enquiry-plugin-form-wrapper .checkbox-container {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            background: #f8fafc;
            border-radius: 8px;
            border: 2px solid #e5e7eb;
            cursor: pointer;
            transition: all 0.3s ease;
        }


                .mortgage-enquiry-plugin-form-wrapper .checkbox-container:hover {
            border-color: #2563eb;
            background: #eff6ff;
        }


                .mortgage-enquiry-plugin-form-wrapper .checkbox-container input[type="checkbox"] {
            margin: 0;
            margin-right: 12px;
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #2563eb;
        }


                .mortgage-enquiry-plugin-form-wrapper .checkbox-container label {
            margin: 0;
            font-weight: 500;
            color: #374151;
            cursor: pointer;
            flex: 1;
        }


                .mortgage-enquiry-plugin-form-wrapper .checkbox-container.checked {
            border-color: #2563eb;
            background: #eff6ff;
        }


        /* Disabled sections */
                .mortgage-enquiry-plugin-form-wrapper .section-disabled {
            opacity: 0.4;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }


        /* Expense calculator */
                .mortgage-enquiry-plugin-form-wrapper .expense-total {
            background: #e0f2fe;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }


                .mortgage-enquiry-plugin-form-wrapper .expense-total label {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1e40af;
        }


                .mortgage-enquiry-plugin-form-wrapper .expense-total input {
            background: #f0f9ff;
            border: 2px solid #3b82f6;
            font-weight: 600;
            font-size: 1.1rem;
        }


        /* Responsive Design */
        @media (max-width: 768px) {

                    .mortgage-enquiry-plugin-form-wrapper .container {
                padding: 10px;
                width: 100%;
                max-width: 100%;
            }


                    .mortgage-enquiry-plugin-form-wrapper .header {
                padding: 15px;
                margin-bottom: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .logo2 {
                font-size: 1.8rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .subtitle {
                font-size: 1rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-step {
                padding: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-header {
                margin-bottom: 20px;
                padding-bottom: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-title {
                font-size: 1.4rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-description {
                font-size: 0.95rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .steps-nav {
                flex-direction: column;
                align-items: center;
                gap: 8px;
                margin-bottom: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-btn {
                width: 100%;
                max-width: 300px;
                padding: 10px 15px;
                font-size: 0.85rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .section {
                padding: 15px;
                margin-bottom: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .section-title {
                font-size: 1.1rem;
                margin-bottom: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-group {
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-group label {
                font-size: 0.9rem;
                margin-bottom: 5px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-group input,
        .mortgage-enquiry-plugin-form-wrapper .form-group select,
        .mortgage-enquiry-plugin-form-wrapper .form-group textarea {
                padding: 10px;
                font-size: 0.95rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .nav-buttons {
                flex-direction: column;
                gap: 12px;
                margin-top: 25px;
                padding-top: 20px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .btn {
                width: 100%;
                justify-content: center;
                padding: 12px 20px;
                font-size: 0.95rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .action-buttons {
                position: static;
                justify-content: center;
                margin-bottom: 15px;
                flex-wrap: wrap;
            }


                    .mortgage-enquiry-plugin-form-wrapper .action-btn {
                padding: 8px 12px;
                font-size: 0.85rem;
                margin-bottom: 5px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .toggle-btn {
                flex: 1;
                padding: 10px 15px;
                font-size: 0.9rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .checkbox-container {
                padding: 12px;
                margin-bottom: 15px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .checkbox-container label {
                font-size: 0.9rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .address-section h4,
        .mortgage-enquiry-plugin-form-wrapper .employment-section h4 {
                font-size: 1.1rem;
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .vehicle-section h4 {
                font-size: 1.1rem;
            }

        
}


        /* Small Mobile Devices */
        @media (max-width: 480px) {

                    .mortgage-enquiry-plugin-form-wrapper .container {
                padding: 8px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .header {
                padding: 12px;
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .logo2 {
                font-size: 1.6rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .subtitle {
                font-size: 0.9rem;
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .progress-container {
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-step {
                padding: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-header {
                margin-bottom: 15px;
                padding-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-title {
                font-size: 1.3rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-description {
                font-size: 0.85rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .section {
                padding: 12px;
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .section-title {
                font-size: 1rem;
                margin-bottom: 12px;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-group label {
                font-size: 0.85rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-group input,
        .mortgage-enquiry-plugin-form-wrapper .form-group select,
        .mortgage-enquiry-plugin-form-wrapper .form-group textarea {
                padding: 8px 10px;
                font-size: 0.9rem;
            }


                    .mortgage-enquiry-plugin-form-wrapper .btn {
                padding: 10px 15px;
                font-size: 0.9rem;
            }

        
}


        /* Print Styles */
        @media print {

                    body {
                background: white;
                color: black;
            }


                    .mortgage-enquiry-plugin-form-wrapper .action-buttons,
        .mortgage-enquiry-plugin-form-wrapper .nav-buttons,
        .mortgage-enquiry-plugin-form-wrapper .steps-nav,
        .mortgage-enquiry-plugin-form-wrapper .progress-container {
                display: none !important;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-container {
                box-shadow: none;
                border: 1px solid #ccc;
            }


                    .mortgage-enquiry-plugin-form-wrapper .form-step {
                display: block !important;
                padding: 20px;
                page-break-inside: avoid;
            }


                    .mortgage-enquiry-plugin-form-wrapper .section {
                background: white;
                border: 1px solid #ddd;
                page-break-inside: avoid;
            }


                    .mortgage-enquiry-plugin-form-wrapper .step-header {
                page-break-after: avoid;
            }

        
}


        /* Confirmation Modal Styles */
                .mortgage-enquiry-plugin-form-wrapper .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
            box-sizing: border-box;
            overflow-y: auto;
        }


                .mortgage-enquiry-plugin-form-wrapper .modal-container {
            width: 90%;
            max-width: 1000px;
            min-height: 300px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            margin: 20px auto;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        
        @media (max-width: 768px) {

                    .mortgage-enquiry-plugin-form-wrapper .modal-container {
                width: 95%;
                margin: 10px auto;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-header {
                padding: 20px 20px 15px 20px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-title {
                font-size: 1.3rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-subtitle {
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-body {
                padding: 20px;
                max-height: calc(80vh - 150px);
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-footer {
                padding: 20px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-section h3 {
                font-size: 1rem;
                padding: 12px 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-grid {
                padding: 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-block {
                margin-bottom: 20px;
                padding: 12px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-block h4 {
                font-size: 0.95rem;
                margin-bottom: 12px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-grid {
                grid-template-columns: 1fr;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-item {
                padding: 10px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-label {
                font-size: 0.8rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-value {
                font-size: 0.85rem;
            }

        
}

        
        @media (max-width: 480px) {

                    .mortgage-enquiry-plugin-form-wrapper .modal-container {
                width: 98%;
                margin: 5px auto;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-header {
                padding: 15px 15px 12px 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-title {
                font-size: 1.2rem;
                margin-bottom: 5px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-subtitle {
                font-size: 0.85rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-body {
                padding: 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .modal-footer {
                padding: 15px;
                gap: 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-section h3 {
                padding: 10px 12px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-grid {
                padding: 12px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .info-block {
                padding: 10px;
            }

        
}


                .mortgage-enquiry-plugin-form-wrapper .modal-header {
            padding: 25px 30px 20px 30px;
            border-bottom: 2px solid #e5e7eb;
            background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
            color: white;
            border-radius: 12px 12px 0 0;
        }


                .mortgage-enquiry-plugin-form-wrapper .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 0 8px 0;
        }


                .mortgage-enquiry-plugin-form-wrapper .modal-subtitle {
            font-size: 1rem;
            margin: 0;
            opacity: 0.9;
            font-weight: 400;
        }


                .mortgage-enquiry-plugin-form-wrapper .modal-body {
            padding: 30px;
            overflow-y: auto;
            max-height: calc(80vh - 200px);
            flex: 1;
        }


                .mortgage-enquiry-plugin-form-wrapper .modal-footer {
            padding: 25px 30px;
            border-top: 2px solid #e5e7eb;
            background: #f8fafc;
            border-radius: 0 0 12px 12px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .summary-section {
            margin-bottom: 30px;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            overflow: hidden;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .summary-section h3 {
            background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
            color: white;
            margin: 0;
            padding: 15px 20px;
            font-size: 1.1rem;
            font-weight: 600;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .summary-grid {
            padding: 20px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .info-block {
            margin-bottom: 25px;
            padding: 15px;
            background: #f8fafc;
            border-radius: 8px;
            border-left: 4px solid #2563eb;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .info-block h4 {
            color: #2563eb;
            margin: 0 0 15px 0;
            font-size: 1rem;
            font-weight: 600;
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 8px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .info-item {
            background: white;
            padding: 12px;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .info-label {
            font-weight: 600;
            color: #374151;
            font-size: 0.875rem;
            margin-bottom: 4px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .info-value {
            color: #1f2937;
            font-size: 0.925rem;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .vehicle-block,
        .mortgage-enquiry-plugin-form-wrapper .property-block,
        .mortgage-enquiry-plugin-form-wrapper .debt-block {
            margin-bottom: 20px;
            padding: 15px;
            background: #f8fafc;
            border-radius: 8px;
            border-left: 4px solid #3b82f6;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .debt-block {
            border-left-color: #ef4444;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .property-block {
            border-left-color: #10b981;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .expense-block {
            border-left-color: #8b5cf6;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .financial-block {
            border-left-color: #059669;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .highlight-item {
            background: #f0f9ff !important;
            border-left: 3px solid #0284c7 !important;
            font-weight: 600;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .confirm-checkbox {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            background: #f0f9ff;
            padding: 12px;
            border-radius: 8px;
            border: 2px solid #3b82f6;
            width: 100%;
            max-width: 600px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .confirm-checkbox input {
            margin-right: 10px;
            width: 18px;
            height: 18px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .confirm-checkbox label {
            font-weight: 600;
            color: #1e40af;
            font-size: 0.95rem;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .modal-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            width: 100%;
            max-width: 600px;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .save-btn {
            background: #10b981;
            color: white;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .save-btn:hover {
            background: #059669;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .cancel-btn {
            background: #6b7280;
            color: white;
        }

        
                .mortgage-enquiry-plugin-form-wrapper .cancel-btn:hover {
            background: #4b5563;
        }


        /* Financial Summary Styling */
                .mortgage-enquiry-plugin-form-wrapper .financial-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        
        @media (max-width: 768px) {

                    .mortgage-enquiry-plugin-form-wrapper .financial-summary-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                margin-bottom: 25px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-card {
                padding: 20px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-card h4 {
                font-size: 1.2rem;
                margin-bottom: 15px;
                padding-bottom: 8px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .breakdown-item {
                padding: 6px 0;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .breakdown-item .label {
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .breakdown-item .amount {
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .total-line {
                padding: 12px;
                margin-top: 12px;
                font-size: 0.95rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .net-calculation {
                padding: 15px;
                margin-bottom: 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .calc-line {
                padding: 6px 0;
                font-size: 0.95rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .calc-line.separator {
                margin-top: 8px;
                padding-top: 12px;
                font-size: 1rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .net-amount {
                font-size: 1.2rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator {
                padding: 12px;
                margin-top: 12px;
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .insights-title {
                font-size: 1.1rem;
                margin-bottom: 12px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .insight-item {
                padding: 10px 0;
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .insight-item.highlight {
                padding: 12px;
                margin: 8px 0;
            }

        
}

        
        @media (max-width: 480px) {

                    .mortgage-enquiry-plugin-form-wrapper .financial-summary-grid {
                gap: 15px;
                margin-bottom: 20px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-card {
                padding: 15px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .summary-card h4 {
                font-size: 1.1rem;
                margin-bottom: 12px;
                padding-bottom: 6px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .breakdown-item {
                padding: 5px 0;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .breakdown-item .label {
                font-size: 0.85rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .breakdown-item .amount {
                font-size: 0.85rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .total-line {
                padding: 10px;
                margin-top: 10px;
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .net-calculation {
                padding: 12px;
                margin-bottom: 12px;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .calc-line {
                padding: 5px 0;
                font-size: 0.9rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .calc-line.separator {
                margin-top: 6px;
                padding-top: 10px;
                font-size: 0.95rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .net-amount {
                font-size: 1.1rem;
            }

            
                    .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator {
                padding: 10px;
                margin-top: 10px;
                font-size: 0.85rem;
            }

        
}


                .mortgage-enquiry-plugin-form-wrapper .summary-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border: 2px solid #e5e7eb;
            transition: all 0.3s ease;
        }


                .mortgage-enquiry-plugin-form-wrapper .summary-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }


                .mortgage-enquiry-plugin-form-wrapper .summary-card h4 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: #1f2937;
            border-bottom: 2px solid #f3f4f6;
            padding-bottom: 10px;
        }


                .mortgage-enquiry-plugin-form-wrapper .income-card {
            border-left: 6px solid #10b981;
        }


                .mortgage-enquiry-plugin-form-wrapper .expenses-card {
            border-left: 6px solid #f59e0b;
        }


                .mortgage-enquiry-plugin-form-wrapper .net-position-card {
            border-left: 6px solid #3b82f6;
        }


                .mortgage-enquiry-plugin-form-wrapper .income-breakdown,
        .mortgage-enquiry-plugin-form-wrapper .expense-breakdown {
            margin-bottom: 15px;
        }


                .mortgage-enquiry-plugin-form-wrapper .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f3f4f6;
        }


                .mortgage-enquiry-plugin-form-wrapper .breakdown-item:last-child {
            border-bottom: none;
        }


                .mortgage-enquiry-plugin-form-wrapper .breakdown-item .label {
            color: #6b7280;
            font-size: 0.95rem;
        }


                .mortgage-enquiry-plugin-form-wrapper .breakdown-item .amount {
            font-weight: 600;
            color: #1f2937;
        }


                .mortgage-enquiry-plugin-form-wrapper .total-line {
            background: #f8fafc;
            padding: 15px;
            border-radius: 8px;
                text-align: center;
            color: #1f2937;
            margin-top: 15px;
        }


                .mortgage-enquiry-plugin-form-wrapper .net-calculation {
            background: #f8fafc;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }


                .mortgage-enquiry-plugin-form-wrapper .calc-line {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 1rem;
        }


                .mortgage-enquiry-plugin-form-wrapper .calc-line.separator {
            border-top: 2px solid #d1d5db;
            margin-top: 10px;
            padding-top: 15px;
            font-size: 1.1rem;
        }


                .mortgage-enquiry-plugin-form-wrapper .net-amount {
            font-size: 1.3rem;
            font-weight: 700;
        }


                .mortgage-enquiry-plugin-form-wrapper .net-amount.positive {
            color: #10b981;
        }


                .mortgage-enquiry-plugin-form-wrapper .net-amount.negative {
            color: #ef4444;
        }


                .mortgage-enquiry-plugin-form-wrapper .net-amount.neutral {
            color: #6b7280;
        }


                .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator {
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: 600;
            margin-top: 15px;
        }


                .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator.excellent {
            background: #d1fae5;
            color: #065f46;
            border: 2px solid #10b981;
        }


                .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator.good {
            background: #dbeafe;
            color: #1e40af;
            border: 2px solid #3b82f6;
        }


                .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator.fair {
            background: #fef3c7;
            color: #92400e;
            border: 2px solid #f59e0b;
        }


                .mortgage-enquiry-plugin-form-wrapper .financial-health-indicator.poor {
            background: #fee2e2;
            color: #991b1b;
            border: 2px solid #ef4444;
        }


                .mortgage-enquiry-plugin-form-wrapper .financial-insights {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border: 2px solid #e5e7eb;
        }


                .mortgage-enquiry-plugin-form-wrapper .insights-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }


                .mortgage-enquiry-plugin-form-wrapper .insight-item {
            padding: 12px 0;
            border-bottom: 1px solid #f3f4f6;
            color: #4b5563;
            line-height: 1.6;
        }


                .mortgage-enquiry-plugin-form-wrapper .insight-item:last-child {
            border-bottom: none;
        }


                .mortgage-enquiry-plugin-form-wrapper .insight-item.highlight {
            background: #fffbeb;
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #fbbf24;
            margin: 10px 0;
        }

                .mortgage-enquiry-plugin-form-wrapper .navbar-brand {
        	width: min-content;
        }

        /*.navbar {*/
	       /* height: 40px;*/
        /*}*/
