/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

@font-face {
    font-family: 'PetemossCustom';
    src: url('/wp-content/uploads/2026/07/Petemoss-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

        .signup-wrapper {
            max-width: 1200px;
            margin: auto;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 50px 70px;
            box-sizing: border-box;
            position: relative;
        }

        /* =========================================
           STEPPER REGION (Teal Theme Alignment)
           ========================================= */
        .stepper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            margin-bottom: 40px;
        }

        .step {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #b5b5b5;
            font-size: 14px;
            font-weight: 400 !important;
        }

        .step span {
            font-family: Gilroy-Medium;
            color: #b5b5b5;
        }

        .step .icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: #f3f4f6;
            color: #b5b5b5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .step.active .icon {
            background: #e4f7f9;
            color: #11a3b9;
        }

        .step.active span {
            color: #333333;
        }

        .arrow {
            color: #cbd5e1;
            font-size: 18px;
        }

        hr.pa-hr {
            border: none;
            border-top: 1px solid #ececec;
            margin-bottom: 40px !important;
        }

        /* Core Layout Elements */
        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px 24px;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px 24px;
            margin-bottom: 24px;
        }

        .section-title {
            font-size: 16px;
            font-family: Gilroy-Medium;
            color: #333333;
            margin: 28px 0 6px 0;
        }
        
        .section-title:first-of-type {
            margin-top: 0;
        }

        .section-description {
            font-size: 13.5px;
            color: #64748b;
            margin-bottom: 24px;
            line-height: 1.6;
			font-family: Gilroy-Medium;
        }

        .field-label {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 6px;
            display: block;
			font-family: Gilroy-Medium;
        }

        /* Asterisk Component Formatting */
        .field-group {
            position: relative;
            width: 100%;
        }

        .field-group::after {
            content: "*";
            color: #5887FF; 
            position: absolute;
            left: var(--asterisk-pos, 130px);
            top: 16px;
            font-size: 14px;
            pointer-events: none;
            transition: opacity 0.15s ease;
        }

        .field-group.has-value::after {
            opacity: 0;
        }
.form-grid-item.steptwo {
    position: relative !important; /* 🎯 CRITICAL FIX: Anchors absolute positions inside container bounds */
    display: inline-flex !important;
    align-items: center !important;
    width: 100%;
}

        /* Input Controls global layouts */
        .form-grid-item input,
        .form-grid-item select,
        .field-group input,
        .field-group select {
            width: 100% !important; 
            height: 54px !important;
            border: 1px solid #e5e7eb !important;
            border-radius: 10px !important;
            padding: 0 18px !important;
            font-size: 14px !important;
            outline: none !important;
            box-sizing: border-box !important; 
            background: #fff !important;
            color: #333 !important;
			font-family: Gilroy-Medium;
        }

        .form-grid-item input::placeholder,
        .field-group input::placeholder {
            color: #b5b5b5;
			font-family: Gilroy-Medium;
        }

        .form-grid-item input:focus,
        .form-grid-item select:focus,
        .field-group input:focus,
        .field-group select:focus {
            border-color: #11a3b9;
        }

        .form-grid-item.steptwo.has-value::after {
            opacity: 0;
        }

/* Base custom asterisk layout placement rules */
.form-grid-item.steptwo::after {
    content: "*" !important;
    color: #5887FF !important; /* Perfect brand blue color match */
    position: absolute !important;
    display: inline-block !important;
    
    /* 🎯 Dynamic Offset calculation maps directly to your inline variables */
    left: calc(var(--asterisk-pos, 130px) + 20px) !important; 
    
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    font-family: Gilroy-Regular, sans-serif !important;
    pointer-events: none;
    transition: opacity 0.1s ease-in-out;
    z-index: 3;
}


        select {
            cursor: pointer;
            color: #b5b5b5;
            appearance: none;
            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='%23333' 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 18px center;
            background-size: 14px;
        }


        .req-star {
            color: #ef4444;
            margin-left: 2px;
        }

        /* =========================================
           STEP 3: QUESTIONNAIRE GRAPHICS LAYOUT
           ========================================= */
        .question-block {
            margin-bottom: 28px;
			font-family: Gilroy-Medium;
        }

        .question-text {
            font-size: 14px;
            line-height: 1.6;
            color: #4a5568;
            margin-bottom: 12px;
        }

        .options-group {
            display: flex;
            gap: 24px;
            align-items: center;
        }

        .radio-label, .checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #4a5568;
            cursor: pointer;
            user-select: none;
        }

        .radio-label input[type="radio"],
        .checkbox-label input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .custom-radio {
            height: 18px;
            width: 18px;
            background-color: #fff;
            border: 1px solid #cbd5e1;
            border-radius: 50%;
            display: inline-block;
            position: relative;
        }

        .radio-label input:checked ~ .custom-radio {
            border-color: #11a3b9;
            background-color: #11a3b9;
        }

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

        .radio-label input:checked ~ .custom-radio::after {
            display: block;
        }

        .custom-checkbox {
            height: 18px;
            width: 18px;
            background-color: #fff;
            border: 1px solid #cbd5e1;
            border-radius: 4px;
            display: inline-block;
            position: relative;
        }

        .checkbox-label input:checked ~ .custom-checkbox {
            border-color: #11a3b9;
            background-color: #11a3b9;
        }

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

        .checkbox-label input:checked ~ .custom-checkbox::after {
            display: block;
        }

        .explain-wrapper {
            margin-top: 14px;
            display: none;
            animation: fadeIn 0.2s ease-in-out forwards;
        }

        .explain-wrapper.show {
            display: block;
        }



 .explain-wrapper label {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
    font-weight: 400 !important;
}

 .explain-wrapper input[type="text"] {
    width: 100% !important;
    height: 50px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #333333 !important;
    transition: border-color 0.15s ease;
}

 .explain-wrapper input[type="text"]:focus {
    border-color: #11a3b9 !important; /* Matches your core teal focus ring brand asset */
}

/* Clean GPU accelerated translation animation */
@keyframes fadeInFormWrapper {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

        /* =========================================
           STEP 5: AGREE THEME UI COMPONENTS
           ========================================= */
        .btn-yes {
            background: #fff !important;
            color: #11a3b9 !important;
            border: 1px solid #11a3b9 !important;
            border-radius: 6px !important;
            padding: 4px 20px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
        }

        .btn-yes.active {
            background: #11a3b9 !important;
            color: #fff !important;
            border-color: #11a3b9 !important;
        }

        .agree-conditional-content {
            display: none;
            margin-top: 25px;
            animation: fadeIn 0.3s ease-in-out;
        }

        .agree-conditional-content.show {
            display: block;
        }

        .doc-viewer-container {
            width: 100%;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            background: #f8fafc;
            margin-bottom: 24px;
            position: relative;
        }

        .doc-toolbar {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            padding: 10px;
            border-bottom: 1px solid #e2e8f0;
            background: #f1f5f9;
            border-top-left-radius: 7px;
            border-top-right-radius: 7px;
        }

        .doc-tool-btn {
            background: #64748b !important;
            color: #fff !important;
            border: none !important;
            width: 48px !important;
            height: 30px !important;
            border-radius: 4px !important;
            font-size: 11px !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }


        .info-disclosure-box {
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 20px;
            font-size: 13px;
            color: #64748b;
            line-height: 1.6;
            background: #fff;
            margin-bottom: 25px;
			font-family: Gilroy-Medium;
        }

        .info-disclosure-box a {
            color: #10b981;
            text-decoration: none;
            font-weight: 500;
        }

        .sig-preview-box {
            width: 100%;
            height: 120px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            background: #ffffff;
            margin: 12px 0 24px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'PetemossCustom', cursive, sans-serif !important;
            font-size: 60px !important; 
            color: #0f172a !important;
            box-sizing: border-box;
            user-select: none;
        }

        /* =========================================
           STEP 6: ACH DETAILS LAYOUT SYSTEM
           ========================================= */
        .segmented-type-control {
            display: inline-flex;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
        }

        .segment-btn {
            height: 44px;   
            padding: 0 24px !important;
            font-size: 14px !important;
            color: #4a5568 !important;
            background: transparent;
            border: none !important;
            border-right: 1px solid #cbd5e1 !important;
            cursor: pointer !important;
            font-weight: 500 !important;
            transition: all 0.15s ease !important;
        }

        .segment-btn:last-child {
            border-right: none;
        }

        .segment-btn.active {
            background: #ffffff !important;
            color: #11a3b9 !important;
        }

        .segment-btn:hover {
            background: #11a3b9 !important;
            color: #ffffff !important;
            border-color: #11a3b9 !important;
        }

        .other-type-wrapper {
            margin-top: 16px;
            display: none;
            animation: fadeIn 0.2s ease-in-out forwards;
        }

        .other-type-wrapper.show {
            display: block;
        }

        .declaration-row {
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid #f1f5f9;
			font-family: Gilroy-Medium;
        }

        .declaration-row .checkbox-label {
            align-items: flex-start;
            line-height: 1.6;
        }

        .declaration-row .custom-checkbox {
            margin-top: 3px;
            flex-shrink: 0;
        }

        /* Action Buttons Area */
        .form-actions {
            margin-top: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #f1f5f9;
            padding-top: 24px;
        }

        .grid-next-btn,
        #prevBtn,
        #globalNextBtn {
            min-width: 160px !important;
            height: 52px !important;
            border: none !important;
            border-radius: 10px !important;
            cursor: pointer !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.2s !important;
        }

        .grid-next-btn {
            background: #11a3b9 !important;
            color: #fff !important;
            width: 100% !important;
			font-family: Gilroy-bold;
        }

        #prevBtn {
            background: #fff !important;
            color: #4a5568 !important;
            border: 1px solid #e2e8f0 !important;
			font-family: Gilroy-bold;
        }

        #prevBtn:hover {
            background: #f8fafc !important;
        }

        #globalNextBtn {
            background: #11a3b9 !important;
            color: #fff !important;
			font-family: Gilroy-bold;
        }

        .grid-next-btn:hover,
        #globalNextBtn:hover {
            opacity: 0.95 !important;
        }

        .required-text {
            margin-top: 24px;
            color: #b5b5b5;
            font-size: 13px;
            font-style: italic;
            text-align: left;
        }
        
        .required-text span {
            color: #ef4444;
            font-style: normal;
            margin-right: 2px;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-4px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Mobile Layout Constraints */
        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            .signup-wrapper {
                padding: 30px 20px;
            }

            .stepper {
                display: none; 
            }

            .mobile-header {
                display: block !important;
                text-align: center;
                font-size: 18px;
                font-weight: 400;
                color: #333;
                margin-bottom: 25px;
            }

            .grid-2, .grid-3 {
                grid-template-columns: 1fr !important;
                gap: 18px;
            }

            .form-actions {
                flex-direction: column-reverse;
                gap: 12px;
            }

            .grid-next-btn, #prevBtn, #globalNextBtn {
                width: 100%;
            }

            .required-text {
                text-align: center;
            }
        }

        .mobile-header {
            display: none;
        }



/* =========================================
   CLEAN EMBEDDED DOCUMENT VIEWER SURFACE 
   ========================================= */
.signup-wrapper .doc-viewer-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
}

.signup-wrapper .doc-body-scroll {
    padding: 0 !important;
    background: #ffffff !important;
}

/* Forces the iframe to drop redundant inline browser margins */
.signup-wrapper #pa_pdf_preview_frame {
    width: 100% !important;
/*     height: 550px !important; /* Increased slightly to balance the missing native options bars */ 
    border: none !important;
    display: block !important;
    background: #ffffff !important;
}

/* Center-aligns the bottom text layout blocks to match your second screenshot design */
.signup-wrapper .form-step:has(#pa_pdf_preview_frame) {
    text-align: center !important;
}

.signup-wrapper .form-step:has(#pa_pdf_preview_frame) .section-description {
    text-align: left !important; /* Retain paragraph text alignment readability */
}

.signup-wrapper .form-step:has(#pa_pdf_preview_frame) .question-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}


/* =========================================
   GLOBAL OVERLAY LOADER CONFIGURATIONS
   ========================================= */
.signup-wrapper .pa-loader-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.85) !important;
    z-index: 999999 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    
    /* Change this to display none by default */
    display: none !important; 
    opacity: 0;
    transition: opacity 0.2s ease-in-out !important;
}

/* Toggle state handle class managed cleanly by jQuery scripts */
.signup-wrapper .pa-loader-overlay.is-visible {
    display: flex !important;
    opacity: 1 !important;
}

.signup-wrapper .pa-loader-spinner {
    width: 45px !important;
    height: 45px !important;
    border: 3.5px solid #e2e8f0 !important;
    border-top-color: #11a3b9 !important;
    border-radius: 50% !important;
    animation: paSpinnerRotate 0.8s linear infinite !important;
}

.signup-wrapper .pa-loader-text {
    font-size: 14px !important;
    color: rgb(71, 85, 105) !important;
    font-weight: 500 !important;
}

@keyframes paSpinnerRotate {
    to { transform: rotate(360deg); }
}

/* 2. Overriding Active State (Managed cleanly by jQuery class toggles) */
.signup-wrapper .pa-loader-overlay.is-visible {
    display: flex !important;
    opacity: 1 !important;
}


/* =========================================
   INVALID INPUT FIELD BORDER HIGHLIGHTS
   ========================================= */
.signup-wrapper .input-error {
    border-color: #ef4444 !important; /* Clean corporate crimson red */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important; /* Soft outer red glow ring */
}

/* Ensure dropdown selects style correctly on validation fail */
.signup-wrapper select.input-error {
    color: #ef4444 !important;
}

/* Custom Checkbox error highlight match */
.signup-wrapper .custom-checkbox.checkbox-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

/* Custom Radio button block error highlight match */
.signup-wrapper .custom-radio.input-error {
    border-color: #ef4444 !important;
}
/* Update your scroll wrappers */
.doc-body-scroll, .doc-body-scroll-ach {
    display: block !important;       /* DO NOT use flex center here when zoomed in, or canvas clipping happens */
    width: 100% !important;
    max-height: 600px !important;
    overflow: auto !important;        /* Instantly shows horizontal and vertical scrollbars */
    position: relative !important;
    background-color: #f8fafc !important;
}

/* Force canvas to stay centered when smaller, but allow expanding outward */
#pa_pdf_canvas, #pa_ach_pdf_canvas {
    display: block !important;
    margin: 0 auto !important;
    max-width: none !important;      /* CRITICAL: Overrides theme settings preventing scaling overrides */
}

/* =========================================
   LOCKED AGREEMENT BUTTON UI STATES
   ========================================= */
.signup-wrapper .btn-yes.disabled-btn {
    background-color: #cbd5e1 !important; /* Soft gray out color mapping */
    border-color: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
    pointer-events: none !important; /* Blocks unexpected early click cascades */
    transition: all 0.2s ease-in-out !important;
}

@media screen and (max-width: 768px) {
}

/* Force hide utility rules */
.signup-wrapper #prevBtn.hidden-step-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


.isolated-step-component {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            box-sizing: border-box;
        }
        .isolated-step-component *, .isolated-step-component *::before, .isolated-step-component *::after {
            box-sizing: border-box;
        }
        
        /* Mobile Fluid Breakdown Rule Grid Matrix */
        @media screen and (max-width: 768px) {
            .isolated-step-component .pa-summary-header-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                padding: 15px !important;
            }
            .isolated-step-component .doc-toolbar {
                display: flex !important;
                justify-content: center !important;
                gap: 15px !important;
                padding: 10px !important;
            }
            .isolated-step-component .doc-tool-btn {
                padding: 8px 16px !important;
                flex-grow: 1;
                display: inline-flex;
                justify-content: center;
                align-items: center;
            }
            .isolated-step-component .question-block {
                text-align: center !important;
            }
            .isolated-step-component .btn-yes {
                width: 100% !important;
                margin-top: 12px !important;
                padding: 14px !important;
                font-size: 15px !important;
            }
            .isolated-step-component .isolated-submit-btn-container {
                text-align: center !important;
            }
            .isolated-step-component .isolated-submit-btn {
                width: 100% !important;
                padding: 14px !important;
                font-size: 15px !important;
            }
            .isolated-step-component .info-disclosure-box {
                font-size: 12.5px !important;
                line-height: 1.5 !important;
                padding: 12px !important;
            }
            .isolated-step-component .checkbox-label {
                align-items: flex-start !important;
            }
            .isolated-step-component .checkbox-label span:not(.custom-checkbox) {
                font-size: 12px !important;
                line-height: 1.4 !important;
            }
			
			
        }

.pg-success-container {
            display: inline-flex; 
            align-items: center; 
            justify-content: center; 
            gap: 16px; 
            color: #10b981; 
            font-size: 16px; 
            font-weight: 500; 
            font-family: inherit;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }
        .pg-success-text {
            color: #4a5568; 
            font-weight: 600;
            line-height: 1.5;
            text-align: left;
        }
        .pg-success-icon {
            flex-shrink: 0;
            vertical-align: middle;
        }

        /* Mobile Responsive Adjustments */
        @media screen and (max-width: 768px) {
            .pg-success-container {
                flex-direction: column !important;
                text-align: center !important;
                gap: 12px !important;
            }
            .pg-success-text {
                text-align: center !important;
                font-size: 15px !important;
            }
        }


.field-group {
    position: relative;
}

.field-group .state-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff !important;
    
    /* 🎯 SWAPPED FOR SOLID TRIANGLE CARET: Clean inline SVG polygon fill */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolygon points='6,9 12,15 18,9' fill='%23475569'/%3E%3C/svg%3E") !important;
    
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 44px !important; 
    cursor: pointer;
}

#pa_ach_state{
	    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff !important;
    
    /* 🎯 SWAPPED FOR SOLID TRIANGLE CARET: Clean inline SVG polygon fill */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpolygon points='6,9 12,15 18,9' fill='%23475569'/%3E%3C/svg%3E") !important;
    
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 44px !important; 
    cursor: pointer;
}

/* =================================================================
   🎯 AUTOMATIC RIGHT ALIGNMENT ON HIDDEN BACK BUTTON STATES
   ================================================================= */
.signup-wrapper #globalActionRow:has(#prevBtn.hidden-step-btn) {
    justify-content: flex-end !important;
}

/* Fallback override to align next button inside grid layout models */
.signup-wrapper #prevBtn.hidden-step-btn ~ #globalNextBtn {
    margin-left: auto !important;
}

/* =================================================================
   🎯 FIXED DROPDOWN PLACEHOLDER SYSTEM
   ================================================================= */

/* 1. Base Dropdown State: Make the text gray when no real choice is selected */
select.state-select {
    color: #b5b5b5 !important;
    font-family: Gilroy-Medium, sans-serif;
}

/* 2. Active Dropdown State: Turn text dark only when a real choice is made */
select.state-select.selected {
    color: #333333 !important;
}

/* 3. 🎯 THE CRITICAL FIX: Forces all dropdown menu items inside the open list 
      to stay dark, ensuring they don't inherit the gray placeholder color */
select.state-select option,
select.state-select * {
    color: #333333 !important;
    background-color: #ffffff !important;
}

/* 4. Keep just the single "State" line gray inside the open list track */
select.state-select option[value=""] {
    color: #B3B3B3 !important;
}


/* Removes the asterisk pseudo-element on wrappers with this class */
.field-group.no-asterisk::after,
.form-grid-item.no-asterisk::after {
    display: none !important;
    content: none !important;
}

.field-group,
.form-grid-item {
    position: relative !important;
    margin-bottom: 22px !important; /* Creates a clean safety gap below each box */
}

.error-msg-text {
    position: absolute !important;
    left: 0 !important;
    bottom: -18px !important; /* Aligns perfectly right below the border line */
    width: 100% !important;
    white-space: nowrap !important; /* Prevents long text from awkward wrapping breaks */
    z-index: 2;
    margin-top: 0 !important; /* Overrides any manual top spacing */
}

/* Removals of focus outline across all segment button elements */
.segmented-type-control .segment-btn:focus,
.segmented-type-control .segment-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important; /* Prevents Chrome/Safari webkit shadows from rendering */
	background-color:none !important;
	background: none !important;
    color: #11a3b9 !important;
}