/*
 * Tely custom customer login page
 */

/* Hide MagePlaza's duplicate visible social buttons.
   Do NOT remove MagePlaza's JS/infrastructure. */
body .customer-account-login .account-social-login {
    display: none !important;
}

/* Remove the usual Magento/Luma page constraints */
body .customer-account-login .page-wrapper {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .customer-account-login .page-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .customer-account-login .columns {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .customer-account-login .column.main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    flex: none !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

/*
 * Luma normally gives the login block a partial-column width.
 * Neutralize that.
 */
body .customer-account-login .login-container,
body .customer-account-login .block-customer-login {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    float: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

/*
 * Safety net in case the active theme adds its own visual
 * header/footer wrappers.
 */
body .customer-account-login .page-header,
body .customer-account-login .page-footer,
body .customer-account-login .copyright {
    display: none !important;
}

.desktop-back {
	
}

.desktop-back .tely-login-minicart {
	float: right;
	clear: right;
}

.desktop-back button {
	float: left;
	clear: left;
}

.tely-login-minicart #top-cart-btn-checkout {
    cursor: pointer;
}

/*
 * Login page minicart:
 * keep Magento checkout button and Stripe Express Checkout
 * as two separate vertical actions.
 */
.tely-login-minicart .block-minicart .actions > .primary {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/*
 * Native Magento "Proceed to Checkout".
 * Keep it physically above any Stripe iframe overlap.
 */
.tely-login-minicart #top-cart-btn-checkout {
    position: relative;
    z-index: 10;
    width: 100%;
    cursor: pointer;
    pointer-events: auto;
}

/*
 * Container generated by Magento's extra_actions.
 */
.tely-login-minicart
.block-minicart
.actions
> .primary
> div[data-bind*="extra_actions"] {
    position: relative;
    z-index: 1;
    display: block;
    clear: both;
    width: 100%;
    margin-top: 12px;
}

/*
 * Stripe Express Checkout container.
 */
.tely-login-minicart .stripe-payments-express-minicart {
    position: relative !important;
    z-index: 1;
    display: block;
    clear: both;
    width: 100%;
    margin-top: 0 !important;
}

/*
 * Stripe's payment-request wrapper should remain
 * inside its own section.
 */
.tely-login-minicart #payment-request-button-minicart {
    position: relative !important;
    z-index: 1;
    display: block;
    width: 100%;
}