/* Edvia authentication experience ----------------------------------------------
 * A responsive split-screen entry flow with first-class light and dark themes.
 */

.alpha-auth-page {
    --auth-field: rgba(249, 250, 255, 0.92);
    --auth-field-hover: #ffffff;
    --auth-field-border: rgba(72, 65, 122, 0.18);
    --auth-card: rgba(255, 255, 255, 0.94);
    --auth-story-ink: #ffffff;
    --auth-story-muted: rgba(255, 255, 255, 0.76);
    --auth-story-border: rgba(255, 255, 255, 0.17);
    --auth-track: rgba(109, 74, 255, 0.1);
    --auth-danger-soft: rgba(220, 70, 97, 0.08);
}

html.is_dark .alpha-auth-page {
    --auth-field: rgba(12, 17, 36, 0.66);
    --auth-field-hover: rgba(17, 23, 47, 0.92);
    --auth-field-border: rgba(168, 151, 255, 0.22);
    --auth-card: rgba(20, 26, 51, 0.95);
    --auth-track: rgba(146, 120, 255, 0.15);
    --auth-danger-soft: rgba(255, 107, 131, 0.1);
}

.alpha-auth-page .theme__shadow__circle,
.alpha-auth-page .breadcrumbarea,
.alpha-auth-page .login__shape__img {
    display: none;
}

.alpha-auth-page .main_wrapper {
    overflow: visible !important;
}

/* Page shell ---------------------------------------------------------------- */

.alpha-auth-shell {
    display: grid;
    grid-template-columns: minmax(400px, 0.9fr) minmax(520px, 1.1fr);
    gap: clamp(18px, 2vw, 32px);
    width: min(100% - clamp(24px, 4vw, 64px), 1480px);
    min-height: calc(100vh - 78px);
    margin-inline: auto;
    padding-block: clamp(18px, 2.5vw, 38px);
    align-items: stretch;
}

.alpha-auth-intro {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 680px;
    overflow: hidden;
    border: 1px solid var(--auth-story-border);
    border-radius: clamp(28px, 3vw, 42px);
    color: var(--auth-story-ink);
    background:
        linear-gradient(148deg, rgba(15, 18, 58, 0.97) 0%, rgba(66, 46, 157, 0.9) 50%, rgba(7, 111, 132, 0.79) 100%),
        url("../images/alpha-ui/learning-guide.jpg") center / cover;
    box-shadow: 0 30px 80px rgba(28, 23, 83, 0.24);
}

.alpha-auth-intro::before,
.alpha-auth-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.alpha-auth-intro::before {
    width: 440px;
    height: 440px;
    inset-block-start: -260px;
    inset-inline-end: -150px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 0 54px rgba(255, 255, 255, 0.045),
        0 0 0 116px rgba(255, 255, 255, 0.025);
}

.alpha-auth-intro::after {
    width: 360px;
    height: 360px;
    inset-block-end: -230px;
    inset-inline-start: -110px;
    background: rgba(255, 184, 77, 0.38);
    filter: blur(40px);
}

.alpha-auth-intro > .container {
    width: 100%;
    height: 100%;
    padding: 0;
}

.alpha-auth-intro__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: clamp(34px, 5vw, 68px);
}

.alpha-auth-intro .alpha-kicker {
    align-self: flex-start;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.alpha-auth-intro h1 {
    max-width: 660px;
    margin: clamp(26px, 4vh, 48px) 0 18px;
    color: #ffffff;
    font-size: clamp(2.6rem, 4.7vw, 5.4rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.057em;
    text-wrap: balance;
}

[dir="rtl"] .alpha-auth-intro h1 {
    line-height: 1.13;
    letter-spacing: 0;
}

.alpha-auth-intro__lead {
    max-width: 610px;
    margin: 0;
    color: var(--auth-story-muted);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.78;
}

.alpha-auth-benefits {
    display: grid;
    gap: 10px;
    width: min(100%, 520px);
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.alpha-auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 7px 14px 7px 8px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 750;
    transition: transform 220ms var(--alpha-ease), border-color 220ms ease, background 220ms ease;
}

[dir="rtl"] .alpha-auth-benefits li {
    padding: 7px 8px 7px 14px;
}

.alpha-auth-benefits li:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(6px);
}

[dir="rtl"] .alpha-auth-benefits li:hover {
    transform: translateX(-6px);
}

.alpha-auth-benefits__icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    color: #ffe19a;
    background: rgba(255, 255, 255, 0.1);
}

/* Form card ---------------------------------------------------------------- */

.alpha-auth-page .loginarea {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
}

.alpha-auth-page .loginarea > .container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(24px, 4vw, 58px);
    overflow: hidden;
    border: 1px solid var(--alpha-border);
    border-radius: clamp(28px, 3vw, 42px);
    background: var(--auth-card);
    box-shadow: 0 30px 80px rgba(39, 28, 109, 0.15);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    transition: background 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

html.is_dark .alpha-auth-page .loginarea > .container {
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.alpha-auth-page .loginarea > .container::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    inset-block-start: -190px;
    inset-inline-end: -130px;
    border-radius: 50%;
    background: rgba(15, 184, 201, 0.1);
    filter: blur(8px);
    pointer-events: none;
}

.alpha-auth-page .loginarea > .container > .row {
    align-self: center;
    width: 100%;
    margin: 0;
}

.alpha-auth-page .loginarea > .container > .row > [class*="col-"] {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Login / signup segmented control */

.alpha-auth-page .tab__button__wrap {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: min(100%, 520px);
    margin: 0 auto clamp(24px, 3vw, 34px);
    padding: 6px;
    border: 1px solid var(--alpha-border);
    border-radius: 17px;
    background: var(--alpha-surface-soft);
    box-shadow: inset 0 1px 2px rgba(39, 28, 109, 0.04);
}

.alpha-auth-page .tab__button__wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: calc(50% - 9px);
    height: calc(100% - 12px);
    inset-block-start: 6px;
    inset-inline-start: 6px;
    border: 1px solid rgba(109, 74, 255, 0.12);
    border-radius: 12px;
    background: var(--alpha-surface-solid);
    box-shadow: 0 7px 18px rgba(58, 43, 129, 0.11);
    transition: transform 360ms var(--alpha-ease), background 260ms ease;
}

[dir="ltr"] .alpha-auth-page[data-auth-view="signup"] .tab__button__wrap::before {
    transform: translateX(calc(100% + 6px));
}

[dir="rtl"] .alpha-auth-page[data-auth-view="signup"] .tab__button__wrap::before {
    transform: translateX(calc(-100% - 6px));
}

.alpha-auth-page .tab__button__wrap li {
    margin: 0;
}

.alpha-auth-page .single__tab__link {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 16px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    color: var(--alpha-muted);
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.9rem;
    font-weight: 800;
    transition: color 220ms ease, transform 180ms var(--alpha-ease);
}

.alpha-auth-page .single__tab__link:hover {
    color: var(--alpha-primary);
}

.alpha-auth-page .single__tab__link:active {
    transform: scale(0.975);
}

.alpha-auth-page .single__tab__link.active {
    color: var(--alpha-primary-deep);
}

html.is_dark .alpha-auth-page .single__tab__link.active {
    color: var(--alpha-ink);
}

.alpha-auth-page .tab__content__wrapper {
    width: 100%;
    padding: 0;
}

.alpha-auth-page .tab-pane > [class*="col-"] {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
    padding: 0;
}

.alpha-auth-page #projects__one > [class*="col-"] {
    max-width: 520px;
}

.alpha-auth-page .loginarea__wraper {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.alpha-auth-page .tab-pane.active.show .loginarea__wraper {
    animation: alphaPanelIn 430ms var(--alpha-ease) both;
}

body.alpha-auth-page .loginarea__wraper .login__heading {
    margin-block-end: clamp(24px, 3vw, 34px);
    text-align: start;
}

.alpha-form-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-block-end: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--alpha-primary-deep);
    background: rgba(109, 74, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

html.is_dark .alpha-form-kicker {
    color: #c9bdff;
    background: rgba(146, 120, 255, 0.13);
}

[dir="rtl"] .alpha-form-kicker {
    letter-spacing: 0;
}

body.alpha-auth-page .loginarea__wraper .login__heading .login__title {
    margin: 0 0 9px;
    color: var(--alpha-ink);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

[dir="rtl"] body.alpha-auth-page .loginarea__wraper .login__heading .login__title {
    line-height: 1.2;
    letter-spacing: 0;
}

body.alpha-auth-page .loginarea__wraper .login__heading .login__description {
    margin: 0;
    color: var(--alpha-muted);
    line-height: 1.65;
}

.alpha-inline-action,
.alpha-auth-page .login__form__link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--alpha-primary-deep);
    background: transparent;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: color 180ms ease, opacity 180ms ease;
}

html.is_dark .alpha-inline-action,
html.is_dark .alpha-auth-page .login__form__link {
    color: #ad9cff;
}

.alpha-inline-action:hover,
.alpha-auth-page .login__form__link:hover {
    color: var(--alpha-secondary);
}

/* Fields ------------------------------------------------------------------- */

body.alpha-auth-page .loginarea__wraper form .login__form {
    margin: 0 0 18px;
}

body.alpha-auth-page .loginarea__wraper form .login__form .form__label {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--alpha-ink);
    font-size: 0.86rem;
    font-weight: 780;
}

.alpha-auth-page .field-required {
    margin-inline-start: 3px;
    color: var(--alpha-coral);
}

.alpha-auth-page .field-optional {
    color: var(--alpha-muted);
}

.alpha-input-shell {
    position: relative;
}

.alpha-input-shell > i:first-child {
    position: absolute;
    z-index: 2;
    inset-block-start: 50%;
    inset-inline-start: 17px;
    color: var(--alpha-muted);
    font-size: 1.08rem;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 180ms ease, transform 180ms var(--alpha-ease);
}

.alpha-input-shell:focus-within > i:first-child {
    color: var(--alpha-primary);
    transform: translateY(-50%) scale(1.08);
}

.alpha-auth-page :where(.common__login__input, .form-control, .form-select),
.alpha-auth-page .select2-container .select2-selection--single {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--auth-field-border) !important;
    border-radius: 14px !important;
    color: var(--alpha-ink) !important;
    background-color: var(--auth-field) !important;
    box-shadow: 0 7px 20px rgba(48, 38, 111, 0.035);
    transition: border-color 190ms ease, box-shadow 190ms ease, background 190ms ease, transform 190ms var(--alpha-ease);
}

.alpha-auth-page :where(.common__login__input, .form-control, .form-select) {
    padding: 13px 16px;
}

body.alpha-auth-page .loginarea__wraper form .login__form .alpha-input-shell > :where(.common__login__input, .form-control, .form-select) {
    height: 54px;
    padding-block: 13px !important;
    padding-inline-start: 48px !important;
    padding-inline-end: 16px !important;
}

body.alpha-auth-page .loginarea__wraper form .login__form .alpha-input-shell > select.common__login__input {
    padding-inline-end: 38px !important;
}

body.alpha-auth-page .loginarea__wraper form .login__form .alpha-input-shell:has(.alpha-password-toggle) > .common__login__input {
    padding-inline-end: 54px !important;
}

.alpha-auth-page :where(.common__login__input, .form-control, .form-select):hover {
    border-color: rgba(109, 74, 255, 0.42) !important;
    background-color: var(--auth-field-hover) !important;
}

.alpha-auth-page :where(.common__login__input, .form-control, .form-select):focus,
.alpha-auth-page .select2-container--focus .select2-selection--single {
    border-color: var(--alpha-primary) !important;
    background-color: var(--auth-field-hover) !important;
    box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.12), 0 14px 30px rgba(54, 42, 125, 0.08) !important;
    outline: none;
    transform: translateY(-1px);
}

html.is_dark .alpha-auth-page :where(.common__login__input, .form-control, .form-select):focus {
    box-shadow: 0 0 0 4px rgba(146, 120, 255, 0.16), 0 16px 34px rgba(0, 0, 0, 0.18) !important;
}

.alpha-auth-page :where(input, select, textarea)[aria-invalid="true"] {
    border-color: var(--alpha-danger) !important;
    background-color: var(--auth-danger-soft) !important;
}

.alpha-auth-page :where(input, select, textarea)::placeholder {
    color: var(--alpha-muted) !important;
    opacity: 0.72;
}

.alpha-password-toggle {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 38px;
    height: 38px;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: var(--alpha-muted);
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, transform 150ms ease;
}

.alpha-password-toggle:hover {
    color: var(--alpha-primary);
    background: rgba(109, 74, 255, 0.09);
}

.alpha-password-toggle:active {
    transform: scale(0.9);
}

.alpha-auth-page .text-danger {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-block-start: 7px;
    color: var(--alpha-danger) !important;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
}

.alpha-auth-page .text-danger i {
    margin-block-start: 2px;
}

.alpha-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-block: 2px 24px !important;
}

.alpha-auth-page .form__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--alpha-muted);
    font-size: 0.84rem;
}

.alpha-auth-page .form__check input {
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 5px;
    cursor: pointer;
}

.alpha-auth-page .form__check label {
    margin: 0;
    cursor: pointer;
}

/* Buttons and click feedback ------------------------------------------------ */

body.alpha-auth-page .default__button,
body.alpha-auth-page input.default__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 13px 22px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: var(--alpha-gradient-primary);
    box-shadow: 0 16px 34px rgba(88, 61, 222, 0.25);
    font-size: 0.92rem;
    font-weight: 850;
    transition: transform 190ms var(--alpha-ease), box-shadow 190ms ease, filter 190ms ease;
}

body.alpha-auth-page .default__button > * {
    position: relative;
    z-index: 1;
}

body.alpha-auth-page .default__button > i {
    font-size: 1.2rem;
    transition: transform 190ms var(--alpha-ease);
}

[dir="rtl"] body.alpha-auth-page .default__button > i {
    transform: scaleX(-1);
}

body.alpha-auth-page .default__button:hover,
body.alpha-auth-page input.default__button:hover {
    width: 100%;
    color: #ffffff;
    filter: saturate(1.1) brightness(1.04);
    transform: none;
    box-shadow: 0 22px 42px rgba(88, 61, 222, 0.31);
}

body.alpha-auth-page .default__button:hover > i {
    transform: translateX(4px);
}

[dir="rtl"] body.alpha-auth-page .default__button:hover > i {
    transform: translateX(-4px) scaleX(-1);
}

body.alpha-auth-page .default__button:active,
body.alpha-auth-page input.default__button:active {
    filter: brightness(0.98);
    transform: none;
    box-shadow: 0 9px 20px rgba(88, 61, 222, 0.2);
}

/* Legacy button rules change width on hover. Keep auth CTAs geometrically stable. */
body.alpha-auth-page .alpha-submit,
body.alpha-auth-page .alpha-submit:hover,
body.alpha-auth-page .alpha-submit:focus-visible,
body.alpha-auth-page .alpha-submit:active {
    width: 100% !important;
    transform: none !important;
}

body.alpha-auth-page .default__button:disabled {
    cursor: wait;
    filter: grayscale(0.18);
    opacity: 0.76;
    transform: none;
}

.alpha-submit.is-loading > i {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #ffffff;
    border-radius: 50%;
    font-size: 0;
    animation: alphaSpin 0.7s linear infinite;
}

.alpha-click-wave {
    position: absolute !important;
    z-index: 0 !important;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: alphaClickWave 560ms ease-out forwards;
}

.single__tab__link .alpha-click-wave {
    background: rgba(109, 74, 255, 0.16);
}

.alpha-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 15px 0 0;
    color: var(--alpha-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
}

.alpha-secure-note i {
    color: var(--alpha-success);
}

/* Signup details ----------------------------------------------------------- */

.alpha-signup-form__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-block-end: 18px;
    padding-block-end: 14px;
    border-bottom: 1px solid var(--alpha-border);
}

.alpha-signup-form__intro span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--alpha-ink);
    font-size: 0.88rem;
    font-weight: 850;
}

.alpha-signup-form__intro span i {
    color: var(--alpha-primary);
}

.alpha-signup-form__intro small {
    color: var(--alpha-muted);
    font-size: 0.72rem;
}

.alpha-signup-form .row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 0;
}

.alpha-signup-form .login__form {
    margin-block-end: 15px;
}

.alpha-password-strength {
    margin-block-start: 9px;
}

.alpha-password-strength > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.alpha-password-strength > div i {
    height: 4px;
    border-radius: 999px;
    background: var(--auth-track);
    transition: background 220ms ease, transform 220ms var(--alpha-ease);
}

.alpha-password-strength > span {
    display: block;
    margin-block-start: 6px;
    color: var(--alpha-muted);
    font-size: 0.71rem;
    line-height: 1.35;
}

.alpha-password-strength[data-score="1"] > div i:nth-child(1) {
    background: var(--alpha-danger);
}

.alpha-password-strength[data-score="2"] > div i:nth-child(-n + 2) {
    background: var(--alpha-accent);
}

.alpha-password-strength[data-score="3"] > div i:nth-child(-n + 3),
.alpha-password-strength[data-score="4"] > div i {
    background: var(--alpha-success);
}

.alpha-password-strength[data-score]:not([data-score="0"]) > div i {
    transform: scaleY(1.2);
}

/* Legacy signup widgets still inherit the refreshed system if re-enabled. */

.alpha-auth-page .signup-step .row,
.alpha-auth-page .signup__progress {
    border: 1px solid var(--alpha-border);
    border-radius: 18px;
    background: var(--alpha-gradient-soft);
}

.alpha-auth-page .signup-step .row {
    padding: clamp(18px, 3vw, 30px);
}

.alpha-auth-page .signup__progress {
    margin-block-end: 24px;
    padding: 16px 18px;
}

.alpha-auth-page .signup__progress-text {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-block-end: 10px;
    color: var(--alpha-muted);
    font-size: 0.8rem;
    font-weight: 750;
}

.alpha-auth-page .signup__progress-stage {
    color: var(--alpha-primary);
}

.alpha-auth-page .signup__progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--auth-track);
}

.alpha-auth-page .signup__progress-fill {
    width: var(--progress-fill, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--alpha-gradient-primary);
    transition: width 420ms var(--alpha-ease);
}

.alpha-auth-page .select2-container {
    width: 100% !important;
}

.alpha-auth-page .select2-dropdown {
    overflow: hidden;
    border: 1px solid var(--alpha-border);
    border-radius: 14px;
    background: var(--alpha-surface-solid);
    box-shadow: var(--alpha-shadow-md);
}

/* Theme switcher remains visible and legible in both modes. */

.alpha-auth-page .mode_switcher.my_switcher {
    top: 96px;
    right: 18px;
    z-index: 1055;
}

[dir="rtl"] .alpha-auth-page .mode_switcher.my_switcher {
    right: auto;
    left: 18px;
}

.alpha-auth-page .mode_switcher.my_switcher button {
    display: grid;
    width: 46px;
    min-height: 46px;
    padding: 12px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: #ffffff;
    background: var(--alpha-gradient-primary);
    box-shadow: 0 14px 30px rgba(75, 53, 190, 0.27);
    transition: transform 180ms var(--alpha-ease), box-shadow 180ms ease;
}

.alpha-auth-page .mode_switcher.my_switcher button:hover {
    transform: translateY(-2px) rotate(4deg);
    box-shadow: 0 18px 34px rgba(75, 53, 190, 0.33);
}

.alpha-auth-page .mode_switcher.my_switcher button:active {
    transform: scale(0.92);
}

.alpha-auth-page .mode_switcher.my_switcher button svg {
    width: 20px;
    margin: 0;
}

.alpha-auth-page .mode_switcher.my_switcher button span {
    display: none !important;
}

/* Responsive layout -------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .alpha-auth-shell {
        grid-template-columns: minmax(330px, 0.76fr) minmax(500px, 1.24fr);
        width: calc(100% - 28px);
        gap: 16px;
        padding-block: 16px 28px;
    }

    .alpha-auth-intro__content {
        padding: 38px 30px;
    }

    .alpha-auth-intro h1 {
        font-size: clamp(2.6rem, 4.8vw, 4.2rem);
    }

    .alpha-auth-page .loginarea > .container {
        padding: 34px 26px;
    }
}

@media (max-width: 991.98px) {
    .alpha-auth-shell {
        display: block;
        width: calc(100% - 28px);
        min-height: 0;
        padding-block: 16px 56px;
    }

    .alpha-auth-intro {
        min-height: 480px;
        border-end-start-radius: 0;
        border-end-end-radius: 0;
    }

    .alpha-auth-intro__content {
        min-height: 480px;
        padding: 46px 44px 112px;
    }

    .alpha-auth-intro h1 {
        max-width: 680px;
        margin-block-start: 28px;
        font-size: clamp(2.8rem, 8vw, 5rem);
    }

    .alpha-auth-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .alpha-auth-benefits li {
        align-items: flex-start;
        padding: 10px;
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.055);
    }

    .alpha-auth-benefits li:hover,
    [dir="rtl"] .alpha-auth-benefits li:hover {
        transform: translateY(-3px);
    }

    .alpha-auth-page .loginarea {
        margin-block-start: -72px;
    }

    .alpha-auth-page .loginarea > .container {
        width: calc(100% - 32px);
        margin-inline: auto;
        padding: clamp(28px, 6vw, 52px);
        border-radius: 30px;
        box-shadow: 0 26px 70px rgba(30, 23, 91, 0.2);
    }
}

@media (max-width: 767.98px) {
    .alpha-auth-page {
        max-width: 100%;
        overflow-x: clip;
    }

    .alpha-auth-page .main_wrapper,
    .alpha-auth-page .loginarea,
    .alpha-auth-page .tab__content__wrapper {
        min-width: 0;
        max-width: 100%;
    }

    .alpha-auth-shell {
        width: 100%;
        padding: 0 0 38px;
    }

    .alpha-auth-intro {
        min-height: 430px;
        border: 0;
        border-radius: 0;
        background-position: 62% center;
    }

    .alpha-auth-intro__content {
        min-height: 430px;
        padding: 42px 20px 102px;
    }

    .alpha-auth-intro h1 {
        margin-block: 23px 14px;
        font-size: clamp(2.5rem, 12vw, 4.4rem);
    }

    .alpha-auth-intro__lead {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .alpha-auth-benefits {
        display: flex;
        gap: 7px;
        margin-block-start: 22px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .alpha-auth-benefits::-webkit-scrollbar {
        display: none;
    }

    .alpha-auth-benefits li {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 6px 10px 6px 6px;
        border-radius: 12px;
        white-space: nowrap;
    }

    [dir="rtl"] .alpha-auth-benefits li {
        padding: 6px 6px 6px 10px;
    }

    .alpha-auth-benefits__icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .alpha-auth-page .loginarea {
        margin-block-start: -62px;
    }

    .alpha-auth-page .loginarea > .container {
        width: calc(100% - 20px);
        padding: 22px 14px 28px;
        border-radius: 24px;
    }

    .alpha-auth-page .tab__button__wrap {
        margin-block-end: 30px;
    }

    .alpha-auth-page .loginarea__wraper {
        padding-inline: 4px;
    }

    body.alpha-auth-page .loginarea__wraper .login__heading .login__title {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
    }

    .alpha-signup-form__intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .alpha-auth-page .mode_switcher.my_switcher {
        top: 88px;
        right: 10px;
    }

    [dir="rtl"] .alpha-auth-page .mode_switcher.my_switcher {
        right: auto;
        left: 10px;
    }

    .alpha-auth-page .mode_switcher.my_switcher button {
        width: 42px;
        min-height: 42px;
        padding: 10px;
        border-radius: 13px;
    }
}

@media (max-width: 419.98px) {
    .alpha-auth-intro__content {
        padding-inline: 16px;
    }

    .alpha-auth-page .loginarea > .container {
        width: calc(100% - 12px);
        padding-inline: 12px;
    }

    .alpha-auth-page .single__tab__link {
        padding-inline: 10px;
        font-size: 0.82rem;
    }

    .alpha-form-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

@keyframes alphaPanelIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes alphaClickWave {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(14);
    }
}

@keyframes alphaSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .alpha-auth-page *,
    .alpha-auth-page *::before,
    .alpha-auth-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
