/* OneTrust Widget Positioning and Styling
 * Handles widget positioning and consent banner integration
 */

/* OneTrust Cookie Settings Button - Clean Footer Link Style */
#ot-sdk-btn.ot-sdk-show-settings {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    position: static !important;
    display: inline !important;
    z-index: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

#ot-sdk-btn.ot-sdk-show-settings:hover {
    text-decoration: none !important;
}

/* Base positions */
div#page-container {
    padding-bottom: 200px;
}

body.onetrust-completed div#page-container {
    padding-bottom: 0 !important;
}

a.call-button {
    bottom: 20px;
}

div.userway_buttons_wrapper {
    bottom: 100px !important;
    left: 20px !important;
    /* z-index: 5 !important; */
}

div#onetrust-consent-sdk {
    z-index: 999999999999;
    position: relative;
}

/* Desktop Styles */
@media(min-width:768px){
    div#page-container {
        padding-bottom: 45px;
    }

    #icw {
        bottom: 100px !important;
        transition: bottom 0.4s ease-in-out;
    }

    .userway_buttons_wrapper {
        bottom: 100px !important;
        transition: bottom 0.4s ease-in-out;
    }

    #icw--call--content {
        bottom: 120px !important;
        transition: bottom 0.4s ease-in-out;
    }

    /* After OneTrust consent */
    body.onetrust-completed .userway_buttons_wrapper {
        /* background: gray; */
    }

    body.onetrust-completed #icw {
        bottom: 20px !important;
        /* background: red; */
    }

    body.onetrust-completed #icw--call--content {
        bottom: 20px !important;
        /* background: blue; */
    }

    /* Needs to toggles and not stay hidden after closing */
    .call-widget-open .userway_buttons_wrapper {
        display: none !important;
    }

    /* Z-INDEX MANAGEMENT */
    /*
    #onetrust-consent-sdk,
    #onetrust-banner-sdk {
        z-index: 999999 !important;
    }

    #icw,
    #icw--call--content {
        z-index: 9998 !important;
    }

    .userway_buttons_wrapper,
    .uwif {
        z-index: 9997 !important;
    }

    body.intaker-active #icw,
    body.intaker-active #icw--call--content {
        z-index: 9998 !important;
    }

    body.intaker-active .userway_buttons_wrapper,
    body.intaker-active .uwif {
        z-index: 9997 !important;
    }

    body.userway-active .userway_buttons_wrapper,
    body.userway-active .uwif {
        z-index: 9998 !important;
    }

    body.userway-active #icw,
    body.userway-active #icw--call--content {
        z-index: 9997  !important;
    }
    */
}