/*
 * Orixs platform footer ("Powered by Orixs"). Fixed platform branding: tenants cannot replace it.
 * app variant: slim bar under the scrolling content area (no overlay). standalone variant: centred line
 * at the end of login/public pages. Logical properties keep it correct in RTL.
 */
.orixs-platform-footer {
    --orixs-footer-fg: var(--ui-muted, #5b6478);
    --orixs-footer-name: var(--ui-text, #1f2937);
    --orixs-footer-line: var(--ui-border, #dfe3ec);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 6px 16px;
    font-size: 12px;
    line-height: 1.2;
    color: var(--orixs-footer-fg);
    text-align: center;
    position: static;
}

body.dark-theme .orixs-platform-footer {
    --orixs-footer-fg: #9aa4b8;
    --orixs-footer-name: #e6e9f0;
    --orixs-footer-line: rgba(255, 255, 255, .12);
}

.orixs-platform-footer--app {
    border-top: 1px solid var(--orixs-footer-line);
    background: var(--ui-surface, transparent);
}

.orixs-platform-footer--standalone {
    margin-top: 24px;
    padding: 16px;
}

.orixs-platform-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.orixs-platform-footer__link:hover,
.orixs-platform-footer__link:focus-visible {
    color: var(--orixs-footer-name);
    text-decoration: none;
}

.orixs-platform-footer__logo {
    display: block;
    height: 22px;
    width: auto;
    flex: none;
    padding: 0 4px;
    border-radius: 6px;
    background: #fff; /* the wordmark is dark blue on white: keep it legible in dark theme */
}

/* Auth pages sit on a split screen: keep the line inside the form column. */
.orixs-auth__column .orixs-platform-footer--standalone {
    margin-top: 16px;
}

@media (max-width: 575.98px) {
    .orixs-platform-footer { padding: 8px 12px; }
}

/* Never in print, PDF render or inside drawers/modals. */
@media print {
    .orixs-platform-footer { display: none !important; }
}
.modal .orixs-platform-footer,
#right-modal-content .orixs-platform-footer,
.task-detail-panel .orixs-platform-footer {
    display: none !important;
}
