/* Extracted from views/layout.php and views/layout-bare.php's inline styles. */

.site-footer {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.site-footer a {
    color: #7f8c8d;
    text-decoration: underline;
}

.site-footer a + a {
    margin-left: 0.8rem;
}

.brand-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.brand-logo {
    height: 84px;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.site-footer-links {
    margin: 0;
    font-size: 0.92rem;
}

.site-footer-links--spaced {
    margin-top: 0.5rem;
    font-size: 0.92rem;
}

.nav-chevron {
    font-size: 0.7rem;
}

.nav-dropdown-toggle--gap-md {
    gap: 0.5rem;
}

.nav-dropdown-toggle--gap-sm {
    gap: 0.4rem;
}

.locale-link--active {
    font-weight: 600;
}

.locale-spacer {
    display: inline-block;
    width: 1rem;
}

.global-notice {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.global-notice i {
    font-size: 1rem;
}

/* Pill toggle styles — applied globally to convert checkboxes to pill toggles (see
   public/js/layout.js's pill-toggle auto-init). */
.pill-toggle { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.pill-toggle input[type="checkbox"] { position: relative; opacity: 0; width: 0; height: 0; margin: 0; padding: 0; }
.pill-toggle .pill { width: 44px; height: 22px; background: #e9ecef; border-radius: 999px; position: relative; display: inline-block; flex: 0 0 auto; }
.pill-toggle .pill::after { content: ""; position: absolute; width: 18px; height: 18px; background: #fff; border-radius: 50%; top: 2px; left: 2px; box-shadow: 0 1px 2px rgba(0,0,0,0.15); transition: left .12s ease; }
.pill-toggle input[type="checkbox"]:checked + .pill { background: #4caf50; }
.pill-toggle input[type="checkbox"]:checked + .pill::after { left: 24px; }
.pill-toggle .pill-desc { color: #333; font-size: 0.95rem; }

.dev-mode-header {
    background: #8d540f;
}

.db-stats-toggle-btn {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
    font-size: 0.85rem;
}

.db-stats-hide-btn {
    position: fixed;
    right: 8px;
    bottom: calc(8px + 260px);
    z-index: 9999;
    background: #2c3e50;
    color: #fff;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
}

.db-stats-wrapper {
    display: none;
}

.db-stats-toggle-wrapper {
    position: fixed;
    right: 8px;
    bottom: 8px;
    z-index: 9999;
}
