/*
===============================================================================
 EasyConf Host Authentication / Organizer Onboarding
 HOST-CONFERENCE-UX-001-IMP-02-PART-03

 Scoped beneath .ec-host-auth.
 No global form/body/input/button styling.
===============================================================================
*/

.ec-host-auth {
    --ha-navy: #102a46;
    --ha-navy-2: #173e67;
    --ha-blue: #195a91;
    --ha-blue-soft: #edf5fb;
    --ha-ink: #182b3d;
    --ha-muted: #647587;
    --ha-border: #d8e3ec;
    --ha-border-strong: #b8cad8;
    --ha-soft: #f5f8fb;
    --ha-white: #ffffff;
    --ha-danger: #b42318;
    --ha-danger-soft: #fff1f0;
    --ha-success: #17734a;
    --ha-success-soft: #e9f6ef;
    --ha-shadow: 0 24px 70px rgba(16, 42, 70, .13);

    width: 100%;

    color: var(--ha-ink);
}

.ec-host-auth,
.ec-host-auth * {
    box-sizing: border-box;
}

.ec-host-auth__page {
    min-height: 100vh;

    padding: 24px;

    background:
        radial-gradient(
            circle at 10% 0,
            rgba(25, 90, 145, .12),
            transparent 34rem
        ),
        linear-gradient(
            145deg,
            #f4f8fb 0,
            #fbfdff 55%,
            #f5f8fb 100%
        );
}

.ec-host-auth__shell {
    width: min(1180px, 100%);

    margin-inline: auto;
}

.ec-host-auth__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 20px;
}

.ec-host-auth__brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    min-width: 0;

    color: var(--ha-navy);

    text-decoration: none;
}

.ec-host-auth__brand:hover,
.ec-host-auth__brand:focus {
    color: var(--ha-navy);
    text-decoration: none;
}

.ec-host-auth__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 12px;

    color: #fff;
    background: var(--ha-navy);

    font-size: .9rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.ec-host-auth__brand-name {
    display: block;

    color: var(--ha-navy);

    font-size: .96rem;
    font-weight: 850;
    line-height: 1.25;
}

.ec-host-auth__brand-subtitle {
    display: block;

    margin-top: 2px;

    color: var(--ha-muted);

    font-size: .71rem;
    font-weight: 650;
    line-height: 1.3;
}

.ec-host-auth__home-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 40px;

    padding: 8px 12px;

    border: 1px solid var(--ha-border);
    border-radius: 9px;

    color: var(--ha-navy);
    background: rgba(255, 255, 255, .84);

    font-size: .82rem;
    font-weight: 750;

    text-decoration: none;
}

.ec-host-auth__home-link:hover,
.ec-host-auth__home-link:focus {
    color: var(--ha-navy);
    background: #fff;
    border-color: var(--ha-border-strong);

    text-decoration: none;
}


/* ========================================================================
   MAIN TWO-PANEL WORKSPACE
======================================================================== */

.ec-host-auth__workspace {
    display: grid;

    grid-template-columns:
        minmax(330px, .82fr)
        minmax(0, 1.18fr);

    min-height: 650px;

    overflow: hidden;

    border: 1px solid var(--ha-border);
    border-radius: 22px;

    background: #fff;

    box-shadow: var(--ha-shadow);
}


/* ========================================================================
   CONTEXT PANEL
======================================================================== */

.ec-host-auth__context {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

    padding: clamp(34px, 5vw, 55px);

    color: #fff;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(85, 160, 217, .24),
            transparent 24rem
        ),
        linear-gradient(
            145deg,
            var(--ha-navy),
            #163b62 62%,
            #1d527e
        );
}

.ec-host-auth__context::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    inset-inline-end: -150px;
    bottom: -145px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.ec-host-auth__context-content {
    position: relative;
    z-index: 1;
}

.ec-host-auth__context-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 21px;

    padding: 7px 10px;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;

    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .07);

    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ec-host-auth__context-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #65d39a;
}

.ec-host-auth__context-title {
    max-width: 440px;

    margin: 0;

    color: #fff;

    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.ec-host-auth__context-copy {
    max-width: 470px;

    margin: 18px 0 0;

    color: rgba(255, 255, 255, .76);

    font-size: .96rem;
    line-height: 1.78;
}

.ec-host-auth__journey {
    display: grid;

    gap: 12px;

    margin: 30px 0 0;
    padding: 0;

    list-style: none;
}

.ec-host-auth__journey-item {
    display: grid;

    grid-template-columns: 31px minmax(0, 1fr);

    align-items: center;

    gap: 11px;

    color: rgba(255, 255, 255, .9);

    font-size: .87rem;
    font-weight: 700;
    line-height: 1.45;
}

.ec-host-auth__journey-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;

    color: #fff;
    background: rgba(255, 255, 255, .09);

    font-size: .73rem;
    font-weight: 900;
}

.ec-host-auth__context-footer {
    position: relative;
    z-index: 1;

    margin-top: 42px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, .13);
}

.ec-host-auth__context-footer-title {
    display: block;

    color: #fff;

    font-size: .85rem;
    font-weight: 800;
}

.ec-host-auth__context-footer-copy {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, .64);

    font-size: .77rem;
    line-height: 1.55;
}


/* ========================================================================
   FORM PANEL
======================================================================== */

.ec-host-auth__form-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: clamp(32px, 5vw, 58px);
}

.ec-host-auth__form-wrap {
    width: min(100%, 540px);
}

.ec-host-auth__form-kicker {
    display: block;

    margin-bottom: 8px;

    color: var(--ha-blue);

    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.ec-host-auth__title {
    margin: 0;

    color: var(--ha-navy);

    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.ec-host-auth__intro {
    margin: 11px 0 0;

    color: var(--ha-muted);

    font-size: .9rem;
    line-height: 1.7;
}

.ec-host-auth__notice {
    margin: 20px 0 0;
    padding: 12px 14px;

    border: 1px solid #cfe0ed;
    border-radius: 10px;

    color: #315a78;
    background: var(--ha-blue-soft);

    font-size: .8rem;
    line-height: 1.55;
}

.ec-host-auth__alert {
    margin: 19px 0 0;
    padding: 12px 14px;

    border: 1px solid #f2c7c2;
    border-radius: 10px;

    color: var(--ha-danger);
    background: var(--ha-danger-soft);

    font-size: .83rem;
    font-weight: 650;
    line-height: 1.55;
}

.ec-host-auth__form {
    margin-top: 25px;
}

.ec-host-auth__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.ec-host-auth__field {
    min-width: 0;

    margin-bottom: 17px;
}

.ec-host-auth__field--full {
    grid-column: 1 / -1;
}

.ec-host-auth__label {
    display: block;

    margin-bottom: 7px;

    color: var(--ha-ink);

    font-size: .81rem;
    font-weight: 800;
    line-height: 1.35;
}

.ec-host-auth__required {
    color: var(--ha-danger);
}

.ec-host-auth__input,
.ec-host-auth__select {
    display: block;

    width: 100%;
    min-height: 48px;

    padding: 10px 13px;

    border: 1px solid var(--ha-border-strong);
    border-radius: 10px;

    color: var(--ha-ink);
    background: #fff;

    font: inherit;
    font-size: .9rem;
    line-height: 1.3;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background-color .15s ease;
}

.ec-host-auth__input:hover,
.ec-host-auth__select:hover {
    border-color: #8eabc0;
}

.ec-host-auth__input:focus,
.ec-host-auth__select:focus {
    border-color: var(--ha-blue);

    box-shadow:
        0 0 0 3px rgba(25, 90, 145, .11);
}

.ec-host-auth__input::placeholder {
    color: #9aa8b5;
}

.ec-host-auth__field-help {
    display: block;

    margin-top: 6px;

    color: var(--ha-muted);

    font-size: .72rem;
    line-height: 1.45;
}

.ec-host-auth__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    min-height: 49px;

    margin-top: 3px;
    padding: 11px 18px;

    border: 1px solid var(--ha-navy);
    border-radius: 10px;

    color: #fff;
    background: var(--ha-navy);

    font: inherit;
    font-size: .9rem;
    font-weight: 850;

    cursor: pointer;

    box-shadow: 0 9px 22px rgba(16, 42, 70, .15);

    transition:
        background-color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

.ec-host-auth__submit:hover,
.ec-host-auth__submit:focus {
    color: #fff;
    background: var(--ha-navy-2);
    border-color: var(--ha-navy-2);

    transform: translateY(-1px);
}

.ec-host-auth__submit:focus-visible {
    outline: 3px solid rgba(25, 90, 145, .20);
    outline-offset: 3px;
}

.ec-host-auth__switch {
    margin-top: 23px;
    padding-top: 20px;

    border-top: 1px solid var(--ha-border);

    color: var(--ha-muted);

    font-size: .82rem;
    line-height: 1.6;

    text-align: center;
}

.ec-host-auth__switch-link {
    color: var(--ha-blue);

    font-weight: 800;

    text-decoration: none;
}

.ec-host-auth__switch-link:hover,
.ec-host-auth__switch-link:focus {
    color: var(--ha-navy);

    text-decoration: underline;
}

.ec-host-auth__privacy {
    margin: 18px 0 0;

    color: var(--ha-muted);

    font-size: .7rem;
    line-height: 1.55;

    text-align: center;
}


/* ========================================================================
   REGISTER VARIANT
======================================================================== */

.ec-host-auth--register .ec-host-auth__workspace {
    grid-template-columns:
        minmax(320px, .75fr)
        minmax(0, 1.25fr);
}

.ec-host-auth--register .ec-host-auth__form-panel {
    align-items: flex-start;
}

.ec-host-auth--register .ec-host-auth__form-wrap {
    width: min(100%, 620px);
}


/* ========================================================================
   RTL
======================================================================== */

[dir="rtl"] .ec-host-auth,
.ec-host-auth[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .ec-host-auth__switch,
[dir="rtl"] .ec-host-auth__privacy,
.ec-host-auth[dir="rtl"] .ec-host-auth__switch,
.ec-host-auth[dir="rtl"] .ec-host-auth__privacy {
    text-align: center;
}


/* ========================================================================
   RESPONSIVE
======================================================================== */

@media (max-width: 900px) {

    .ec-host-auth__workspace,
    .ec-host-auth--register .ec-host-auth__workspace {
        grid-template-columns: 1fr;
    }

    .ec-host-auth__context {
        min-height: auto;
    }

    .ec-host-auth__context-footer {
        margin-top: 30px;
    }

    .ec-host-auth__form-panel {
        padding-top: 40px;
        padding-bottom: 44px;
    }
}

@media (max-width: 620px) {

    .ec-host-auth__page {
        padding: 13px;
    }

    .ec-host-auth__topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .ec-host-auth__home-link {
        width: 100%;
        justify-content: center;
    }

    .ec-host-auth__workspace {
        border-radius: 15px;
    }

    .ec-host-auth__context {
        padding: 30px 23px;
    }

    .ec-host-auth__form-panel {
        padding: 30px 22px 34px;
    }

    .ec-host-auth__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ec-host-auth__field--full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ec-host-auth__input,
    .ec-host-auth__select,
    .ec-host-auth__submit {
        transition: none;
    }

    .ec-host-auth__submit:hover,
    .ec-host-auth__submit:focus {
        transform: none;
    }
}

/* ==========================================================================
   HOST-CONFERENCE-UX-001-IMP-02-PART-04B
   Arabic-default bilingual Host authentication harmonization
   ========================================================================== */

.ec-host-auth__language-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ec-host-auth__language-label {
    color: var(--ec-host-muted, #64748b);
    font-size: .78rem;
    font-weight: 800;
}

.ec-host-auth__language-options {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #f8fafc;
}

.ec-host-auth__language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 999px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 900;
    color: #475569;
    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.ec-host-auth__language-option:hover {
    color: #0f172a;
    background: #fff;
}

.ec-host-auth__language-option.is-active {
    color: #fff;
    background: #0f4c81;
    box-shadow: 0 4px 12px rgba(15, 76, 129, .18);
}

.ec-host-auth__bilingual-note {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.6;
}

.ec-host-auth[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

.ec-host-auth[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.ec-host-auth[dir="rtl"] .ec-host-auth__language-bar {
    justify-content: flex-start;
}

.ec-host-auth[dir="rtl"] .ec-host-auth__home-arrow {
    transform: scaleX(-1);
}

.ec-host-auth[dir="rtl"] .ec-host-auth__context,
.ec-host-auth[dir="rtl"] .ec-host-auth__form-panel,
.ec-host-auth[dir="rtl"] .ec-host-auth__field,
.ec-host-auth[dir="rtl"] .ec-host-auth__intro,
.ec-host-auth[dir="rtl"] .ec-host-auth__notice {
    text-align: right;
}

.ec-host-auth[dir="ltr"] .ec-host-auth__context,
.ec-host-auth[dir="ltr"] .ec-host-auth__form-panel,
.ec-host-auth[dir="ltr"] .ec-host-auth__field,
.ec-host-auth[dir="ltr"] .ec-host-auth__intro,
.ec-host-auth[dir="ltr"] .ec-host-auth__notice {
    text-align: left;
}

.ec-host-auth[dir="rtl"] input[type="email"] {
    direction: ltr;
    text-align: left;
}

.ec-host-auth[dir="rtl"] .ec-host-auth__journey-item {
    direction: rtl;
}

@media (max-width: 720px) {
    .ec-host-auth__language-bar {
        justify-content: center;
        width: 100%;
    }

    .ec-host-auth[dir="rtl"] .ec-host-auth__language-bar {
        justify-content: center;
    }
}

/* ==========================================================
   HOST-CONFERENCE-UX-001-IMP-02-PART-04B-FIX1
   Arabic-default bilingual refinements
   ========================================================== */

.ec-host-auth,
.ec-ha-register-page {
    font-family:"Cairo",system-ui,-apple-system,BlinkMacSystemFont,
        "Segoe UI",sans-serif;
}

.ec-host-auth[dir="rtl"],
.ec-ha-register-page[dir="rtl"] {
    text-align:right;
}

.ec-host-auth[dir="ltr"],
.ec-ha-register-page[dir="ltr"] {
    text-align:left;
}

.ec-host-auth[dir="rtl"] .ec-ha-field input,
.ec-ha-register-page[dir="rtl"] .ec-ha-field input {
    text-align:right;
}

.ec-host-auth[dir="ltr"] .ec-ha-field input,
.ec-ha-register-page[dir="ltr"] .ec-ha-field input {
    text-align:left;
}

.ec-ha-inline-topbar {
    width:min(1180px,calc(100% - 32px));
    margin:18px auto 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.ec-ha-two {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

@media (max-width:720px) {
    .ec-ha-two {
        grid-template-columns:1fr;
    }

    .ec-ha-inline-topbar {
        width:min(100% - 22px,1180px);
        align-items:flex-start;
    }
}

/* =========================================================
   HOST-CONFERENCE-UX-001-IMP-02-FIX5
   Unified compact Host authentication surfaces
   ========================================================= */

.ec-host.ec-host-auth {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, .08),
            transparent 32rem
        ),
        #f5f7fb;
    color: #172033;
    font-family: "Cairo", system-ui, -apple-system, sans-serif;
}

.ec-host-auth .ec-ha-topbar {
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ec-host-auth .ec-ha-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #172033;
    text-decoration: none;
}

.ec-host-auth .ec-ha-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: #173b72;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
}

.ec-host-auth .ec-ha-brand strong,
.ec-host-auth .ec-ha-brand small {
    display: block;
}

.ec-host-auth .ec-ha-brand strong {
    font-size: 17px;
    line-height: 1.15;
}

.ec-host-auth .ec-ha-brand small {
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
    line-height: 1.25;
}

.ec-host-auth .ec-ha-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ec-host-auth .ec-ha-top-actions a {
    padding: 9px 13px;
    border-radius: 9px;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ec-host-auth .ec-ha-top-actions a:hover,
.ec-host-auth .ec-ha-top-actions a:focus {
    background: #e9eef6;
    color: #173b72;
}

.ec-host-auth .ec-ha-lang {
    border: 1px solid #d0d8e5;
    background: #fff;
}

.ec-host-auth .ec-ha-main-compact {
    width: min(1080px, calc(100% - 40px));
    min-height: calc(100vh - 142px);
    margin: 0 auto;
    padding: 42px 0 58px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 430px);
    gap: clamp(44px, 7vw, 88px);
    align-items: center;
}

.ec-host-auth .ec-ha-intro {
    max-width: 570px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ec-host-auth .ec-ha-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #e7eef9;
    color: #214d86;
    font-size: 12px;
    font-weight: 800;
}

.ec-host-auth .ec-ha-intro h1 {
    margin: 17px 0 11px;
    color: #172033;
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.ec-host-auth .ec-ha-intro > p {
    max-width: 550px;
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.9;
}

.ec-host-auth .ec-ha-journey {
    margin-top: 29px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.ec-host-auth .ec-ha-journey > div {
    min-width: 0;
    padding: 13px 10px;
    border: 1px solid #dde4ee;
    border-radius: 12px;
    background: rgba(255,255,255,.72);
}

.ec-host-auth .ec-ha-journey span {
    width: 25px;
    height: 25px;
    margin-bottom: 7px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8eef7;
    color: #214d86;
    font-size: 11px;
    font-weight: 800;
}

.ec-host-auth .ec-ha-journey strong {
    display: block;
    color: #344054;
    font-size: 11px;
    line-height: 1.45;
}

.ec-host-auth .ec-ha-note {
    margin-top: 20px;
    padding: 14px 16px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    border: 1px solid #d8e2f0;
    border-radius: 13px;
    background: #f9fbfe;
}

.ec-host-auth .ec-ha-note > span {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 27px;
    background: #e3edf9;
    color: #173b72;
    font-weight: 800;
}

.ec-host-auth .ec-ha-note p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.75;
}

.ec-host-auth .ec-ha-note strong {
    display: block;
    margin-bottom: 2px;
    color: #344054;
    font-size: 12px;
}

.ec-host-auth .ec-ha-card {
    width: 100%;
    margin: 0;
    padding: 30px;
    border: 1px solid #dfe5ed;
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 18px 48px rgba(16, 24, 40, .08);
}

.ec-host-auth .ec-ha-card-head {
    margin-bottom: 23px;
}

.ec-host-auth .ec-ha-card-badge {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef3fa;
    color: #315d92;
    font-size: 11px;
    font-weight: 800;
}

.ec-host-auth .ec-ha-card-head h2 {
    margin: 11px 0 6px;
    color: #172033;
    font-size: 24px;
    line-height: 1.35;
}

.ec-host-auth .ec-ha-card-head p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.75;
}

.ec-host-auth .ec-ha-form {
    display: grid;
    gap: 16px;
}

.ec-host-auth .ec-ha-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ec-host-auth .ec-ha-field {
    display: grid;
    gap: 7px;
}

.ec-host-auth .ec-ha-field > span {
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.ec-host-auth .ec-ha-field input {
    width: 100%;
    height: 45px;
    box-sizing: border-box;
    padding: 0 13px;
    border: 1px solid #cfd7e3;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 13px;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.ec-host-auth .ec-ha-field input:focus {
    border-color: #4c75a8;
    box-shadow: 0 0 0 3px rgba(47, 94, 151, .10);
}

.ec-host-auth .ec-ha-submit {
    width: 100%;
    min-height: 47px;
    margin-top: 2px;
    border: 0;
    border-radius: 10px;
    background: #173b72;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.ec-host-auth .ec-ha-submit:hover,
.ec-host-auth .ec-ha-submit:focus {
    background: #214d86;
    color: #fff;
}

.ec-host-auth .ec-ha-alert {
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px solid #f1b8b8;
    border-radius: 10px;
    background: #fff5f5;
    color: #a12b2b;
    font-size: 12px;
    line-height: 1.6;
}

.ec-host-auth .ec-ha-card-foot {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #667085;
    font-size: 12px;
}

.ec-host-auth .ec-ha-card-foot a {
    color: #214d86;
    font-weight: 800;
    text-decoration: none;
}

.ec-host-auth .ec-ha-footer {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 54px;
    padding: 12px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #98a2b3;
    font-size: 10px;
}

[dir="rtl"] .ec-host-auth .ec-ha-field input[dir="ltr"] {
    text-align: left;
}

[dir="ltr"] .ec-host-auth .ec-ha-field input {
    text-align: left;
}

@media (max-width: 860px) {
    .ec-host-auth .ec-ha-main-compact {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 28px;
    }

    .ec-host-auth .ec-ha-intro {
        max-width: 680px;
    }

    .ec-host-auth .ec-ha-card {
        max-width: 560px;
    }
}

@media (max-width: 620px) {
    .ec-host-auth .ec-ha-topbar,
    .ec-host-auth .ec-ha-main-compact,
    .ec-host-auth .ec-ha-footer {
        width: min(100% - 28px, 1080px);
    }

    .ec-host-auth .ec-ha-topbar {
        min-height: 64px;
        gap: 10px;
    }

    .ec-host-auth .ec-ha-brand small {
        display: none;
    }

    .ec-host-auth .ec-ha-top-actions {
        gap: 4px;
    }

    .ec-host-auth .ec-ha-top-actions a {
        padding: 8px 9px;
        font-size: 11px;
    }

    .ec-host-auth .ec-ha-main-compact {
        min-height: auto;
        padding: 22px 0 36px;
    }

    .ec-host-auth .ec-ha-intro h1 {
        font-size: 30px;
    }

    .ec-host-auth .ec-ha-journey {
        grid-template-columns: 1fr 1fr;
    }

    .ec-host-auth .ec-ha-card {
        padding: 22px 18px;
        border-radius: 15px;
    }

    .ec-host-auth .ec-ha-form-grid {
        grid-template-columns: 1fr;
    }

    .ec-host-auth .ec-ha-footer {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .ec-host-auth .ec-ha-brand-mark {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .ec-host-auth .ec-ha-brand strong {
        font-size: 14px;
    }

    .ec-host-auth .ec-ha-journey {
        gap: 6px;
    }
}
