/**
 * DM OTP Auth - Frontend Styles (Banimode / Clean Minimal Design)
 */

:root {
    --cotp-btn-bg: #c49a45;
    --cotp-btn-hover: #b08736;
    --cotp-btn-text: #ffffff;
    --cotp-placeholder-color: #cbd5e1;
}

/* Inherit Site Default Font Everywhere */
.cotp-wrapper,
.cotp-wrapper *,
.cotp-card,
.cotp-card *,
.cotp-modal-backdrop,
.cotp-modal-backdrop * {
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.cotp-wrapper {
    width: 100% !important;
    max-width: 400px !important;
    margin: 30px auto !important;
    direction: rtl !important;
    text-align: right !important;
}

.cotp-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    padding: 36px 32px !important;
    border: 1px solid #e0e0e2 !important;
    width: 100% !important;
    max-width: 400px !important;
    min-height: 390px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.cotp-logo {
    text-align: center !important;
}

.cotp-logo img {
    max-height: 55px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    object-fit: contain !important;
    margin-bottom: 50px !important;
}

.cotp-header {
    text-align: center !important;
    margin-bottom: 26px !important;
}

.cotp-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 10px 0 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
}

.cotp-desc {
    font-size: 13.5px !important;
    color: #81858b !important;
    margin: 0 !important;
    line-height: 1.7 !important;
    font-family: inherit !important;
}

.cotp-field-group {
    margin-bottom: 18px !important;
}

.cotp-input {
    width: 100% !important;
    height: 50px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    border: 1px solid #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    outline: none !important;
    transition: none !important;
    text-align: right !important;
    direction: rtl !important;
    font-family: inherit !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

/* Hover state: Border must strictly NOT change color on hover - keep normal border #e2e8f0 */
.cotp-input:hover,
input.cotp-input:hover,
input[type="tel"].cotp-input:hover,
input[type="text"].cotp-input:hover,
html body .cotp-wrapper input.cotp-input:hover,
html body .cotp-wrapper input[type="tel"].cotp-input:hover,
html body .cotp-wrapper input[type="text"].cotp-input:hover,
html body div.woocommerce .cotp-wrapper input.cotp-input:hover,
html body div.woocommerce .cotp-wrapper input[type="tel"].cotp-input:hover,
html body .woocommerce-page .cotp-wrapper input.cotp-input:hover,
html body .woocommerce-account .cotp-wrapper input.cotp-input:hover,
html body .woocommerce-checkout .cotp-wrapper input.cotp-input:hover,
html body.dm-otp-checkout-locked .cotp-wrapper input.cotp-input:hover,
html body.dm-otp-no-header-footer .cotp-wrapper input.cotp-input:hover,
html body form.woocommerce-form-login input.cotp-input:hover,
html body div.woocommerce form input[type="tel"].cotp-input:hover,
html body div.woocommerce form input.cotp-input:hover {
    border: 1px solid #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Extra Soft Light Gray Placeholder #c5c7cb - SEPARATE RULES so no browser drops them */
html body .cotp-wrapper input.cotp-input::-webkit-input-placeholder {
    color: #c5c7cb !important;
    -webkit-text-fill-color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
input.cotp-input::-webkit-input-placeholder {
    color: #c5c7cb !important;
    -webkit-text-fill-color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
html body .cotp-wrapper input.cotp-input::-moz-placeholder {
    color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
input.cotp-input::-moz-placeholder {
    color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
html body .cotp-wrapper input.cotp-input:-ms-input-placeholder {
    color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
input.cotp-input:-ms-input-placeholder {
    color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
html body .cotp-wrapper input.cotp-input::placeholder {
    color: #c5c7cb !important;
    -webkit-text-fill-color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}
input.cotp-input::placeholder {
    color: #c5c7cb !important;
    -webkit-text-fill-color: #c5c7cb !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
}

/* Any field labels or floating labels generated by theme */
html body .cotp-wrapper label,
html body .cotp-wrapper .cotp-field-group label,
html body .cotp-wrapper .woodmart-field-label {
    color: #c5c7cb !important;
}

/* Focus / Active state: Border stays EXACT same #e2e8f0 as normal state */
.cotp-input:focus,
.cotp-input:active,
input.cotp-input:focus,
input.cotp-input:active,
input[type="tel"].cotp-input:focus,
input[type="tel"].cotp-input:active,
html body .cotp-wrapper input.cotp-input:focus,
html body .cotp-wrapper input.cotp-input:active,
html body div.woocommerce .cotp-wrapper input.cotp-input:focus,
html body div.woocommerce .cotp-wrapper input.cotp-input:active {
    border: 1px solid #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}

.cotp-input:focus:hover,
input.cotp-input:focus:hover,
input[type="tel"].cotp-input:focus:hover,
html body .cotp-wrapper input.cotp-input:focus:hover,
html body div.woocommerce .cotp-wrapper input.cotp-input:focus:hover {
    border: 1px solid #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}

.cotp-input-code {
    text-align: center !important;
    letter-spacing: 6px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    direction: ltr !important;
}

/* High Specificity Button Styling - No movement, no color shift */
html body .cotp-wrapper .cotp-card button.cotp-btn,
html body .cotp-wrapper button.cotp-btn,
html body .cotp-modal-dialog button.cotp-btn,
html body .woocommerce-page .cotp-wrapper button.cotp-btn,
html body .woocommerce-account .cotp-wrapper button.cotp-btn,
html body .woocommerce-checkout .cotp-wrapper button.cotp-btn,
html body.dm-otp-checkout-locked .cotp-wrapper button.cotp-btn,
html body.dm-otp-no-header-footer .cotp-wrapper button.cotp-btn,
html body div.woocommerce .cotp-wrapper button.cotp-btn,
button.cotp-btn.cotp-btn-send,
button.cotp-btn.cotp-btn-verify,
button.cotp-btn {
    width: 100% !important;
    height: 50px !important;
    background: var(--cotp-btn-bg, #c49a45) !important;
    background-color: var(--cotp-btn-bg, #c49a45) !important;
    color: var(--cotp-btn-text, #ffffff) !important;
    border: none !important;
    border-color: var(--cotp-btn-bg, #c49a45) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    text-decoration: none !important;
    line-height: 1 !important;
    font-family: inherit !important;
    margin-top: 6px !important;
}

/* Hover state: EXACT same color, NO movement, NO translateY, NO jitter */
html body .cotp-wrapper .cotp-card button.cotp-btn:hover,
html body .cotp-wrapper button.cotp-btn:hover,
html body .cotp-modal-dialog button.cotp-btn:hover,
html body .woocommerce-page .cotp-wrapper button.cotp-btn:hover,
html body .woocommerce-account .cotp-wrapper button.cotp-btn:hover,
html body .woocommerce-checkout .cotp-wrapper button.cotp-btn:hover,
html body.dm-otp-checkout-locked .cotp-wrapper button.cotp-btn:hover,
html body.dm-otp-no-header-footer .cotp-wrapper button.cotp-btn:hover,
html body div.woocommerce .cotp-wrapper button.cotp-btn:hover,
button.cotp-btn.cotp-btn-send:hover,
button.cotp-btn.cotp-btn-verify:hover,
button.cotp-btn:hover,
button.cotp-btn:focus,
button.cotp-btn:active {
    background: var(--cotp-btn-bg, #c49a45) !important;
    background-color: var(--cotp-btn-bg, #c49a45) !important;
    color: var(--cotp-btn-text, #ffffff) !important;
    border: none !important;
    border-color: var(--cotp-btn-bg, #c49a45) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    transition: none !important;
    top: 0 !important;
}

button.cotp-btn:disabled {
    background: #cbd5e1 !important;
    background-color: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    color: #ffffff !important;
}

.cotp-spinner {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: cotp-spin 0.8s linear infinite !important;
}

@keyframes cotp-spin {
    to { transform: rotate(360deg); }
}

.cotp-phone-display {
    background: #f8fafc !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    color: #475569 !important;
    margin-bottom: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-family: inherit !important;
    border: 1px solid #f1f5f9 !important;
}

.cotp-target-phone {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-family: inherit !important;
}

.cotp-btn-edit-phone {
    background: none !important;
    border: none !important;
    color: var(--cotp-btn-bg, #c49a45) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0 !important;
    text-decoration: underline !important;
    font-family: inherit !important;
}

.cotp-timer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #64748b !important;
    margin-bottom: 20px !important;
    font-family: inherit !important;
}

.cotp-timer-clock {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-family: inherit !important;
}

.cotp-btn-resend {
    background: none !important;
    border: none !important;
    color: var(--cotp-btn-bg, #c49a45) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.2s !important;
    font-family: inherit !important;
}

.cotp-btn-resend:hover {
    text-decoration: underline !important;
    filter: brightness(0.9) !important;
}

.cotp-roles-text,
.cotp-roles-text p,
.cotp-roles-text span:not([class*="link"]):not([class*="btn"]),
html body .cotp-wrapper .cotp-roles-text,
html body .cotp-wrapper .cotp-roles-text p,
html body .cotp-wrapper .cotp-roles-text span:not([class*="link"]):not([class*="btn"]),
html body .cotp-roles-text,
html body .cotp-roles-text p {
    font-size: 11.5px !important;
    color: #81858b !important;
    text-align: center !important;
    margin-top: 18px !important;
    line-height: 1.7 !important;
    font-family: inherit !important;
}

.cotp-roles-text a,
.cotp-roles-text a:visited,
html body .cotp-wrapper .cotp-roles-text a,
html body .cotp-roles-text a {
    color: var(--cotp-btn-bg, #c49a45) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    transition: opacity 0.2s ease !important;
}

.cotp-roles-text a:hover,
html body .cotp-wrapper .cotp-roles-text a:hover,
html body .cotp-roles-text a:hover {
    color: var(--cotp-btn-bg, #c49a45) !important;
    opacity: 0.85 !important;
}

.cotp-alerts {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    text-align: center !important;
    font-family: inherit !important;
}

.cotp-alert-error {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

.cotp-alert-success {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

/* Modal Popup Styles */
.cotp-modal-backdrop {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.cotp-modal-backdrop.is-visible {
    display: flex !important;
}

.cotp-modal-dialog {
    position: relative !important;
    width: 100% !important;
    max-width: 420px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    animation: cotp-fade-scale 0.25s ease-out !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: auto !important;
}

@keyframes cotp-fade-scale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cotp-modal-close {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.cotp-modal-close:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #0f172a !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.cotp-modal-content .cotp-wrapper {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.cotp-modal-dialog .cotp-card,
html body .cotp-modal-dialog .cotp-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 36px 30px 28px 30px !important;
    box-sizing: border-box !important;
}

.cotp-wc-login-container {
    width: 100% !important;
    max-width: 400px !important;
    margin: 40px auto !important;
}

/* Checkout Login Form Integration */
.dm-otp-checkout-login-wrap {
    width: 100% !important;
    max-width: 400px !important;
    margin: 20px auto 35px auto !important;
    float: none !important;
}

.dm-otp-checkout-login-wrap .cotp-wrapper,
.dm-otp-checkout-locked-wrap .cotp-wrapper {
    margin: 0 auto !important;
    max-width: 100% !important;
}

/* Checkout Locked State for Guests */
body.dm-otp-checkout-locked form.woocommerce-checkout,
body.dm-otp-checkout-locked form.checkout,
body.dm-otp-checkout-locked #order_review,
body.dm-otp-checkout-locked .woocommerce-checkout-review-order,
body.dm-otp-checkout-locked .woocommerce-NoticeGroup-checkout,
body.dm-otp-checkout-locked .checkout-coupon-toggle,
body.dm-otp-checkout-locked .woocommerce-form-coupon-toggle,
body.dm-otp-checkout-locked .page-title,
body.dm-otp-checkout-locked .wd-page-title,
body.dm-otp-checkout-locked .page-title-default,
body.dm-otp-checkout-locked .title-checkout,
body.dm-otp-checkout-locked .title-design-default,
body.dm-otp-checkout-locked .woodmart-checkout-steps,
body.dm-otp-checkout-locked .wd-checkout-steps,
body.dm-otp-checkout-locked .checkout-steps-wrapper,
body.dm-otp-checkout-locked .page-heading,
body.dm-otp-checkout-locked .page-title-wrapper {
    display: none !important;
    background: transparent !important;
    background-color: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

body.dm-otp-checkout-locked,
body.dm-otp-checkout-locked .main-page-wrapper,
body.dm-otp-checkout-locked .website-wrapper,
body.dm-otp-checkout-locked .wd-page-wrapper {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Hide standard username/password login forms on checkout */
body.woocommerce-checkout form.login:not(.cotp-form),
body.woocommerce-checkout form.woocommerce-form-login:not(.cotp-form),
body.woocommerce-checkout .woodmart-login-form {
    display: none !important;
}

/* Hide guest checkout account creation (username/password) fields */
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout .create-account,
.woocommerce-checkout #createaccount,
.woocommerce-checkout p[id*="account_password"],
.woocommerce-checkout p[id*="account_username"],
.woocommerce-checkout .checkout-create-account {
    display: none !important;
}

.dm-otp-checkout-locked-wrap {
    width: 100% !important;
    max-width: 400px !important;
    margin: 40px auto !important;
}

.dm-otp-checkout-toggle-wrap .woocommerce-info {
    border-top-color: var(--cotp-btn-bg, #c49a45) !important;
}

/* Checkout Toggle Links - Underline removed completely */
.dm-otp-checkout-toggle-btn,
.woocommerce-form-login-toggle a.showlogin,
.woocommerce-form-login-toggle a,
a.showlogin,
.showlogin {
    color: var(--cotp-btn-bg, #c49a45) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
}

.dm-otp-checkout-toggle-btn:hover,
.woocommerce-form-login-toggle a.showlogin:hover,
.woocommerce-form-login-toggle a:hover,
a.showlogin:hover,
.showlogin:hover {
    color: var(--cotp-btn-bg, #c49a45) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    opacity: 0.85 !important;
}

/* ==========================================================================
   Clean Full-Screen Login & Registration Page (No Header / No Footer)
   ========================================================================== */
body.dm-otp-no-header-footer,
body.dm-otp-checkout-locked,
body.woocommerce-account:not(.logged-in) {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.dm-otp-no-header-footer header,
body.dm-otp-no-header-footer footer,
body.dm-otp-no-header-footer .whb-header,
body.dm-otp-no-header-footer .wd-header,
body.dm-otp-no-header-footer .header-banner,
body.dm-otp-no-header-footer .topbar-wrapp,
body.dm-otp-no-header-footer .woodmart-header,
body.dm-otp-no-header-footer .footer-container,
body.dm-otp-no-header-footer .woodmart-footer,
body.dm-otp-no-header-footer .wd-footer,
body.dm-otp-no-header-footer .main-footer,
body.dm-otp-no-header-footer .woodmart-prefooter,
body.dm-otp-no-header-footer .wd-prefooter,
body.dm-otp-no-header-footer .woodmart-footer-wrapper,
body.dm-otp-no-header-footer .copyrights-wrapper,
body.dm-otp-no-header-footer .wd-copyrights,
body.dm-otp-no-header-footer .woodmart-toolbar,
body.dm-otp-no-header-footer .wd-toolbar,
body.dm-otp-no-header-footer .page-title,
body.dm-otp-no-header-footer .wd-page-title,
body.dm-otp-no-header-footer .page-heading,
body.dm-otp-no-header-footer .title-shop,
body.dm-otp-no-header-footer #masthead,
body.dm-otp-no-header-footer #colophon,
body.dm-otp-no-header-footer .site-header,
body.dm-otp-no-header-footer .site-footer,
body.dm-otp-checkout-locked header,
body.dm-otp-checkout-locked footer,
body.dm-otp-checkout-locked .whb-header,
body.dm-otp-checkout-locked .wd-header,
body.dm-otp-checkout-locked .header-banner,
body.dm-otp-checkout-locked .topbar-wrapp,
body.dm-otp-checkout-locked .woodmart-header,
body.dm-otp-checkout-locked .footer-container,
body.dm-otp-checkout-locked .woodmart-footer,
body.dm-otp-checkout-locked .wd-footer,
body.dm-otp-checkout-locked .main-footer,
body.dm-otp-checkout-locked .woodmart-prefooter,
body.dm-otp-checkout-locked .wd-prefooter,
body.dm-otp-checkout-locked .woodmart-footer-wrapper,
body.dm-otp-checkout-locked .copyrights-wrapper,
body.dm-otp-checkout-locked .wd-copyrights,
body.dm-otp-checkout-locked .woodmart-toolbar,
body.dm-otp-checkout-locked .wd-toolbar,
body.dm-otp-checkout-locked .page-title,
body.dm-otp-checkout-locked .wd-page-title,
body.dm-otp-checkout-locked .page-heading,
body.dm-otp-checkout-locked .title-shop,
body.dm-otp-checkout-locked #masthead,
body.dm-otp-checkout-locked #colophon,
body.dm-otp-checkout-locked .site-header,
body.dm-otp-checkout-locked .site-footer,
body.woocommerce-account:not(.logged-in) header,
body.woocommerce-account:not(.logged-in) footer,
body.woocommerce-account:not(.logged-in) .whb-header,
body.woocommerce-account:not(.logged-in) .wd-header,
body.woocommerce-account:not(.logged-in) .header-banner,
body.woocommerce-account:not(.logged-in) .topbar-wrapp,
body.woocommerce-account:not(.logged-in) .woodmart-header,
body.woocommerce-account:not(.logged-in) .footer-container,
body.woocommerce-account:not(.logged-in) .woodmart-footer,
body.woocommerce-account:not(.logged-in) .wd-footer,
body.woocommerce-account:not(.logged-in) .main-footer,
body.woocommerce-account:not(.logged-in) .woodmart-prefooter,
body.woocommerce-account:not(.logged-in) .wd-prefooter,
body.woocommerce-account:not(.logged-in) .woodmart-footer-wrapper,
body.woocommerce-account:not(.logged-in) .copyrights-wrapper,
body.woocommerce-account:not(.logged-in) .wd-copyrights,
body.woocommerce-account:not(.logged-in) .woodmart-toolbar,
body.woocommerce-account:not(.logged-in) .wd-toolbar,
body.woocommerce-account:not(.logged-in) .page-title,
body.woocommerce-account:not(.logged-in) .wd-page-title,
body.woocommerce-account:not(.logged-in) .page-heading,
body.woocommerce-account:not(.logged-in) .title-shop,
body.woocommerce-account:not(.logged-in) #masthead,
body.woocommerce-account:not(.logged-in) #colophon,
body.woocommerce-account:not(.logged-in) .site-header,
body.woocommerce-account:not(.logged-in) .site-footer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

body.dm-otp-no-header-footer .main-page-wrapper,
body.dm-otp-no-header-footer .content-layout-wrapper,
body.dm-otp-no-header-footer .site-content,
body.dm-otp-no-header-footer .container,
body.dm-otp-no-header-footer .site-main,
body.dm-otp-no-header-footer #content,
body.dm-otp-checkout-locked .main-page-wrapper,
body.dm-otp-checkout-locked .content-layout-wrapper,
body.dm-otp-checkout-locked .site-content,
body.dm-otp-checkout-locked .container,
body.dm-otp-checkout-locked .site-main,
body.dm-otp-checkout-locked #content,
body.woocommerce-account:not(.logged-in) .main-page-wrapper,
body.woocommerce-account:not(.logged-in) .content-layout-wrapper,
body.woocommerce-account:not(.logged-in) .site-content,
body.woocommerce-account:not(.logged-in) .container,
body.woocommerce-account:not(.logged-in) .site-main,
body.woocommerce-account:not(.logged-in) #content {
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 0 auto !important;
}

body.dm-otp-no-header-footer .cotp-wc-login-container,
body.dm-otp-checkout-locked .cotp-wc-login-container,
body.woocommerce-account:not(.logged-in) .cotp-wc-login-container {
    margin: 40px auto !important;
    width: 100% !important;
    max-width: 400px !important;
}

/* ==========================================================================
   Mobile Responsive Adjustments (No border, 20px content spacing left & right)
   ========================================================================== */
@media (max-width: 480px) {
    /* Standalone Pages (My Account & Checkout) */
    .cotp-wrapper:not(.cotp-modal-content *),
    .cotp-wc-login-container,
    .dm-otp-checkout-login-wrap,
    .dm-otp-checkout-locked-wrap {
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .cotp-card:not(.cotp-modal-dialog *),
    html body .cotp-card:not(.cotp-modal-dialog *) {
        border: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.dm-otp-no-header-footer,
    body.dm-otp-checkout-locked,
    body.woocommerce-account:not(.logged-in),
    body.woocommerce-checkout:not(.logged-in) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Modal Popup Responsive Mobile Adjustments */
    .cotp-modal-backdrop {
        padding: 14px !important;
    }

    .cotp-modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        margin: auto !important;
        border-radius: 18px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
        max-height: calc(100vh - 28px) !important;
        overflow-y: auto !important;
    }

    .cotp-modal-dialog .cotp-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cotp-modal-dialog .cotp-card,
    html body .cotp-modal-dialog .cotp-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 34px 20px 24px 20px !important;
        border: none !important;
        box-shadow: none !important;
        min-height: auto !important;
        box-sizing: border-box !important;
    }
}
