/* ShpirtiChat 2.0.4: supporting navigation only. The selected original theme owns the logo, colours, fonts and chat controls. */

/* Hide obsolete text branding if a previously cached PHP template is still served. Keep the theme background logo visible. */
#inner_header .sc-wordmark,#header_login .sc-wordmark{display:none}

/* Navigation uses the theme's existing background_box foreground/background pair in the markup. */
.sc-header-links{display:flex;height:100%;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;padding-right:14px}
.sc-header-links a{display:inline-block;text-decoration:none;font-size:13px;padding:7px 10px;border-radius:6px}
.sc-header-links a:hover,.sc-header-links a:focus{text-decoration:underline}
.sc-header-links .sc-admin-link{font-weight:700}
.sc-login-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:22px 0 0;font-size:12px}
.sc-login-links a{display:inline-block;padding:6px 8px;border-radius:5px;text-decoration:underline}
.sc-header-links a:focus-visible,.sc-login-links a:focus-visible,.sc-help-banner:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Offscreen panels must not cast a shadow across the chat. Do not change their positions or dimensions. */
.sc-design-modern .panels{box-shadow:none!important}

/* Optional local guide banner: its colours also come from the theme's background_box class. */
.sc-help-banner{display:block;padding:18px 24px;text-decoration:none;text-align:center;font-size:18px;font-weight:600;line-height:1.4}
.sc-help-banner span{display:block;font-size:13px;font-weight:400;margin-top:4px}

/* Connection feedback is a separate component, using the same theme-owned colour pair. */
.sc-network-note{position:fixed;z-index:20000;left:50%;bottom:64px;transform:translateX(-50%);border:1px solid currentColor;border-radius:8px;padding:12px 18px;max-width:calc(100% - 64px);font-size:13px}

@media(max-width:660px){.sc-header-links a{padding:5px 7px;font-size:12px}.sc-login-links{max-width:320px;margin:24px auto;gap:10px}.sc-header-links{padding-right:4px;gap:3px}}
