/* src/MonolithAccessControl.Guest.Portal.Client/wwwroot/css/app.css */
:root {
    color-scheme: light;
    --guest-bg: #f5f7f8;
    --guest-surface: #ffffff;
    --guest-text: #14231f;
    --guest-muted: #687570;
    --guest-border: #dce4e1;
    --guest-primary: #147755;
    font-family: Inter, "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body, #app { min-height: 100%; margin: 0; }
body { background: var(--guest-bg); color: var(--guest-text); }
button, input, select { font: inherit; }
button:focus-visible, select:focus-visible { outline: 3px solid rgba(20,119,85,.23); outline-offset: 2px; }
.guest-shell { min-height: 100vh; display: flex; flex-direction: column; }
.guest-brand-bar { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 max(20px, calc((100vw - 1040px) / 2)); border-bottom: 1px solid var(--guest-border); background: rgba(255,255,255,.94); }
.guest-brand { display: flex; align-items: center; gap: 9px; color: var(--guest-text); text-decoration: none; font-weight: 800; }
.guest-brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--guest-primary); color: #fff; }
.guest-brand-service { color: var(--guest-muted); font-size: .84rem; font-weight: 700; }
.guest-main { width: min(1040px, calc(100% - 32px)); margin: 30px auto; display: grid; gap: 12px; flex: 1; }
.guest-footer { padding: 18px; color: var(--guest-muted); text-align: center; font-size: .75rem; }

#blazor-error-ui { display: none; position: fixed; inset: auto 16px 16px; z-index: 1000; border-radius: 10px; padding: 12px 16px; background: #fff0ed; color: #8b2519; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
