/* Pardofelis branding; Authelia authentication components remain unchanged. */
html { min-height: 100%; background: #f2e5dc !important; }
body { min-height:100vh; background:transparent !important; }
body::before { content:""; position:fixed; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(30,23,34,.17),rgba(255,242,231,.10)),url('/branding/background.jpg') center center / cover no-repeat; }
#root { min-height:100vh; background:transparent !important; }
#first-factor-stage > div:first-child,
[id$="-stage"] > div:first-child {
 background:rgba(255,250,247,.88) !important;
 backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
 border:1px solid rgba(255,255,255,.7); border-radius:26px;
 box-shadow:0 18px 65px rgba(55,31,42,.22);
 padding:28px 32px !important; margin:32px 20px;
 color:#392f37; --foreground:#392f37; --muted-foreground:#71636d;
 --primary:#a85d7c; --primary-foreground:#ffffff; --input:#c8b9c0;
 --background:#fffaf7; --border:#ddd0d7;
}
img[alt="Logo"] { width:104px !important; height:104px !important; object-fit:cover; object-position:50% 43%; border-radius:50%; border:4px solid rgba(255,255,255,.95); box-shadow:0 5px 18px rgba(110,62,86,.22); }
#sign-in-button { border-radius:12px; }
#username-textfield,#password-textfield { background:rgba(255,255,255,.55); border-radius:10px; }
@media(max-width:600px) { body::before { background-position:65% center; } #first-factor-stage > div:first-child,[id$="-stage"] > div:first-child { padding:24px !important; margin:20px 16px; } }

/* Match logo by URL as alt text can differ between locales. */
#root img[src*="static/media/logo"],
#root img[alt="Logo" i] {
 width: 88px !important;
 height: 88px !important;
 min-width: 88px !important;
 max-width: 88px !important;
 aspect-ratio: 1 / 1 !important;
 object-fit: cover !important;
 object-position: center 43% !important;
 border-radius: 50% !important;
 clip-path: circle(50%) !important;
 overflow: hidden !important;
 display: block !important;
 margin: 8px auto !important;
}

/* User supplied Aixin font and dusty rose button swatch (#D6B5AE). */
@font-face {
 font-family: 'Pardofelis Aixin';
 src: url('/branding/aixin.ttf') format('truetype');
 font-style: normal;
 font-weight: 100 900;
 font-display: swap;
}
html, body, #root, #root input, #root button, #root select, #root textarea {
 font-family: 'Pardofelis Aixin', sans-serif !important;
}
#sign-in-button { background-color:#d6b5ae !important; color:#392f37 !important; border-color:#d6b5ae !important; }
#sign-in-button:hover { background-color:#caa39b !important; }
#sign-in-button:active { background-color:#bd938b !important; }
#sign-in-button:disabled { background-color:#d6b5ae !important; opacity:.65; }
