@charset "UTF-8";

.rahjoo-auth {
    --auth-color: #205bc3;
    --auth-soft: #edf4ff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: stretch;
    width: min(1020px, calc(100% - 32px));
    margin: 16px auto 32px;
    border: 1px solid #e0e8f3;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 65px #18375814;
    overflow: hidden;
}

.rahjoo-auth--recovery {
    --auth-color: #6d43ad;
    --auth-soft: #f4effc;
}

.rahjoo-auth-story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 42px;
    color: #ffffff;
    background: radial-gradient(circle at 0% 100%, #168d9b 0%, transparent 60%),
        linear-gradient(140deg, #11294c, #205bc3);
}

.rahjoo-auth--recovery .rahjoo-auth-story {
    background: radial-gradient(circle at 0% 100%, #b3609f 0%, transparent 60%),
        linear-gradient(140deg, #242447, #6d43ad);
}

.rahjoo-auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 32px;
    font-weight: 800;
}

.rahjoo-auth-brand i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #ffffff40;
    border-radius: 18px;
    background: #ffffff18;
    font-size: 26px;
}

.rahjoo-auth-eyebrow {
    color: #e0eaff;
    font-size: 12px;
}

.rahjoo-auth-story h2 {
    margin: 12px 0 0;
    color: #ffffff;
    font-size: 29px;
    line-height: 1.7;
}

.rahjoo-auth-story p {
    margin: 0;
    color: #edf2ff;
    font-size: 14px;
    line-height: 2.1;
}

.rahjoo-auth-route {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    font-size: 23px;
}

.rahjoo-auth-route span {
    flex: 1;
    border-top: 2px dashed #ffffff70;
}

.rahjoo-auth-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.rahjoo-auth-features span {
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff15;
    font-size: 11px;
}

.rahjoo-auth-card {
    min-width: 0;
    padding: 40px;
}

.rahjoo-auth-heading {
    margin-bottom: 28px;
}

.rahjoo-auth-symbol {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: var(--auth-color);
    background: var(--auth-soft);
    font-size: 27px;
}

.rahjoo-auth-heading p {
    margin: 0 0 6px;
    color: var(--auth-color);
    font-size: 12px;
    font-weight: 700;
}

.rahjoo-auth-heading h1 {
    margin: 0 0 12px;
    color: #203957;
    font-size: 24px;
    line-height: 1.7;
}

.rahjoo-auth-heading > span:last-child {
    color: #5a6c83;
    font-size: 13px;
    line-height: 1.9;
}

.rahjoo-auth .rahjoo-auth-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px !important;
    position: relative;
}

.rahjoo-auth .rahjoo-auth-field label {
    position: static !important;
    order: -1;
    transform: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #344d6c !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 700;
    opacity: 1 !important;
}

.rahjoo-auth .rahjoo-auth-field input {
    height: 52px !important;
    padding: 10px 42px 10px 14px !important;
    border: 1px solid #d8e2ef !important;
    border-radius: 13px !important;
    background: #f8fafd;
    color: #203957;
    font-size: 16px !important;
    box-shadow: none;
    text-align: left !important;
    width: 100%;
}

.rahjoo-auth .rahjoo-auth-field input:focus {
    border-color: var(--auth-color) !important;
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--auth-soft);
}

.rahjoo-auth .rahjoo-auth-field > i {
    position: absolute;
    top: auto !important;
    bottom: 18px;
    right: 15px;
    left: auto;
    color: var(--auth-color);
    font-size: 17px;
    pointer-events: none;
}

.rahjoo-auth-submit {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 13px 18px;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: var(--auth-color);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    cursor: pointer;
    box-shadow: 0 7px 18px #23345e1a;
}

.rahjoo-auth-submit:hover {
    filter: brightness(1.08);
}

.rahjoo-auth-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    margin-bottom: 22px;
    color: #992e42;
    background: #fff1f4;
    border: 1px solid #f0cbd5;
    border-radius: 12px;
    line-height: 2;
}

.rahjoo-auth-message > i {
    margin-top: 7px;
}

.rahjoo-auth-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8edf5;
}

.rahjoo-auth-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: var(--auth-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

@media (max-width: 767px) {
    .rahjoo-auth {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        margin-top: 8px;
        border-radius: 22px;
    }

    .rahjoo-auth-story {
        padding: 23px;
        gap: 10px;
    }

    .rahjoo-auth-story h2 {
        font-size: 21px;
        margin: 0;
    }

    .rahjoo-auth-story p {
        font-size: 12px;
    }

    .rahjoo-auth-route,
    .rahjoo-auth-features,
    .rahjoo-auth-eyebrow {
        display: none;
    }

    .rahjoo-auth-brand {
        font-size: 24px;
    }

    .rahjoo-auth-brand i {
        width: 42px;
        height: 42px;
        font-size: 21px;
    }

    .rahjoo-auth-card {
        padding: 24px 20px;
    }

    .rahjoo-auth-heading h1 {
        font-size: 22px;
    }
}
