.ot-auth{--ot-auth-accent:#6d28d9;max-width:460px;width:100%;padding:24px;border-radius:14px;background:#fff;color:#18181b;box-sizing:border-box}.ot-auth *{box-sizing:border-box}.ot-auth label:not(.ot-auth-check){display:block;margin:0 0 14px;font-size:14px;font-weight:600}.ot-auth input:not([type=checkbox]):not([type=radio]):not(.ot-auth-honey){display:block;width:100%;margin-top:6px;border:1px solid #cbd5e1;background:#fff;color:#111827;border-radius:8px;padding:12px;font-size:15px}.ot-auth input:focus-visible,.ot-header-account-button:focus-visible,.ot-auth-tab:focus-visible{outline:2px solid var(--ot-auth-accent);outline-offset:2px}.ot-auth-submit{display:block;width:100%;border:0;background:var(--ot-auth-accent);color:white;padding:13px 16px;border-radius:8px;font-weight:700;cursor:pointer;margin:12px 0}.ot-auth-check{display:flex;align-items:center;gap:8px;margin:8px 0}.ot-auth-tabs{display:flex;gap:8px;margin-bottom:20px}.ot-auth-tab{flex:1;background:#f1f5f9;border:1px solid #e2e8f0;padding:10px;border-radius:8px;cursor:pointer}.ot-auth-tab.is-active{background:var(--ot-auth-accent);color:#fff}.ot-auth-reset{font-size:13px}.ot-auth-honey{position:absolute!important;left:-10000px!important;opacity:0!important;width:1px!important;height:1px!important}.ot-auth-alert{color:#991b1b;background:#fee2e2;padding:10px}.ot-auth-success{color:#166534;background:#dcfce7;padding:10px}.ot-auth-user{display:flex;flex-wrap:wrap;gap:12px}.ot-header-account-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:#6d28d9;color:white;padding:10px 16px;cursor:pointer;text-decoration:none}.ot-auth-overlay:not([hidden]){display:flex;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;background:rgba(0,0,0,.65);padding:20px}.ot-auth-overlay[hidden]{display:none!important}.ot-auth-dialog{position:relative;max-height:95vh;overflow:auto;max-width:520px;width:100%}.ot-auth-dialog .ot-auth{max-width:100%}.ot-auth-close{position:absolute;top:8px;right:10px;z-index:1;background:transparent;border:0;font-size:28px;cursor:pointer;color:#111827;line-height:1}

.ot-auth-header-editor-preview{margin-top:18px}.ot-auth-header-editor-preview .ot-auth{max-width:100%}.ot-auth[data-ot-auth-editor-preview] form{pointer-events:auto}

/* Registration: one native grid for username, email and custom fields. */
.ot-auth .ot-auth-register-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:14px;margin:14px 0;align-items:start}
.ot-auth .ot-auth-register-fields>.ot-auth-field{min-width:0;width:auto;max-width:none;grid-column:span 2;margin:0;padding:0}
.ot-auth .ot-auth-register-fields>.ot-auth-field-50{grid-column:span 1}
.ot-auth .ot-auth-register-fields>.ot-auth-field>label:not(.ot-auth-choice){display:block;width:100%;margin:0;font-size:14px;font-weight:600}
.ot-auth .ot-auth-register-fields>.ot-auth-field input:not([type=checkbox]):not([type=radio]),.ot-auth .ot-auth-register-fields>.ot-auth-field select,.ot-auth .ot-auth-register-fields>.ot-auth-field textarea{display:block;width:100%;min-width:0;max-width:100%;margin:6px 0 0;border:1px solid #cbd5e1;background:#fff;color:#111827;border-radius:8px;padding:12px;font-size:15px;box-sizing:border-box}
.ot-auth .ot-auth-register-fields>.ot-auth-field textarea{min-height:100px;resize:vertical}
.ot-auth .ot-auth-register-fields .ot-auth-choice{display:flex!important;align-items:flex-start;gap:8px;font-size:14px;font-weight:400!important;margin:0!important}
.ot-auth .ot-auth-register-fields .ot-auth-choice input{flex:0 0 auto;margin:3px 0 0}
.ot-auth .ot-auth-register-fields .ot-auth-radio-group{display:flex;flex-wrap:wrap;gap:10px 16px}
@media(max-width:480px){.ot-auth .ot-auth-register-fields{grid-template-columns:minmax(0,1fr)}.ot-auth .ot-auth-register-fields>.ot-auth-field-50{grid-column:span 1}}

/* Standalone auth layout: two separate forms, no tab state or hidden panes. */
.ot-auth-layout-columns{max-width:100%;}
.ot-auth .ot-auth-panes{min-width:0;}
.ot-auth-layout-columns .ot-auth-panes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;}
.ot-auth-layout-columns .ot-auth-pane{min-width:0;padding:22px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;}
.ot-auth-layout-columns .ot-auth-pane-title{font-size:22px;font-weight:700;line-height:1.3;margin:0 0 20px;color:inherit;}
.ot-auth-layout-columns .ot-auth-pane form{min-width:0;}
.ot-auth-tab{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;font-weight:600;}
.ot-auth-tab:hover:not(.is-active){background:#e2e8f0;}
@media(max-width:767px){.ot-auth-layout-columns .ot-auth-panes{grid-template-columns:minmax(0,1fr);}}

/* v1.2.75: independently spaced login fields and reliable two-column registration. */
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] form{display:grid;grid-template-columns:minmax(0,1fr);row-gap:16px;align-items:start}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] form>label:not(.ot-auth-check){display:block;margin:0;min-width:0}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] form>label>input:not([type=checkbox]):not([type=radio]){margin:8px 0 0;min-width:0;max-width:100%}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] .ot-auth-check{margin:0}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] .ot-auth-submit{margin:0}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] form>input[type="hidden"]{display:none}
.ot-auth .ot-auth-register-fields{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:16px;min-width:0}
.ot-auth .ot-auth-register-fields>.ot-auth-field{min-width:0;max-width:100%;width:100%;grid-column:1/-1}
.ot-auth .ot-auth-register-fields>.ot-auth-field-50{grid-column:auto}
.ot-auth .ot-auth-register-fields>.ot-auth-field>label:not(.ot-auth-choice){margin:0;min-width:0}
.ot-auth .ot-auth-register-fields>.ot-auth-field>label>input:not([type=checkbox]):not([type=radio]){margin-top:8px;min-width:0;max-width:100%}
.ot-auth .ot-auth-register-fields>.ot-auth-field>label+input:not([type=checkbox]):not([type=radio]),
.ot-auth .ot-auth-register-fields>.ot-auth-field>label+select,
.ot-auth .ot-auth-register-fields>.ot-auth-field>label+textarea,
.ot-auth .ot-auth-register-fields>.ot-auth-field>label+.ot-auth-radio-group{margin-top:8px}
.ot-auth .ot-auth-register-fields .ot-auth-choice input{width:auto;min-width:0}
/* Columns mode must not inherit the single-tab 460px width. */
.ot-auth.ot-auth-layout-columns{max-width:100%;width:100%}
@media(max-width:480px){.ot-auth .ot-auth-register-fields{grid-template-columns:minmax(0,1fr)}.ot-auth .ot-auth-register-fields>.ot-auth-field-50{grid-column:1/-1}}

/* v1.2.76: independent Elementor controls for positioning and styling auth tabs. */
.ot-auth .ot-auth-tabs{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;max-width:100%;box-sizing:border-box;}
.ot-auth .ot-auth-tabs .ot-auth-tab{flex:0 1 auto;min-width:0;width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.ot-auth .ot-auth-tabs .ot-auth-tab:focus-visible{outline-offset:2px;}

/* v1.2.77: explicit, reliable horizontal registration layout. */
.ot-auth.ot-auth-reg-two .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields,
.ot-auth.ot-auth-reg-custom .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    min-width: 0;
}
.ot-auth.ot-auth-reg-two .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field {
    grid-column: span 1;
    width: 100%;
    min-width: 0;
}
.ot-auth.ot-auth-reg-custom .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field-50 { grid-column: span 1; }
.ot-auth.ot-auth-reg-custom .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field-100 { grid-column: 1 / -1; }
.ot-auth.ot-auth-reg-one .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
}
.ot-auth.ot-auth-reg-one .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field { grid-column: 1 / -1; }
/* A separate full-width flex shell positions the intrinsic-width group of tabs. */
.ot-auth .ot-auth-tabs-shell { display: flex; width: 100%; min-width: 0; justify-content: center; }
.ot-auth .ot-auth-tabs-shell > .ot-auth-tabs {
    display: flex;
    flex: 0 1 auto;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
}
.ot-auth .ot-auth-tabs-shell .ot-auth-tab { flex: 0 1 auto; width: auto; min-width: 0; }
@media (max-width: 767px) {
    .ot-auth.ot-auth-reg-two .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields,
    .ot-auth.ot-auth-reg-custom .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields {
        grid-template-columns: minmax(0, 1fr);
    }
    .ot-auth.ot-auth-reg-two .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field,
    .ot-auth.ot-auth-reg-custom .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field {
        grid-column: 1 / -1;
    }
}

/* 1.2.78: robust registration layout when Elementor/theme styles override labels. */
.ot-auth.ot-auth-layout-tabs.ot-auth-reg-two {max-width:760px;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields {display:grid;min-width:0;align-items:start;gap:16px;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field {display:block;float:none;min-width:0;margin:0;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field > label:not(.ot-auth-choice) {display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;width:100%;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field > label > input:not([type=checkbox]):not([type=radio]) {display:block;width:100%;min-width:0;max-width:100%;margin:0;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field > input:not([type=checkbox]):not([type=radio]),
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field > select,
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] .ot-auth-register-fields > .ot-auth-field > textarea {display:block;width:100%;min-width:0;max-width:100%;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="register"] form > .ot-auth-submit {display:block;width:100%;max-width:100%;margin:18px 0 0;}
.ot-auth .ot-auth-tabs-shell {width:100%;margin:0 0 20px;}
.ot-auth .ot-auth-tabs-shell .ot-auth-tabs {margin:0;}
@media (max-width:767px) {.ot-auth.ot-auth-layout-tabs.ot-auth-reg-two {max-width:100%;}}

/* v1.2.80: independent login / registration panel alignment in tabs and two-column modes. */
.ot-auth .ot-auth-panes > .ot-auth-pane{box-sizing:border-box;min-width:0;max-width:100%;}
.ot-auth.ot-auth-layout-tabs .ot-auth-panes > .ot-auth-pane{width:100%;}
.ot-auth.ot-auth-layout-columns .ot-auth-panes > .ot-auth-pane{width:100%;}

/* 1.2.81: label display modes (consent checkbox labels always stay visible). */
.ot-auth .ot-auth-pane.ot-auth-label-inside .ot-auth-input-label,
.ot-auth .ot-auth-pane.ot-auth-label-hidden .ot-auth-input-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.ot-auth .ot-auth-international-field{margin-top:8px;min-width:0;}
.ot-auth .ot-auth-international-field .ot-international-phone{display:flex!important;align-items:stretch;gap:8px;min-width:0;width:100%;position:relative;}
.ot-auth .ot-auth-international-field .ot-phone-country-shell{flex:0 0 135px;}
.ot-auth .ot-auth-international-field .ot-phone-value{flex:1 1 0%!important;width:0!important;min-width:0!important;margin:0!important;max-width:none!important;}
.ot-auth .ot-auth-international-field .ot-phone-country-trigger{border-radius:8px;}
.ot-auth .ot-auth-international-field .ot-phone-error{position:absolute;top:100%;inset-inline-start:0;}
.ot-auth .ot-auth-international-field .ot-phone-invalid{margin-bottom:1.5em;}

/* 1.2.82: dedicated forgot-password and consent styling. */
.ot-auth .ot-auth-reset-wrap{display:block;width:100%;text-align:start;margin-top:10px;}
.ot-auth .ot-auth-reset-wrap .ot-auth-reset{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;min-height:52px;padding:13px 16px;border-radius:8px;font-size:16px;line-height:1.35;font-weight:600;text-align:center;text-decoration:none;border:1px solid #cbd5e1;background:#f8fafc;color:#18181b;transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;}
.ot-auth .ot-auth-reset-wrap .ot-auth-reset:hover{background:#eef2ff;border-color:#c4b5fd;color:var(--ot-auth-accent);}
.ot-auth .ot-auth-reset-wrap .ot-auth-reset:focus-visible{outline:2px solid var(--ot-auth-accent);outline-offset:2px;}
.ot-auth .ot-auth-register-fields .ot-auth-choice--consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px;margin:0;width:100%;max-width:100%;line-height:1.5;font-weight:400;cursor:pointer;border:0 solid transparent;box-sizing:border-box;}
.ot-auth .ot-auth-register-fields .ot-auth-choice--consent>input[type=checkbox]{appearance:auto!important;display:block!important;position:static!important;float:none!important;flex:0 0 18px;width:18px;height:18px;min-width:0;margin:2px 0 0!important;padding:0!important;}
.ot-auth .ot-auth-register-fields .ot-auth-choice--consent>span{display:block;min-width:0;flex:1;overflow-wrap:anywhere;}
.ot-auth .ot-auth-register-fields .ot-auth-field:has(>.ot-auth-choice--consent){grid-column:1 / -1;}

/* v1.2.83 – independently styled decorative registration header. */
.ot-auth .ot-auth-register-intro{position:relative;isolation:isolate;overflow:hidden;background-position:center;background-repeat:no-repeat;background-size:cover;padding:20px;margin-bottom:20px;border-radius:10px;text-align:center;box-sizing:border-box;}
.ot-auth .ot-auth-register-intro::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-color:transparent;opacity:.5;}
.ot-auth .ot-auth-register-intro > *{position:relative;z-index:1;overflow-wrap:anywhere;}
.ot-auth .ot-auth-register-intro-title{margin:0;padding:0;font-size:25px;line-height:1.3;font-weight:700;color:inherit;}
.ot-auth .ot-auth-register-intro-subtitle{margin:8px 0 0;padding:0;font-size:15px;line-height:1.5;color:inherit;}

/* v1.2.84: login remember-me styling is independent of registration consent. */
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] .ot-auth-check{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:8px;min-width:0;width:100%;box-sizing:border-box;border:0 solid transparent;cursor:pointer;line-height:1.5;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] .ot-auth-check>input[type="checkbox"]{appearance:auto!important;display:block!important;position:static!important;float:none!important;flex:0 0 18px;width:18px;height:18px;min-width:0;margin:0!important;padding:0!important;}
.ot-auth .ot-auth-pane[data-ot-auth-pane="login"] .ot-auth-check>.ot-auth-check-text{display:inline-block;min-width:0;max-width:100%;overflow-wrap:anywhere;}

/* OneTarget header account: identical icon styling in link and popup modes. */
.ot-header-account-wrap{display:block}
.ot-header-account-button{gap:8px;vertical-align:middle}
.ot-header-account-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1;font-size:18px}
.ot-header-account-icon svg{display:block;width:1em;height:1em;fill:currentColor}
.ot-auth-account-dialog{background:#fff;padding:48px 24px 24px;border-radius:12px}
.ot-auth-account-menu{display:flex;flex-direction:column;gap:12px}
.ot-auth-account-menu a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:#18181b;background:#f1f5f9}
.ot-auth-account-menu a:hover{background:#e2e8f0}

/* 1.2.92: native registration identity and password fields. */
.ot-auth .ot-auth-register-fields>.ot-auth-password-feedback{grid-column:1/-1;font-size:13px;line-height:1.5;margin:-6px 0 0;min-height:0;color:#64748b}
.ot-auth .ot-auth-password-feedback[data-state="error"]{color:#b91c1c}
.ot-auth .ot-auth-password-feedback[data-state="good"]{color:#15803d}
.ot-auth .ot-auth-register-fields input[name="ot_register_password"],.ot-auth .ot-auth-register-fields input[name="ot_register_password_confirm"]{min-width:0;width:100%}

/* 1.2.96: enforce proper viewport-centered modal even inside transformed headers. */
body > .ot-auth-overlay:not([hidden]){display:flex!important;position:fixed!important;inset:0!important;align-items:center!important;justify-content:center!important;padding:20px!important;box-sizing:border-box!important;z-index:999999!important;}
body > .ot-auth-overlay[hidden]{display:none!important;}
body > .ot-auth-overlay > .ot-auth-dialog{margin:auto;max-width:calc(100vw - 40px);box-sizing:border-box;}

/* 1.3.1-test6: optional Nextend buttons, contained within each auth pane. */
.ot-auth .ot-auth-social{box-sizing:border-box;width:100%;max-width:100%;margin:18px 0;text-align:center;overflow-wrap:anywhere;}
.ot-auth .ot-auth-social-heading{font-size:14px;line-height:1.5;color:#475569;font-weight:600;margin:0 0 12px;}
.ot-auth .ot-auth-social-note{padding:12px;border-radius:8px;border:1px dashed #cbd5e1;color:#64748b;font-size:13px;}
.ot-auth .ot-auth-social .nsl-container{max-width:100%;box-sizing:border-box;}
