body.rihlatk-is-auth .rihlatk-auth-page {
    background: transparent;
    padding: 28px 16px 40px;
    min-height: 0;
}
body.rihlatk-is-auth .rihlatk-auth-page > .rihlatk-auth {
    margin-top: 0;
}
.rihlatk-auth {
    display: block;
    background: transparent;
    padding: 8px 0 16px;
    max-width: 400px;
    margin: 0 auto;
}
.rihlatk-auth__box {
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.rihlatk-auth__box--wide { max-width: 400px; margin: 0 auto; }
.rihlatk-auth__logo {
    display: block;
    height: 96px;
    width: auto;
    max-width: 280px;
    margin: 0 auto 22px;
    object-fit: contain;
}
.rihlatk-auth__eyebrow {
    margin: 0 0 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #1B3D6B;
}
.rihlatk-auth__steps {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}
.rihlatk-auth__steps li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #F3F4F6;
    color: #6B7280;
    font-size: 12px;
    font-weight: 800;
}
.rihlatk-auth__steps li span {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #E5E7EB;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.rihlatk-auth__steps li.is-on { background: #E8F1FC; color: #1B3D6B; }
.rihlatk-auth__steps li.is-on span { background: #1A78E5; color: #fff; }
.rihlatk-auth__hint {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    line-height: 1.6;
}
.rihlatk-auth__forgot {
    margin: 8px 0 0;
    text-align: start;
}
.rihlatk-auth__forgot a {
    font-size: 13px;
    font-weight: 800;
    color: #1A78E5;
    text-decoration: none;
}
.rihlatk-auth__req {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    line-height: 1.5;
}
.rihlatk-auth__pwcheck {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.rihlatk-auth__pwcheck li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #9CA3AF;
    line-height: 1.4;
}
.rihlatk-auth__pwcheck li::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 999px;
    border: 1.5px solid #D1D5DB;
    background: #fff;
    box-sizing: border-box;
}
.rihlatk-auth__pwcheck li.is-ok {
    color: #166534;
}
.rihlatk-auth__pwcheck li.is-ok::before {
    border-color: #166534;
    background: #166534;
    box-shadow: inset 0 0 0 2px #fff;
}
.rihlatk-auth__pwcheck li.is-bad {
    color: #B42318;
}
.rihlatk-auth__pwcheck li.is-bad::before {
    border-color: #B42318;
}
.rihlatk-auth__pwcheck li[hidden] {
    display: none;
}
.rihlatk-auth__text {
    display: block;
    width: 100%;
    margin-top: 10px;
    border: 0;
    background: none;
    color: #1A78E5;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.rihlatk-auth__title {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0A1017;
}
.rihlatk-auth__sub {
    margin: 8px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    line-height: 1.7;
}
.rihlatk-auth__alert {
    margin: 20px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}
.rihlatk-auth__alert--err { background: #FEF3F2; color: #B42318; }
.rihlatk-auth__alert--ok { background: #ECFDF3; color: #166534; }
.rihlatk-auth label {
    display: block;
    margin: 16px 0 6px;
    font-size: 13px;
    font-weight: 800;
    color: #374151;
}
.rihlatk-auth input[type="email"],
.rihlatk-auth input[type="password"],
.rihlatk-auth input[type="text"],
.rihlatk-auth input[type="tel"],
.rihlatk-auth input[type="search"] {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
}
.rihlatk-auth input.is-invalid {
    border-color: #F97066;
}
.rihlatk-field-msg {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: #B42318;
    line-height: 1.5;
}
.rihlatk-auth__captcha-label { display: none; }
.rihlatk-auth input[name="code"] {
    letter-spacing: .4em;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
}
.rihlatk-auth__row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #4B5563;
}
.rihlatk-auth__btn {
    width: 100%;
    margin-top: 20px;
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    background: #1A78E5;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.rihlatk-auth__btn:disabled { opacity: .55; cursor: not-allowed; }
.rihlatk-auth__ghost {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #111827;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.rihlatk-auth__foot {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #6B7280;
}
.rihlatk-auth[dir="ltr"] input[type="email"],
.rihlatk-auth[dir="ltr"] input[type="text"],
.rihlatk-auth[dir="ltr"] input[type="password"],
.rihlatk-auth[dir="ltr"] input[type="tel"] {
    text-align: left;
}
.rihlatk-auth[dir="ltr"] .rihlatk-auth__row {
    flex-direction: row;
}
.rihlatk-auth__foot a { color: #1A78E5; font-weight: 800; }
.rihlatk-auth__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.rihlatk-auth__grid label { margin-top: 16px; }
.rihlatk-auth__channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.rihlatk-auth__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #374151;
    background: #F9FAFB;
}
.rihlatk-auth__captcha {
    margin-top: 18px;
    padding: 0;
    background: transparent;
    border: 0;
}
.rihlatk-auth__captcha-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    color: #374151;
}
@media (max-width: 520px) {
    .rihlatk-auth__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .rihlatk-auth input[type="email"],
    .rihlatk-auth input[type="password"],
    .rihlatk-auth input[type="text"],
    .rihlatk-auth input[type="tel"],
    .rihlatk-auth input[type="search"],
    .rihlatk-auth select,
    .rihlatk-auth textarea {
        font-size: 16px !important;
    }
}
