/* ==========================================================================
   RAFYZO Authentication Pages
   ========================================================================== */

.rafyzo-auth-page,
.rafyzo-auth-page * {
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
}

.rafyzo-auth-page {
    width: 100vw;
    min-height: 100vh;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;

    background:
        radial-gradient(
            circle at 101% 9%,
            rgba(111, 61, 255, 0.12) 0,
            rgba(111, 61, 255, 0.12) 125px,
            transparent 126px
        ),
        radial-gradient(
            circle at 2% 93%,
            rgba(117, 72, 255, 0.10) 0,
            rgba(117, 72, 255, 0.10) 170px,
            transparent 171px
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf9ff 44%,
            #f7f4ff 100%
        );

    color: #10132c;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* إزالة تنسيقات Astra عن روابط الصفحة */
.rafyzo-auth-page a {
    text-decoration: none !important;
}

/* ==========================================================================
   Header
   ========================================================================== */

.rafyzo-auth-header {
    position: relative;
    z-index: 10;

    width: 100%;
    border-bottom: 1px solid #ececf4;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.rafyzo-auth-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: min(calc(100% - 80px), 1500px);
    min-height: 72px;
    margin: 0 auto;
}

.rafyzo-auth-header__logo {
    display: inline-flex;
    align-items: center;

    color: #5530f5 !important;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.rafyzo-auth-header__logo-image {
    display: block;
    width: auto;
    max-width: 175px;
    max-height: 48px;
}

.rafyzo-auth-header__register {
    display: flex;
    align-items: center;
    gap: 17px;

    color: #595b70;
    font-size: 15px;
    font-weight: 500;
}

.rafyzo-auth-header__register a {
    color: #5327ff !important;
    font-weight: 800;
}

/* ==========================================================================
   Main layout
   ========================================================================== */

.rafyzo-auth-main {
    position: relative;
    width: 100%;
}

.rafyzo-auth-main__container {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(430px, 0.85fr);
    align-items: center;
    gap: clamp(55px, 7vw, 125px);

    width: min(calc(100% - 120px), 1420px);
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 65px 0;
}

/* ==========================================================================
   Left showcase
   ========================================================================== */

.rafyzo-auth-showcase {
    min-width: 0;
}

.rafyzo-auth-showcase__content {
    max-width: 680px;
    margin-bottom: 32px;
}

.rafyzo-auth-showcase__title {
    margin: 0;

    color: #0d1029;
    font-size: clamp(48px, 4.3vw, 70px);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -3.2px;
}

.rafyzo-auth-showcase__title span {
    display: block;

    margin-top: 10px;

    color: #5527f8;
}

.rafyzo-auth-showcase__description {
    max-width: 650px;
    margin: 25px 0 0;

    color: #626477;
    font-size: 17px;
    font-weight: 450;
    line-height: 1.75;
}

/* ==========================================================================
   Dashboard preview
   ========================================================================== */

.rafyzo-dashboard-preview {
    width: min(100%, 720px);

    overflow: hidden;

    border: 1px solid rgba(82, 48, 210, 0.11);
    border-radius: 14px;

    background: #ffffff;
    box-shadow:
        0 28px 65px rgba(62, 35, 148, 0.13),
        0 8px 20px rgba(35, 28, 73, 0.07);
}

.rafyzo-dashboard-preview__browser {
    display: flex;
    align-items: center;
    gap: 7px;

    height: 29px;
    padding: 0 14px;

    background: linear-gradient(
        90deg,
        #321097 0%,
        #4110a9 100%
    );
}

.rafyzo-dashboard-preview__browser span {
    width: 9px;
    height: 9px;

    border-radius: 50%;
}

.rafyzo-dashboard-preview__browser span:nth-child(1) {
    background: #ffba5b;
}

.rafyzo-dashboard-preview__browser span:nth-child(2) {
    background: #a4e85f;
}

.rafyzo-dashboard-preview__browser span:nth-child(3) {
    background: #8dd7ff;
}

.rafyzo-dashboard-preview__body {
    padding: 21px 27px 23px;
}

.rafyzo-dashboard-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rafyzo-dashboard-preview__store {
    display: flex;
    align-items: center;
    gap: 11px;
}

.rafyzo-dashboard-preview__avatar {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    border-radius: 50%;

    background: #f0ebff;
    color: #5c30f7;

    font-size: 11px;
    font-weight: 850;
}

.rafyzo-dashboard-preview__store strong {
    display: block;

    color: #1d1f36;
    font-size: 11px;
    line-height: 1.2;
}

.rafyzo-dashboard-preview__store small {
    display: block;

    margin-top: 4px;

    color: #7b7c8e;
    font-size: 8px;
}

.rafyzo-dashboard-preview__premium {
    align-self: flex-end;

    margin-bottom: 3px;
    padding: 3px 7px;

    border-radius: 4px;

    background: #5d2cff;
    color: #ffffff;

    font-size: 7px;
    font-weight: 700;
}

.rafyzo-dashboard-preview__actions {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 8px;
    font-weight: 700;
}

.rafyzo-dashboard-preview__actions span {
    padding: 9px 13px;

    border: 1px solid #e3e4ec;
    border-radius: 6px;

    color: #34364a;
}

.rafyzo-dashboard-preview__actions .is-primary {
    border-color: #5b22ff;

    background: #5b22ff;
    color: #ffffff;

    box-shadow: 0 6px 15px rgba(91, 34, 255, 0.23);
}

.rafyzo-dashboard-preview__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;

    margin-top: 24px;
}

.rafyzo-dashboard-preview__stats article {
    min-width: 0;
    padding: 14px 13px;

    border: 1px solid #e8e8ef;
    border-radius: 7px;
}

.rafyzo-dashboard-preview__stats small,
.rafyzo-dashboard-preview__stats strong,
.rafyzo-dashboard-preview__stats span {
    display: block;
}

.rafyzo-dashboard-preview__stats small {
    overflow: hidden;

    color: #747588;
    font-size: 7px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rafyzo-dashboard-preview__stats strong {
    margin-top: 8px;

    color: #15172d;
    font-size: 15px;
    line-height: 1;
}

.rafyzo-dashboard-preview__stats span {
    margin-top: 9px;

    color: #28ad62;
    font-size: 7px;
}

.rafyzo-dashboard-preview__orders {
    margin-top: 22px;
}

.rafyzo-dashboard-preview__orders-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    font-size: 8px;
}

.rafyzo-dashboard-preview__orders-title strong {
    color: #24263b;
}

.rafyzo-dashboard-preview__orders-title span {
    color: #5c2cff;
}

.rafyzo-dashboard-preview__table {
    overflow: hidden;

    border: 1px solid #e7e7ef;
    border-radius: 7px;
}

.rafyzo-dashboard-preview__row {
    display: grid;
    grid-template-columns:
        1fr
        1fr
        0.75fr
        1.1fr
        0.9fr;
    align-items: center;

    min-height: 30px;
    padding: 0 11px;

    border-bottom: 1px solid #eeeeF4;

    color: #686a7d;
    font-size: 7px;
}

.rafyzo-dashboard-preview__row:last-child {
    border-bottom: 0;
}

.rafyzo-dashboard-preview__row.is-heading {
    min-height: 27px;

    background: #fafafd;
    color: #606276;

    font-weight: 700;
}

.rafyzo-dashboard-preview__row:not(.is-heading) span:first-child {
    color: #5b2bff;
    font-weight: 700;
}

.rafyzo-dashboard-preview__row i {
    display: inline-flex;

    padding: 3px 6px;

    border-radius: 8px;

    font-size: 6px;
    font-style: normal;
    white-space: nowrap;
}

.rafyzo-dashboard-preview__row i.is-success {
    background: #eaf9ef;
    color: #36a762;
}

.rafyzo-dashboard-preview__row i.is-info {
    background: #eaf3ff;
    color: #3f87dc;
}

.rafyzo-dashboard-preview__row i.is-warning {
    background: #fff2df;
    color: #db8e24;
}

.rafyzo-dashboard-preview__upgrade {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 18px;
    padding: 12px 15px;

    border: 1px solid #e8e3fa;
    border-radius: 7px;

    background: #faf8ff;
}

.rafyzo-dashboard-preview__upgrade strong,
.rafyzo-dashboard-preview__upgrade small {
    display: block;
}

.rafyzo-dashboard-preview__upgrade strong {
    color: #27283b;
    font-size: 9px;
}

.rafyzo-dashboard-preview__upgrade small {
    margin-top: 3px;

    color: #77788a;
    font-size: 7px;
}

.rafyzo-dashboard-preview__upgrade > span {
    flex: 0 0 auto;

    padding: 7px 11px;

    border: 1px solid #ddd5f8;
    border-radius: 5px;

    color: #592cff;

    font-size: 7px;
    font-weight: 750;
}

/* ==========================================================================
   Login card
   ========================================================================== */

.rafyzo-login-area {
    width: 100%;
    max-width: 510px;
    justify-self: end;
}

.rafyzo-login-card {
    width: 100%;
    padding: 54px 47px 38px;

    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 21px;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 27px 75px rgba(54, 39, 112, 0.13),
        0 8px 25px rgba(32, 25, 67, 0.05);

    backdrop-filter: blur(15px);
}

.rafyzo-login-card__heading {
    margin-bottom: 39px;
    text-align: center;
}

.rafyzo-login-card__heading h2 {
    margin: 0;

    color: #11142d;
    font-size: 31px;
    font-weight: 820;
    line-height: 1.15;
    letter-spacing: -1px;
}

.rafyzo-login-card__heading p {
    margin: 13px 0 0;

    color: #6d6f82;
    font-size: 15px;
    line-height: 1.5;
}

.rafyzo-login-form__field {
    margin-bottom: 22px;
}

.rafyzo-login-form__field label {
    display: block;

    margin-bottom: 9px;

    color: #24263b;
    font-size: 14px;
    font-weight: 750;
}

.rafyzo-login-form__field input {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 15px;

    border: 1px solid #d7d9e3 !important;
    border-radius: 8px !important;

    outline: 0;

    background: #ffffff !important;
    color: #181a31 !important;

    font-family: inherit;
    font-size: 15px;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.rafyzo-login-form__field input::placeholder {
    color: #9a9bab;
}

.rafyzo-login-form__field input:focus {
    border-color: #6130ff !important;
    box-shadow: 0 0 0 3px rgba(97, 48, 255, 0.10) !important;
}

.rafyzo-login-form__password {
    position: relative;
}

.rafyzo-login-form__password input {
    padding-right: 50px;
}

.rafyzo-login-form__password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;

    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;
    padding: 0;

    border: 0 !important;
    outline: 0;

    background: transparent !important;
    color: #858698;

    box-shadow: none !important;
    transform: translateY(-50%);

    cursor: pointer;
}

.rafyzo-login-form__password-toggle:hover,
.rafyzo-login-form__password-toggle:focus {
    background: transparent !important;
    color: #5b2cff;
}

.rafyzo-login-form__password-toggle svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.rafyzo-login-form__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 3px;
}

.rafyzo-login-form__remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0;

    color: #34364b;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}

.rafyzo-login-form__remember input {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;
}

.rafyzo-login-form__remember span {
    position: relative;

    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    border: 1.5px solid #5b2cff;
    border-radius: 5px;

    background: #ffffff;
}

.rafyzo-login-form__remember input:checked + span {
    background: #5b2cff;
}

.rafyzo-login-form__remember input:checked + span::after {
    position: absolute;
    top: 3px;
    left: 6px;

    width: 5px;
    height: 9px;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    content: "";
    transform: rotate(45deg);
}

.rafyzo-login-form__options > a {
    color: #5c2cff !important;
    font-size: 14px;
    font-weight: 600;
}

.rafyzo-login-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;

    width: 100%;
    height: 55px;
    margin-top: 26px;
    padding: 0 25px;

    border: 0 !important;
    border-radius: 9px !important;

    background: linear-gradient(
        90deg,
        #b4ff00 0%,
        #96f000 100%
    ) !important;
    color: #121923 !important;

    font-family: inherit;
    font-size: 17px;
    font-weight: 800;

    box-shadow:
        0 12px 25px rgba(158, 242, 0, 0.20) !important;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.rafyzo-login-form__submit:hover {
    background: linear-gradient(
        90deg,
        #b4ff00 0%,
        #96f000 100%
    ) !important;
    color: #121923 !important;

    filter: brightness(0.98);

    box-shadow:
        0 14px 30px rgba(158, 242, 0, 0.27) !important;

    transform: translateY(-1px);
}

.rafyzo-login-form__submit svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}


.rafyzo-auth-social-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;

    margin: 24px 0 18px;
}

.rafyzo-auth-social-divider span {
    height: 1px;
    background: #dddfe8;
}

.rafyzo-auth-social-divider small {
    color: #727486;
    font-size: 14px;
    font-weight: 600;
}

.rafyzo-auth-google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    width: 100%;
    min-height: 54px;
    padding: 0 20px;

    border: 1px solid #dddaf2 !important;
    border-radius: 10px !important;

    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%) !important;
    color: #261e53 !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    box-shadow:
        0 10px 26px rgba(88, 43, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.rafyzo-auth-google-button:hover,
.rafyzo-auth-google-button:focus {
    border-color: #bdb0ff !important;

    background: linear-gradient(180deg, #ffffff 0%, #f6f1ff 100%) !important;
    color: #261e53 !important;

    box-shadow:
        0 14px 30px rgba(88, 43, 255, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;

    transform: translateY(-1px);
}

.rafyzo-auth-google-button.is-disabled,
.rafyzo-auth-google-button:disabled {
    opacity: 0.92;
    cursor: not-allowed;
    transform: none;
}

.rafyzo-auth-google-button__icon {
    display: inline-grid;
    place-items: center;

    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.rafyzo-auth-google-button__icon img,
.rafyzo-auth-google-button__icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.rafyzo-login-form__register {
    margin: 25px 0 0;

    color: #66687b;
    font-size: 14px;
    text-align: center;
}

.rafyzo-login-form__register a {
    margin-left: 4px;

    color: #5b2cff !important;
    font-weight: 700;
}

.rafyzo-login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 25px;

    color: #66687b;
}

.rafyzo-login-security__icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border-radius: 50%;

    background: #f0eaff;
    color: #5d2cff;
}

.rafyzo-login-security__icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.rafyzo-login-security p {
    margin: 0;

    font-size: 13px;
    line-height: 1.55;
}

.rafyzo-login-security p span {
    display: block;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1100px) {

    .rafyzo-auth-main__container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(390px, 0.82fr);
        gap: 45px;

        width: min(calc(100% - 60px), 1100px);
    }

    .rafyzo-auth-showcase__title {
        font-size: 52px;
    }

    .rafyzo-dashboard-preview__body {
        padding: 18px;
    }

    .rafyzo-dashboard-preview__actions span:first-child {
        display: none;
    }

    .rafyzo-dashboard-preview__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rafyzo-login-card {
        padding-right: 35px;
        padding-left: 35px;
    }

}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 850px) {

    .rafyzo-auth-header__container {
        width: calc(100% - 36px);
        min-height: 68px;
    }

    .rafyzo-auth-header__register span {
        display: none;
    }

    .rafyzo-auth-header__register {
        font-size: 13px;
    }

    .rafyzo-auth-header__logo-image {
        max-width: 140px;
        max-height: 42px;
    }

    .rafyzo-auth-main__container {
        display: block;

        width: min(calc(100% - 36px), 560px);
        min-height: auto;
        padding: 44px 0 55px;
    }

    .rafyzo-auth-showcase {
        margin-bottom: 34px;
        text-align: center;
    }

    .rafyzo-auth-showcase__content {
        margin-right: auto;
        margin-bottom: 29px;
        margin-left: auto;
    }

    .rafyzo-auth-showcase__title {
        font-size: clamp(39px, 11vw, 54px);
        letter-spacing: -2px;
    }

    .rafyzo-auth-showcase__description {
        margin-top: 19px;

        font-size: 15px;
        line-height: 1.65;
    }

    .rafyzo-dashboard-preview {
        display: none;
    }

    .rafyzo-login-area {
        max-width: none;
    }

    .rafyzo-login-card {
        padding: 39px 27px 30px;

        border-radius: 18px;
    }

    .rafyzo-login-card__heading {
        margin-bottom: 31px;
    }

    .rafyzo-login-card__heading h2 {
        font-size: 27px;
    }

}

/* ==========================================================================
   Small mobile
   ========================================================================== */

@media (max-width: 480px) {

    .rafyzo-auth-header__container {
        width: calc(100% - 28px);
    }

    .rafyzo-auth-header__logo-image {
        max-width: 122px;
    }

    .rafyzo-auth-header__register {
        font-size: 12px;
    }

    .rafyzo-auth-main__container {
        width: calc(100% - 28px);
        padding-top: 34px;
    }

    .rafyzo-auth-showcase__title {
        font-size: 40px;
    }

    .rafyzo-auth-showcase__description {
        font-size: 14px;
    }

    .rafyzo-login-card {
        padding: 34px 20px 27px;
    }

    .rafyzo-login-card__heading h2 {
        font-size: 25px;
    }

    .rafyzo-login-card__heading p {
        font-size: 14px;
    }

    .rafyzo-login-form__options {
        align-items: flex-start;
        gap: 12px;
    }

    .rafyzo-login-form__remember,
    .rafyzo-login-form__options > a {
        font-size: 12px;
    }

    .rafyzo-login-form__submit {
        height: 52px;
    }

    .rafyzo-login-form__register {
        font-size: 13px;
        line-height: 1.6;
    }

    .rafyzo-login-form__register a {
        display: block;
        margin: 3px 0 0;
    }

    .rafyzo-login-security {
        align-items: flex-start;
    }

    .rafyzo-login-security p {
        font-size: 12px;
    }

}
/* ==========================================================================
   RAFYZO Register Card
   ========================================================================== */

.rafyzo-register-area {
    width: 100%;
    max-width: 560px;
    justify-self: end;
}

.rafyzo-register-card {
    width: 100%;
    padding: 38px 42px 34px;

    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 21px;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 27px 75px rgba(54, 39, 112, 0.13),
        0 8px 25px rgba(32, 25, 67, 0.05);

    backdrop-filter: blur(15px);
}

.rafyzo-register-card__heading {
    margin-bottom: 28px;
    text-align: center;
}

.rafyzo-register-card__heading h2 {
    margin: 0;

    color: #11142d;
    font-size: 29px;
    font-weight: 820;
    line-height: 1.15;
    letter-spacing: -0.9px;
}

.rafyzo-register-card__heading p {
    margin: 11px 0 0;

    color: #6d6f82;
    font-size: 14px;
    line-height: 1.5;
}

.rafyzo-register-form__field {
    margin-bottom: 17px;
}

.rafyzo-register-form__field label {
    display: block;

    margin-bottom: 8px;

    color: #24263b;
    font-size: 13px;
    font-weight: 750;
}

.rafyzo-register-form__field input,
.rafyzo-register-form__field select {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;

    border: 1px solid #d7d9e3 !important;
    border-radius: 8px !important;

    outline: 0;

    background: #ffffff !important;
    color: #181a31 !important;

    font-family: inherit;
    font-size: 14px;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.rafyzo-register-form__field input::placeholder {
    color: #9a9bab;
}

.rafyzo-register-form__field input:focus,
.rafyzo-register-form__field select:focus {
    border-color: #6130ff !important;
    box-shadow:
        0 0 0 3px rgba(97, 48, 255, 0.10) !important;
}

.rafyzo-register-form__field select {
    cursor: pointer;
}

.rafyzo-register-store-url {
    display: flex;
    align-items: stretch;

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

    overflow: hidden;

    border: 1px solid #d7d9e3;
    border-radius: 8px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.rafyzo-register-store-url:focus-within {
    border-color: #6130ff;
    box-shadow:
        0 0 0 3px rgba(97, 48, 255, 0.10);
}

.rafyzo-register-store-url__prefix {
    display: flex;
    align-items: center;

    max-width: 46%;
    padding: 0 11px;



    border-right: 1px solid #e1e2ea;

    background: #f7f7fb;
    color: #76788b;

    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rafyzo-register-store-url input {
    min-width: 0;
    height: 46px;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

.rafyzo-register-store-url input:focus {
    border: 0 !important;
    box-shadow: none !important;
}

.rafyzo-register-store-url__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 7px;
}

.rafyzo-register-store-url__status small,
.rafyzo-register-field-help {
    display: block;

    color: #7d7f91;
    font-size: 11px;
    line-height: 1.4;
}

#rafyzo-slug-status {
    flex: 0 0 auto;

    font-size: 11px;
    font-weight: 700;
}

#rafyzo-slug-status.is-success {
    color: #25a55f;
}

#rafyzo-slug-status.is-error {
    color: #dd4b5c;
}

.rafyzo-register-phone {
    display: block;
    width: 100%;
}

.rafyzo-register-password {
    position: relative;
}

.rafyzo-register-password input {
    padding-right: 50px;
}

.rafyzo-register-password__toggle {
    position: absolute;
    top: 50%;
    right: 13px;

    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;
    padding: 0;

    border: 0 !important;
    outline: 0;

    background: transparent !important;
    color: #858698;

    box-shadow: none !important;
    transform: translateY(-50%);

    cursor: pointer;
}

.rafyzo-register-password__toggle:hover,
.rafyzo-register-password__toggle:focus {
    background: transparent !important;
    color: #5b2cff;
}

.rafyzo-register-password__toggle svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.rafyzo-register-field-error {
    display: none;

    margin-top: 6px;

    color: #d94255;
    font-size: 11px;
    line-height: 1.4;
}

.rafyzo-register-form__field.has-error
.rafyzo-register-field-error {
    display: block;
}

.rafyzo-register-form__field.has-error > input,
.rafyzo-register-form__field.has-error
.rafyzo-register-password input {
    border-color: #e05a69 !important;
}

.rafyzo-register-form__field.has-error .px-global-phone-control {
    border-color: #e05a69 !important;
}

.rafyzo-register-form__field.has-error
.rafyzo-register-store-url {
    border-color: #e05a69;
}

.rafyzo-register-terms-field {
    margin-top: 4px;
    margin-bottom: 19px;
}

.rafyzo-register-terms {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 0;

    color: #55576b;
    font-size: 12px;
    line-height: 1.55;

    cursor: pointer;
}

.rafyzo-register-terms input {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;
}

.rafyzo-register-terms__check {
    position: relative;

    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    margin-top: 1px;

    border: 1.5px solid #5b2cff;
    border-radius: 5px;

    background: #ffffff;
}

.rafyzo-register-terms input:checked
+ .rafyzo-register-terms__check {
    background: #5b2cff;
}

.rafyzo-register-terms input:checked
+ .rafyzo-register-terms__check::after {
    position: absolute;
    top: 3px;
    left: 6px;

    width: 5px;
    height: 9px;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    content: "";
    transform: rotate(45deg);
}

.rafyzo-register-terms a {
    color: #5b2cff !important;
    font-weight: 700;
}

.rafyzo-register-terms a:hover {
    text-decoration: none !important;
}

.rafyzo-register-terms-field
.rafyzo-register-field-error {
    margin-left: 30px;
}

.rafyzo-register-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;

    width: 100%;
    height: 55px;
    padding: 0 25px;

    border: 0 !important;
    border-radius: 9px !important;

    background:
        linear-gradient(
            90deg,
            #b4ff00 0%,
            #96f000 100%
        ) !important;

    color: #121923 !important;

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;

    box-shadow:
        0 12px 25px rgba(158, 242, 0, 0.20) !important;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.rafyzo-register-form__submit:hover {
    background:
        linear-gradient(
            90deg,
            #b4ff00 0%,
            #96f000 100%
        ) !important;

    color: #121923 !important;

    filter: brightness(0.98);

    box-shadow:
        0 14px 30px rgba(158, 242, 0, 0.27) !important;

    transform: translateY(-1px);
}

.rafyzo-register-form__submit svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.rafyzo-register-message {
    display: none;

    margin-top: 15px;
    padding: 12px 14px;

    border-radius: 8px;

    font-size: 12px;
    line-height: 1.5;
}

.rafyzo-register-message.is-error {
    display: block;

    border: 1px solid #f0c7cc;

    background: #fff3f4;
    color: #c93849;
}

.rafyzo-register-message.is-success {
    display: block;

    border: 1px solid #cce9d8;

    background: #f0fbf4;
    color: #25864e;
}

.rafyzo-register-form__login {
    margin: 22px 0 0;

    color: #66687b;
    font-size: 14px;
    text-align: center;
}

.rafyzo-register-form__login a {
    margin-left: 4px;

    color: #5b2cff !important;
    font-weight: 700;
}

/* ==========================================================================
   Register responsive
   ========================================================================== */

@media (max-width: 1100px) {

    .rafyzo-register-card {
        padding-right: 32px;
        padding-left: 32px;
    }

}

@media (max-width: 850px) {

    .rafyzo-register-area {
        max-width: none;
    }

    .rafyzo-register-card {
        padding: 36px 27px 30px;

        border-radius: 18px;
    }

    .rafyzo-register-card__heading h2 {
        font-size: 27px;
    }

}

@media (max-width: 480px) {

    .rafyzo-register-card {
        padding: 32px 20px 27px;
    }

    .rafyzo-register-card__heading h2 {
        font-size: 24px;
    }

    .rafyzo-register-card__heading p {
        font-size: 13px;
    }

    .rafyzo-register-store-url {
        display: block;
    }

    .rafyzo-register-store-url__prefix {
        max-width: none;
        min-height: 34px;

        border-right: 0;
        border-bottom: 1px solid #e1e2ea;
    }

    .rafyzo-register-store-url__status {
        display: block;
    }

    #rafyzo-slug-status {
        display: block;
        margin-top: 5px;
    }

    .rafyzo-register-form__login {
        font-size: 13px;
        line-height: 1.6;
    }

    .rafyzo-register-form__login a {
        display: block;
        margin: 3px 0 0;
    }

}

/* ==========================================================================
   Email verification
   ========================================================================== */

.rafyzo-verify-card {
    width: min(100%, 520px);
    margin: 60px auto;
    padding: 42px 38px 36px;
    border: 1px solid #e8e7ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(35, 25, 80, 0.08);
    text-align: center;
}

.rafyzo-verify-card__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    color: #5b2cff !important;
    font-size: 28px;
    font-weight: 900;
    text-decoration: none !important;
}

.rafyzo-verify-card__logo {
    width: auto;
    max-width: 155px;
    max-height: 52px;
}

.rafyzo-verify-card__icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 18px;
    background: #f0ebff;
    color: #5b2cff;
    font-size: 28px;
}

.rafyzo-verify-card h1 {
    margin: 0 0 12px;
    color: #202033;
    font-size: 29px;
    line-height: 1.25;
}

.rafyzo-verify-card__description {
    margin: 0 auto 7px;
    color: #696a7d;
    font-size: 15px;
    line-height: 1.7;
}

.rafyzo-verify-card__email {
    margin: 0 0 25px;
    color: #202033;
    font-size: 15px;
    font-weight: 800;
}

.rafyzo-verify-form {
    text-align: left;
}

.rafyzo-verify-form label {
    display: block;
    margin-bottom: 9px;
    color: #343447;
    font-size: 14px;
    font-weight: 700;
}

#rafyzo-verification-code {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid #dfe0e8;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #202033;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 10px;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#rafyzo-verification-code:focus {
    border-color: #7047ff;
    box-shadow: 0 0 0 4px rgba(91, 44, 255, 0.10);
}

#rafyzo-verification-code.has-error {
    border-color: #cf3d4e;
}

.rafyzo-verify-field-error {
    display: block;
    min-height: 20px;
    margin: 7px 0 4px;
    color: #c93849;
    font-size: 12px;
}

.rafyzo-verify-card__resend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 22px;
    color: #696a7d;
    font-size: 14px;
}

.rafyzo-verify-card__resend button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #5b2cff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.rafyzo-verify-card__resend button:disabled {
    color: #a7a6b2;
    cursor: not-allowed;
}

.rafyzo-verify-card__resend small {
    flex-basis: 100%;
    margin-top: 4px;
    color: #8a8997;
    font-size: 12px;
}

.rafyzo-verify-card__change {
    display: inline-block;
    margin-top: 18px;
    color: #5b2cff !important;
    font-size: 13px;
    font-weight: 700;
}

.rafyzo-verify-card__expiry {
    margin: 21px 0 0;
    color: #8a8997;
    font-size: 12px;
}

.rafyzo-verify-card__restart {
    display: inline-flex !important;
    width: auto;
    margin-top: 20px;
    padding-right: 28px;
    padding-left: 28px;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .rafyzo-verify-card {
        margin: 24px auto;
        padding: 34px 20px 30px;
        border-radius: 18px;
    }

    .rafyzo-verify-card h1 {
        font-size: 25px;
    }

    #rafyzo-verification-code {
        font-size: 23px;
        letter-spacing: 8px;
    }
}

/* ==========================================================================
   RAFYZO Platform Auth
   ========================================================================== */

.rafyzo-auth-page--platform {
    --rfz-auth-purple: #642dff;
    --rfz-auth-purple-dark: #2b174d;
    --rfz-auth-lime: #baff3c;
    --rfz-auth-ink: #191426;
    --rfz-auth-muted: #6f687b;
    --rfz-auth-line: rgba(57, 38, 82, 0.12);
    overflow-x: clip;
    overflow-y: visible;
    background:
        radial-gradient(circle at 8% 14%, rgba(101, 45, 255, 0.14), transparent 27%),
        radial-gradient(circle at 83% 76%, rgba(186, 255, 60, 0.12), transparent 24%),
        linear-gradient(135deg, #fbfaff 0%, #f8f6ff 48%, #fbfff4 100%);
}

.rafyzo-auth-page--platform .rafyzo-auth-header {
    position: sticky;
    top: 0;
    z-index: 60;
}

.rafyzo-auth-page--platform .rafyzo-auth-header__container {
    width: min(calc(100% - 64px), 1320px);
    min-height: 76px;
}

.rafyzo-auth-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rafyzo-auth-page--platform .rafyzo-auth-header__register {
    gap: 12px;
}

.rafyzo-auth-page--platform .rafyzo-auth-header__register a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(100, 45, 255, 0.18);
    border-radius: 12px;
    background: rgba(100, 45, 255, 0.06);
}

.rafyzo-auth-platform-main {
    position: relative;
    isolation: isolate;
}

.rafyzo-auth-platform-main::before,
.rafyzo-auth-platform-main::after {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    content: "";
    filter: blur(4px);
    pointer-events: none;
}

.rafyzo-auth-platform-main::before {
    top: 8%;
    left: -120px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(100, 45, 255, 0.12);
    background: rgba(100, 45, 255, 0.035);
}

.rafyzo-auth-platform-main::after {
    right: -90px;
    bottom: 10%;
    width: 260px;
    height: 260px;
    background: rgba(186, 255, 60, 0.07);
}

.rafyzo-auth-platform-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.72fr);
    align-items: center;
    gap: clamp(54px, 6vw, 105px);
    width: min(calc(100% - 96px), 1320px);
    min-height: calc(100vh - 76px);
    margin: 0 auto;
    padding: 62px 0 72px;
}

.rafyzo-register-page .rafyzo-auth-platform-layout {
    align-items: start;
}

.rafyzo-register-page .rafyzo-auth-platform-showcase {
    position: sticky;
    top: 118px;
    align-self: start;
    padding-top: clamp(42px, 7vh, 86px);
}

.rafyzo-register-page .rafyzo-register-area {
    align-self: start;
}

.rafyzo-auth-platform-showcase {
    min-width: 0;
}

.rafyzo-auth-platform-eyebrow,
.rafyzo-auth-card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--rfz-auth-purple);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rafyzo-auth-platform-eyebrow::before,
.rafyzo-auth-card-eyebrow::before {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rfz-auth-lime), var(--rfz-auth-purple));
    content: "";
}

.rafyzo-auth-platform-showcase > h1 {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--rfz-auth-ink);
    font-size: clamp(47px, 4.3vw, 70px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.rafyzo-auth-platform-showcase > h1 span {
    display: block;
    margin-top: 8px;
    color: var(--rfz-auth-purple);
}

.rafyzo-auth-platform-showcase > p {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--rfz-auth-muted);
    font-size: 16px;
    line-height: 1.72;
}

.rafyzo-auth-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    max-width: 760px;
    margin-top: 32px;
}

.rafyzo-auth-service-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--rfz-auth-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.77);
    box-shadow: 0 12px 32px rgba(53, 35, 97, 0.06);
    backdrop-filter: blur(12px);
}

.rafyzo-auth-service-card::after {
    position: absolute;
    right: -28px;
    bottom: -36px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: rgba(100, 45, 255, 0.06);
    content: "";
}

.rafyzo-auth-service-card.is-restaurant::after {
    background: rgba(186, 255, 60, 0.10);
}

.rafyzo-auth-service-card__icon,
.rafyzo-register-workspace-option__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 13px;
    background: #f0ebff;
    color: var(--rfz-auth-purple);
}

.rafyzo-auth-service-card.is-restaurant .rafyzo-auth-service-card__icon,
.rafyzo-register-workspace-option.is-restaurant .rafyzo-register-workspace-option__icon {
    background: #efffd7;
    color: #456b00;
}

.rafyzo-auth-service-card__icon svg,
.rafyzo-register-workspace-option__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.rafyzo-auth-service-card strong,
.rafyzo-auth-service-card small {
    position: relative;
    z-index: 1;
    display: block;
}

.rafyzo-auth-service-card strong {
    color: #242033;
    font-size: 13px;
    font-weight: 850;
}

.rafyzo-auth-service-card small {
    margin-top: 5px;
    color: #777080;
    font-size: 10px;
    line-height: 1.45;
}

.rafyzo-auth-platform-board {
    width: min(100%, 760px);
    margin-top: 17px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 82% 10%, rgba(100, 45, 255, 0.34), transparent 32%),
        linear-gradient(135deg, #17131e 0%, #21152f 100%);
    color: #fff;
    box-shadow: 0 24px 55px rgba(28, 18, 49, 0.17);
}

.rafyzo-auth-platform-board__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.rafyzo-auth-platform-board__brand img {
    width: auto;
    max-width: 142px;
    max-height: 36px;
    filter: brightness(0) invert(1);
}

.rafyzo-auth-platform-board__brand span {
    padding: 6px 9px;
    border: 1px solid rgba(186, 255, 60, 0.25);
    border-radius: 999px;
    color: var(--rfz-auth-lime);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rafyzo-auth-platform-board__tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.rafyzo-auth-platform-board__tiles > span {
    display: block;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.rafyzo-auth-platform-board__tiles > span.is-active {
    border-color: rgba(186, 255, 60, 0.28);
    background: rgba(186, 255, 60, 0.08);
}

.rafyzo-auth-platform-board__tiles b,
.rafyzo-auth-platform-board__tiles small {
    display: block;
}

.rafyzo-auth-platform-board__tiles b {
    font-size: 11px;
}

.rafyzo-auth-platform-board__tiles small {
    margin-top: 5px;
    color: #aaa1b6;
    font-size: 9px;
}

.rafyzo-auth-platform-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 720px;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(100, 45, 255, 0.10);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
}

.rafyzo-auth-platform-note > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #eaffc5;
    color: #456b00;
    font-size: 14px;
    font-weight: 900;
}

.rafyzo-auth-platform-note p,
.rafyzo-auth-platform-note strong,
.rafyzo-auth-platform-note small {
    display: block;
    margin: 0;
}

.rafyzo-auth-platform-note strong {
    color: #2a2435;
    font-size: 12px;
}

.rafyzo-auth-platform-note small {
    margin-top: 4px;
    color: #756e7d;
    font-size: 10px;
    line-height: 1.5;
}

.rafyzo-auth-panel {
    align-self: center;
}

.rafyzo-auth-page--platform .rafyzo-login-area,
.rafyzo-auth-page--platform .rafyzo-register-area {
    max-width: 500px;
}

.rafyzo-auth-page--platform .rafyzo-login-card,
.rafyzo-auth-page--platform .rafyzo-register-card {
    padding: 38px 38px 34px;
    border: 1px solid rgba(65, 43, 88, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 70px rgba(48, 31, 84, 0.12);
}

.rafyzo-auth-page--platform .rafyzo-login-card__heading,
.rafyzo-auth-page--platform .rafyzo-register-card__heading {
    margin-bottom: 25px;
    text-align: left;
}

.rafyzo-auth-page--platform .rafyzo-login-card__heading h2,
.rafyzo-auth-page--platform .rafyzo-register-card__heading h2 {
    margin-top: 9px;
    color: var(--rfz-auth-ink);
    font-size: 28px;
    letter-spacing: -0.035em;
}

.rafyzo-auth-page--platform .rafyzo-login-card__heading p,
.rafyzo-auth-page--platform .rafyzo-register-card__heading p {
    margin-top: 8px;
}

.rafyzo-register-plan-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -5px 0 18px;
    padding: 13px 14px;
    border: 1px solid #ded4ff;
    border-radius: 15px;
    background: #f8f5ff;
    color: #241d30;
}

.rafyzo-register-plan-summary[hidden] {
    display: none !important;
}

.rafyzo-register-plan-summary__eyebrow {
    flex: 0 0 auto;
    color: #6d28ff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.rafyzo-register-plan-summary__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    text-align: right;
}

.rafyzo-register-plan-summary__copy strong {
    min-width: 0;
    color: #241d30;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
}

.rafyzo-register-plan-summary__copy span {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid #d9cdfd;
    border-radius: 999px;
    background: #ffffff;
    color: #5d24d4;
    font-size: 9px;
    font-weight: 850;
    line-height: 1.2;
}

[dir="rtl"] .rafyzo-register-plan-summary__copy {
    justify-content: flex-start;
    text-align: right;
}

.rafyzo-register-workspace-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: -4px 0 8px;
}

.rafyzo-register-workspace-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 110px;
    padding: 13px !important;
    border: 1px solid #e2deea !important;
    border-radius: 15px !important;
    outline: 0;
    background: #fff !important;
    color: #2b2635 !important;
    text-align: left;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.rafyzo-register-workspace-option:hover {
    border-color: rgba(100, 45, 255, 0.35) !important;
    transform: translateY(-1px);
}

.rafyzo-register-workspace-option.is-selected {
    border-color: var(--rfz-auth-purple) !important;
    background: #f8f5ff !important;
    box-shadow: 0 0 0 3px rgba(100, 45, 255, 0.08) !important;
}

.rafyzo-register-workspace-option.is-restaurant.is-selected {
    border-color: #8fba30 !important;
    background: #fbfff3 !important;
    box-shadow: 0 0 0 3px rgba(143, 186, 48, 0.09) !important;
}

.rafyzo-register-workspace-option__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
}

.rafyzo-register-workspace-option__icon svg {
    width: 18px;
    height: 18px;
}

.rafyzo-register-workspace-option strong,
.rafyzo-register-workspace-option small {
    display: block;
}

.rafyzo-register-workspace-option strong {
    font-size: 11px;
    font-weight: 850;
    line-height: 1.15;
}

.rafyzo-register-workspace-option small {
    margin-top: 4px;
    color: #8a8391;
    font-size: 9px;
}

.rafyzo-register-workspace-error {
    display: block;
    min-height: 17px;
    margin-bottom: 9px;
    color: #d94255;
    font-size: 11px;
}

.rafyzo-auth-page--platform .rafyzo-register-form__field {
    margin-bottom: 14px;
}

.rafyzo-auth-page--platform .rafyzo-register-form__field input,
.rafyzo-auth-page--platform .rafyzo-register-form__field select {
    height: 46px;
}

.rafyzo-auth-page--platform .rafyzo-register-store-url {
    min-height: 46px;
}

.rafyzo-auth-page--platform .rafyzo-register-store-url input {
    height: 44px;
}

.rafyzo-auth-page--platform .rafyzo-register-form__submit,
.rafyzo-auth-page--platform .rafyzo-login-form__submit {
    border-radius: 12px !important;
}

.rafyzo-auth-page--platform .rafyzo-login-security {
    margin-top: 18px;
}

[dir="rtl"] .rafyzo-auth-page--platform .rafyzo-login-card__heading,
[dir="rtl"] .rafyzo-auth-page--platform .rafyzo-register-card__heading,
[dir="rtl"] .rafyzo-register-workspace-option {
    text-align: right;
}

[dir="rtl"] .rafyzo-auth-platform-eyebrow::before,
[dir="rtl"] .rafyzo-auth-card-eyebrow::before {
    order: 2;
}

[dir="rtl"] .rafyzo-register-store-url__prefix {
    border-right: 0;
    border-left: 1px solid #e1e2ea;
}

@media (max-width: 1080px) {
    .rafyzo-auth-platform-layout {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
        gap: 38px;
        width: min(calc(100% - 56px), 1080px);
    }

    .rafyzo-auth-platform-showcase > h1 {
        font-size: 48px;
    }

    .rafyzo-auth-service-grid {
        grid-template-columns: 1fr;
    }

    .rafyzo-auth-service-card {
        align-items: center;
    }

    .rafyzo-auth-service-card small {
        font-size: 10px;
    }
}

@media (max-width: 850px) {
    .rafyzo-register-plan-summary {
        align-items: flex-start;
    }

    .rafyzo-register-plan-summary__copy {
        flex-wrap: wrap;
    }

    .rafyzo-auth-page--platform .rafyzo-auth-header__container {
        width: calc(100% - 30px);
        min-height: 68px;
    }

    .rafyzo-auth-header__actions {
        gap: 8px;
    }

    .rafyzo-auth-page--platform .rafyzo-auth-header__register span {
        display: none;
    }

    .rafyzo-auth-page--platform .rafyzo-auth-header__register a {
        min-height: 36px;
        padding: 0 11px;
        font-size: 11px;
    }

    .rafyzo-auth-platform-layout {
        display: block;
        width: min(calc(100% - 30px), 590px);
        min-height: auto;
        padding: 34px 0 48px;
    }

    .rafyzo-auth-platform-showcase {
        margin-bottom: 28px;
        text-align: center;
    }

    .rafyzo-register-page .rafyzo-auth-platform-showcase {
        position: static;
        padding-top: 0;
    }

    .rafyzo-auth-platform-showcase > h1 {
        margin-top: 16px;
        font-size: clamp(38px, 11vw, 52px);
    }

    .rafyzo-auth-platform-showcase > p {
        margin: 18px auto 0;
        font-size: 14px;
    }

    .rafyzo-auth-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 24px;
        text-align: left;
    }

    .rafyzo-auth-service-card {
        display: block;
        padding: 13px;
    }

    .rafyzo-auth-service-card__icon {
        margin-bottom: 10px;
    }

    .rafyzo-auth-service-card small {
        display: none;
    }

    .rafyzo-auth-platform-board {
        display: none;
    }

    .rafyzo-auth-platform-note {
        margin: 16px auto 0;
        text-align: left;
    }

    .rafyzo-auth-page--platform .rafyzo-login-area,
    .rafyzo-auth-page--platform .rafyzo-register-area {
        max-width: none;
    }

    .rafyzo-auth-page--platform .rafyzo-login-card,
    .rafyzo-auth-page--platform .rafyzo-register-card {
        padding: 30px 24px 26px;
    }
}

@media (max-width: 520px) {
    .rafyzo-auth-page--platform .rafyzo-auth-header__logo-image {
        max-width: 120px;
    }

    .rafyzo-auth-platform-layout {
        width: calc(100% - 24px);
        padding-top: 25px;
    }

    .rafyzo-auth-platform-showcase > h1 {
        font-size: 39px;
    }

    .rafyzo-auth-platform-eyebrow {
        font-size: 9px;
    }

    .rafyzo-auth-service-grid {
        gap: 7px;
    }

    .rafyzo-auth-service-card {
        min-height: 95px;
        padding: 10px;
        border-radius: 14px;
    }

    .rafyzo-auth-service-card__icon {
        width: 34px;
        height: 34px;
    }

    .rafyzo-auth-service-card strong {
        font-size: 10px;
    }

    .rafyzo-auth-platform-note {
        display: none;
    }

    .rafyzo-auth-page--platform .rafyzo-login-card,
    .rafyzo-auth-page--platform .rafyzo-register-card {
        padding: 26px 18px 23px;
        border-radius: 20px;
    }

    .rafyzo-auth-page--platform .rafyzo-login-card__heading h2,
    .rafyzo-auth-page--platform .rafyzo-register-card__heading h2 {
        font-size: 25px;
    }

    .rafyzo-register-workspace-picker {
        gap: 6px;
    }

    .rafyzo-register-workspace-option {
        min-height: 96px;
        padding: 10px !important;
        border-radius: 13px !important;
    }

    .rafyzo-register-workspace-option__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .rafyzo-register-workspace-option strong {
        font-size: 10px;
    }

    .rafyzo-register-workspace-option small {
        font-size: 8px;
    }
}


.rafyzo-login-message {
    display: none;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.5;
}

.rafyzo-login-message.is-error {
    display: block;
    border: 1px solid #f0c7cc;
    background: #fff3f4;
    color: #c93849;
}

.rafyzo-login-message.is-success {
    display: block;
    border: 1px solid #cce9d8;
    background: #f0fbf4;
    color: #25864e;
}

.rafyzo-google-signup-verified {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 13px 14px;
    border: 1px solid #d8cffc;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbfaff 0%, #f6f2ff 100%);
}

.rafyzo-google-signup-verified strong,
.rafyzo-google-signup-verified small {
    display: block;
}

.rafyzo-google-signup-verified strong {
    color: #2d2354;
    font-size: 13px;
    font-weight: 850;
}

.rafyzo-google-signup-verified small {
    margin-top: 3px;
    color: #77708b;
    font-size: 11px;
    word-break: break-word;
}

.rafyzo-register-form.is-google-signup input[readonly] {
    background: #f7f5fb !important;
    color: #625b70 !important;
    cursor: default;
}

/* RAFYZO Batch 4: unified phone country picker + live password policy. */
.rafyzo-register-phone {
    display: block;
}

.rafyzo-password-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 10px;
}

.rafyzo-password-rules span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #8c8d9b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    transition: color .18s ease;
}

.rafyzo-password-rules i {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border: 1px solid #cbcbd6;
    border-radius: 999px;
    background: #ececf2;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, 0);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rafyzo-password-rules span.is-complete {
    color: #16864f;
}

.rafyzo-password-rules span.is-complete i {
    border-color: #29a866;
    background: #29a866;
    box-shadow: 0 0 0 3px rgba(41, 168, 102, .12);
}

@media (max-width: 640px) {
    .rafyzo-password-rules {
        grid-template-columns: 1fr;
    }
}
