.elementor-1649 .elementor-element.elementor-element-1ba44bb5{--display:flex;--gap:1px 1px;--row-gap:1px;--column-gap:1px;--margin-top:-18px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-1649 .elementor-element.elementor-element-1ba44bb5:not(.elementor-motion-effects-element-type-background), .elementor-1649 .elementor-element.elementor-element-1ba44bb5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-98222e3 );}.elementor-1649 .elementor-element.elementor-element-951cb61{--display:flex;--margin-top:-30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}/* Start custom CSS for shortcode, class: .elementor-element-92efd39 *//* 1. Remove the heavy black background and padding from the outer containers */
.tds-search-box, 
.tds-search-box-inner {
    background-color: transparent !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

/* Ensure the inner wrapper handles the positioning properly */
.tds-search-box-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

/* 2. Style the actual input field (Increased contrast and depth) */
.tds-search-box-inner input.form-control {
    background-color: #ffffff !important;
    border: 1px solid #c2c2c2 !important; /* Slightly darker border so the edges are defined */
    border-radius: 8px !important; 
    padding: 20px 24px !important; 
    padding-right: 60px !important; 
    font-size: 18px !important;
    color: #1a1a1a !important; 
    font-weight: 500 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important; /* Deeper, wider shadow to make it float */
    width: 100% !important;
    height: auto !important;
    transition: all 0.3s ease !important;
}

/* 3. The Focus State (When a user clicks to type) */
.tds-search-box-inner input.form-control:focus {
    border-color: #E3000F !important; /* RLA Brand Red */
    box-shadow: 0 4px 20px rgba(227, 0, 15, 0.12) !important; /* Subtle red glow */
    outline: none !important;
}

/* 4. Soften the Placeholder Text */
.tds-search-box-inner input.form-control::placeholder {
    color: #888888 !important;
    font-weight: 400 !important; /* Removes the heavy bold look */
}

/* 5. Position and style the Magnifying Glass Button */
.tds-search-box-inner #tds_btn {
    position: absolute !important;
    right: 15px !important;
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

/* 6. Change icon color (Turns red when hovering or typing) */
.tds-search-box-inner #tds_btn svg {
    fill: #1a1a1a !important;
    transition: fill 0.3s ease !important;
}

.tds-search-box-inner input.form-control:focus + #tds_btn svg,
.tds-search-box-inner #tds_btn:hover svg {
    fill: #E3000F !important; 
}

@media (max-width: 768px) {
    /* 1. Fix the input field for mobile */
    .tds-search-box-inner input.form-control {
        font-size: 16px !important; /* Crucial: Prevents iOS from auto-zooming when tapped */
        padding: 16px 16px !important; /* Slightly slimmer height for mobile screens */
        padding-right: 55px !important; /* Forces the text to stop BEFORE it hits the icon */
        text-overflow: ellipsis !important; /* Adds a clean "..." if the text is still too long */
    }

    /* 2. Scale and align the magnifying glass button */
    .tds-search-box-inner #tds_btn {
        right: 5px !important; /* Move it slightly closer to the right edge */
        padding: 10px !important; /* Ensure it still has a good tap-target size for fingers */
    }

    /* 3. Tweak the icon size so it isn't overpowering */
    .tds-search-box-inner #tds_btn svg {
        width: 20px !important; 
        height: 20px !important;
    }
}/* End custom CSS */