/* =========================================================
   DAMIAN PHILPOTT — SATIN GLASS CLEAN V2
   ---------------------------------------------------------
   FINAL OVERRIDE AFTER V1.0.90.

   Removes every visible Step 1 radial / circular haze from the
   booking shell while retaining the approved satin translucency.

   NO geometry, footer, card, background-artwork or JS changes.
   ========================================================= */

@media screen and (min-width: 1001px) {

    /* -----------------------------------------------------
       STEP 1 — eliminate all radial/circular haze layers.
       This selector deliberately matches/exceeds the earlier
       Step 1 pseudo-element rules and loads last in the bundle.
       ----------------------------------------------------- */
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment:has(
        .booknetic_appointment_step_element.booknetic_active_step[data-step-id="staff"]
    ) .booknetic_appointment_container::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        pointer-events: none !important;

        /* LINEAR SATIN SHEEN ONLY — no radial-gradient. */
        background:
            linear-gradient(118deg,
                rgba(255,255,255,0.030) 0%,
                rgba(255,255,255,0.010) 18%,
                rgba(255,255,255,0.000) 39%,
                rgba(255,255,255,0.010) 63%,
                rgba(255,255,255,0.000) 82%),
            linear-gradient(180deg,
                rgba(255,255,255,0.020) 0%,
                rgba(255,255,255,0.006) 22%,
                rgba(0,0,0,0.000) 58%,
                rgba(0,0,0,0.025) 100%) !important;
        opacity: .78 !important;
    }

    /* Keep the actual glass pane soft and translucent. */
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment:has(
        .booknetic_appointment_step_element.booknetic_active_step[data-step-id="staff"]
    ) .booknetic_appointment_container {
        background-color: rgba(10,10,10,0.29) !important;
        background-image:
            linear-gradient(180deg,
                rgba(255,255,255,0.018) 0%,
                rgba(255,255,255,0.006) 20%,
                rgba(255,255,255,0.000) 52%,
                rgba(0,0,0,0.025) 100%) !important;
        border-color: rgba(255,255,255,0.095) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.034),
            0 20px 52px rgba(0,0,0,0.18) !important;
        -webkit-backdrop-filter: blur(20px) saturate(104%) brightness(94%) !important;
        backdrop-filter: blur(20px) saturate(104%) brightness(94%) !important;
    }

    /* Near-seamless header/body/footer transitions. */
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment:has(
        .booknetic_appointment_step_element.booknetic_active_step[data-step-id="staff"]
    ) .booknetic_appointment_container_header {
        background: rgba(10,10,10,0.055) !important;
        background-image: none !important;
        border-bottom-color: rgba(255,255,255,0.050) !important;
    }

    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment:has(
        .booknetic_appointment_step_element.booknetic_active_step[data-step-id="staff"]
    ) .booknetic_appointment_container_body {
        background: rgba(10,10,10,0.018) !important;
        background-image: none !important;
    }

    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment:has(
        .booknetic_appointment_step_element.booknetic_active_step[data-step-id="staff"]
    ) .booknetic_appointment_container_footer {
        background: rgba(10,10,10,0.065) !important;
        background-image: none !important;
        border-top-color: rgba(255,255,255,0.050) !important;
    }
}
