/* The website's loader (services/shell.js): what shows while Plexora's
   Python starts, before the page it asked for is written in its place. */
html, body {
    margin: 0;
    height: 100%;
    background: var(--plx-bg, #f6f7f9);
    color: var(--plx-text, #1d2433);
    font-family: var(--plx-font, system-ui, -apple-system, "Segoe UI", sans-serif);
}

#plexora-boot {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

#plexora-boot img {
    width: 56px;
    height: 56px;
}

#plexora-boot-status {
    font-size: 14px;
    color: var(--plx-text-muted, #5b6474);
}

#plexora-boot.plexora-boot-failed #plexora-boot-status {
    color: var(--plx-danger, #b42318);
    max-width: 40em;
    text-align: center;
}

/* A question before the app starts (a folder to open again). */
.plexora-boot-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.plexora-boot-actions button {
    font: inherit;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-strong, #8a93a3);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.plexora-boot-actions button.is-primary {
    background: var(--accent-channel, #2f80ed);
    border-color: var(--accent-channel, #2f80ed);
    color: #fff;
}

#plexora-boot-status {
    max-width: 40em;
    text-align: center;
}

@media (prefers-color-scheme: dark) {
    html, body {
        background: var(--plx-bg, #12151b);
        color: var(--plx-text, #e6e9ef);
    }
}

/* The app, in a frame filling the window (services/shell.js). */
.plexora-app-frame {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}
