/* v26.2d layout clean fix */

/* No visible version badge anywhere */
.version-corner-badge,
.navbar-version-pill,
.footer-version-pill,
.footer-version-text,
.footer-version-inline,
.bottom-version-pill,
.version-badge,
.version-badge-bottom,
.version-badge-floating,
.floating-version,
.version-floating,
.local-version,
.app-version,
.ticketflow-footer-fixed-version {
    display: none !important;
    visibility: hidden !important;
}

/* Footer: restore one clean blue footer bar with language/date aligned right */
.site-footer {
    flex-shrink: 0;
}

.site-footer .footer-bar {
    background: #245f9c !important;
}

.site-footer .footer-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
}

.site-footer .footer-right {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

.site-footer .footer-language-switch {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Remove white leftover / pseudo elements from earlier version attempts */
.site-footer::before,
.site-footer::after,
.footer-bar::before,
.footer-bar::after,
.footer-inner::before,
.footer-inner::after,
body::after {
    content: none !important;
    display: none !important;
}

/* Planning ribbon: same calm ribbon idea as Taken/Projecten, inside content */
.planning-ribbon-clean {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 18px 0;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid rgba(26, 73, 120, 0.12);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 38, 64, 0.06);
}

.planning-ribbon-clean .ribbon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid rgba(26, 73, 120, 0.22);
    background: #ffffff;
    color: #12304f;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(15, 38, 64, 0.03);
}

.planning-ribbon-clean .ribbon-btn.active,
.planning-ribbon-clean .ribbon-btn:hover {
    background: #eaf3fc;
    border-color: rgba(26, 73, 120, 0.35);
}

/* Avoid oversized top whitespace introduced by misplaced ribbons */
body > .planning-ribbon-clean {
    display: none !important;
}
