/*
 * BIASHARAHUB FORM CSS RESET
 *
 * Intentionally empty.
 *
 * The Classified Listing / RTCL Form Builder
 * native stylesheet controls the submission form.
 */


/* BIASHARAHUB — FIX DUPLICATE RTCL FIELD OUTLINES */
@media (min-width: 768px) {
    body.rtcl-form-page #rtcl-form-builder .rtcl-fb-field-content {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.rtcl-form-page #rtcl-form-builder
    .rtcl-fb-field-content > .rtcl-fb-input,
    body.rtcl-form-page #rtcl-form-builder
    .rtcl-fb-field-content > .rtcl-fb-input-wrapper {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* BIASHARAHUB — TARGETED ANT DESIGN DOUBLE-BORDER FIX */

/* Remove the outer field wrapper's visible box */
body.rtcl-post-ad #rtcl-form-builder
.rtcl-fb-field-content:has(.ant-select.rtcl-fb-input-select) {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* The Ant Design component itself must not draw another border */
body.rtcl-post-ad #rtcl-form-builder
.rtcl-fb-field-content .ant-select.rtcl-fb-input-select {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Keep one visible border on the actual dropdown */
body.rtcl-post-ad #rtcl-form-builder
.rtcl-fb-field-content
.ant-select.rtcl-fb-input-select
.ant-select-selector {
    border: 1px solid #d7e0ea !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

/* Remove the outer focus outline */
body.rtcl-post-ad #rtcl-form-builder
.rtcl-fb-field-content
.ant-select.rtcl-fb-input-select:focus,
body.rtcl-post-ad #rtcl-form-builder
.rtcl-fb-field-content
.ant-select.rtcl-fb-input-select:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

/* Preserve a subtle green focus state on the single visible border */
body.rtcl-post-ad #rtcl-form-builder
.rtcl-fb-field-content
.ant-select.rtcl-fb-input-select.ant-select-focused
.ant-select-selector {
    border-color: #0e8f55 !important;
    box-shadow: 0 0 0 2px rgba(14, 143, 85, 0.10) !important;
}
