#portal-recovery {
    width: min(28rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: .75rem;
    background: var(--background, #fff);
    color: var(--foreground, #1e293b);
    box-shadow: 0 20px 50px #0003;
    direction: rtl;
}
#portal-recovery::backdrop { background: #0f172a80; }
#portal-recovery > .kt-card { padding: 1.5rem; }
#portal-recovery [hidden] { display: none !important; }
