/* Portela Wedding — auth page layout only.
   HMDIA's own Form Design template controls inner form colours and typography. */
:root{--portela-navy:#172743;--portela-raised:#294867;--portela-silver:#A6BDCF;--portela-ivory:#FFFDF8;--portela-muted:#CFDCE8}
html{min-height:100%}
body.portela-auth-page{margin:0;min-height:100vh;background:var(--portela-navy);color:var(--portela-ivory);font-family:Montserrat,Arial,sans-serif}
.portela-auth-shell{min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:28px 18px 42px}
.portela-auth-frame{width:100%;max-width:568px}
.portela-auth-header{padding:22px 16px 22px;text-align:center;border:1px solid #8297AA;border-bottom:0;border-radius:19px 19px 0 0;background:var(--portela-navy)}
.portela-auth-seal-link{display:block;width:110px;height:110px;margin-inline:auto}
.portela-auth-seal-link img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 9px #07172E77)}
.portela-auth-card{box-sizing:border-box;padding:20px 21px 26px;border:1px solid #8297AA;border-top:0;border-radius:0 0 19px 19px;background:var(--portela-navy);color:var(--portela-ivory);box-shadow:0 22px 55px #06142B55}
.portela-auth-card>*{max-width:100%}
.portela-auth-card .ui-wrap{max-width:100%;margin:0 auto}
body.page-id-9 .portela-auth-card .ui-head:has(>h2:empty):has(>p:empty){display:none}
.portela-auth-footer{display:flex;justify-content:space-between;gap:12px;padding:15px 8px;color:var(--portela-muted);font-size:10px}
.portela-auth-footer a{color:var(--portela-muted)}

@media(max-width:560px){.portela-auth-shell{align-items:flex-start;padding:12px 10px 24px}.portela-auth-header{padding:20px 10px 18px}.portela-auth-seal-link{width:91px;height:91px}.portela-auth-card{padding:16px 13px 22px}.portela-auth-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.portela-auth-seal-link img{filter:none}}
