/**
 * Force back button to top-left position
 */

/* Ensure the setup screens have proper positioning context */
#singleSetup,
#multiSetup {
    position: relative !important;
}

/* Force back button wrapper to absolute position */
.back-button-absolute-wrapper {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 1000 !important;
}

/* Override any conflicting styles on back button */
#singleSetup .back-button,
#multiSetup .back-button {
    /* Remove any margin auto that might center it */
    margin-left: 0 !important;
    margin-right: 0 !important;
    
    /* Ensure it's not affected by flex centering */
    align-self: auto !important;
}

/* If back button is inside any flex container, exclude it from centering */
#singleSetup > *:not(.back-button-absolute-wrapper),
#multiSetup > *:not(.back-button-absolute-wrapper) {
    /* Only center non-back-button elements */
}

/* Ensure the main content doesn't overlap with back button */
#singleSetup > div:not(.back-button-absolute-wrapper):first-of-type,
#multiSetup > div:not(.back-button-absolute-wrapper):first-of-type {
    margin-top: 20px;
}