body.rs-public-body,
body.rs-auth-body,
body.rs-app-body,
body.rs-instalasi-body {
    margin: 0;
    min-height: 100vh;
    color: var(--rs-text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 300;
    background-color: var(--rs-bg);
    background-image:
        linear-gradient(rgba(255,255,255,0.42), rgba(255,255,255,0.42)),
        var(--rs-bg-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html[data-rs-theme="gelap"] body.rs-public-body,
html[data-rs-theme="gelap"] body.rs-auth-body,
html[data-rs-theme="gelap"] body.rs-app-body,
html[data-rs-theme="gelap"] body.rs-instalasi-body {
    background-image:
        linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.55)),
        var(--rs-bg-image);
}

body.rs-instalasi-body {
    display: flex;
    flex-direction: column;
}

body.rs-instalasi-body .rs-instalasi-main {
    flex: 1 0 auto;
}

a {
    color: inherit;
}

code {
    padding: 0.15rem 0.45rem;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.06);
    color: var(--rs-accent-strong);
    font-size: 0.9em;
}

.rs-public-main,
.rs-auth-main,
.rs-instalasi-main {
    padding: 1.5rem 0 2rem;
}

.rs-global-topbar,
.rs-global-footer,
.rs-app-sidebar,
.rs-app-topbar,
.rs-app-footer {
    backdrop-filter: blur(10px);
}

.rs-global-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--rs-border);
    background: var(--rs-panel);
}

.rs-global-topbar__inner,
.rs-global-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
}

.rs-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.rs-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: var(--rs-accent-strong);
    color: #fff;
    font-weight: 300;
    box-shadow: var(--rs-shadow-sm);
}

.rs-brand small,
.rs-global-footer,
.rs-app-user small,
.rs-app-nav__label,
.rs-app-footer {
    color: var(--rs-text-muted);
}

.rs-theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--rs-border);
    border-radius: 0;
    background: var(--rs-surface-muted);
    color: var(--rs-text-soft);
    box-shadow: var(--rs-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rs-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--rs-border-strong);
}

.rs-theme-toggle__icon {
    display: inline-flex;
    width: 1.1rem;
    height: 1.1rem;
}

.rs-theme-toggle__icon svg {
    width: 100%;
    height: 100%;
}

.rs-theme-toggle__icon--moon {
    display: none;
}

html[data-rs-theme="gelap"] .rs-theme-toggle__icon--sun {
    display: none;
}

html[data-rs-theme="gelap"] .rs-theme-toggle__icon--moon {
    display: inline-flex;
}

.rs-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rs-global-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.rs-global-footer--ringkas {
    margin-top: 0;
}

body.rs-instalasi-body .rs-global-footer {
    margin-top: auto;
}

.rs-global-footer__inner--ringkas {
    justify-content: center;
}

.rs-global-footer {
    margin-top: 1rem;
    border-top: 1px solid var(--rs-border);
    background: var(--rs-panel);
}


.container {
    max-width: var(--rs-container);
}


/* F3 standard background and typography baseline */
body.rs-public-body,
body.rs-auth-body,
body.rs-app-body,
body.rs-instalasi-body {
    position: relative;
    font-weight: 300;
    background-color: var(--rs-bg);
    background-image:
        linear-gradient(135deg, rgba(244, 248, 252, 0.48), rgba(232, 238, 245, 0.34)),
        var(--rs-bg-art),
        var(--rs-bg-image);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, center, center;
    background-size: cover, cover, cover;
    background-attachment: fixed, fixed, fixed;
}

html[data-rs-theme="gelap"] body.rs-public-body,
html[data-rs-theme="gelap"] body.rs-auth-body,
html[data-rs-theme="gelap"] body.rs-app-body,
html[data-rs-theme="gelap"] body.rs-instalasi-body {
    background-image:
        linear-gradient(135deg, rgba(13, 17, 22, 0.72), rgba(9, 13, 18, 0.66)),
        var(--rs-bg-art),
        var(--rs-bg-image);
}

body.rs-public-body h1,
body.rs-public-body h2,
body.rs-public-body h3,
body.rs-public-body h4,
body.rs-public-body h5,
body.rs-public-body h6,
body.rs-public-body strong,
body.rs-auth-body h1,
body.rs-auth-body h2,
body.rs-auth-body h3,
body.rs-auth-body h4,
body.rs-auth-body h5,
body.rs-auth-body h6,
body.rs-auth-body strong,
body.rs-app-body h1,
body.rs-app-body h2,
body.rs-app-body h3,
body.rs-app-body h4,
body.rs-app-body h5,
body.rs-app-body h6,
body.rs-app-body strong,
body.rs-instalasi-body h1,
body.rs-instalasi-body h2,
body.rs-instalasi-body h3,
body.rs-instalasi-body h4,
body.rs-instalasi-body h5,
body.rs-instalasi-body h6,
body.rs-instalasi-body strong {
    font-weight: 300;
}


/* F4 dark background polish: deeper base with controlled accent glow */
html[data-rs-theme="gelap"] body.rs-public-body,
html[data-rs-theme="gelap"] body.rs-auth-body,
html[data-rs-theme="gelap"] body.rs-app-body,
html[data-rs-theme="gelap"] body.rs-instalasi-body {
    background-color: #090d11;
    background-image:
        radial-gradient(circle at 18% 35%, rgba(249, 115, 22, 0.16), transparent 28%),
        radial-gradient(circle at 78% 12%, rgba(59, 130, 246, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(7, 10, 14, 0.86), rgba(9, 13, 18, 0.82)),
        var(--rs-bg-art),
        linear-gradient(135deg, #080b0f, #11161d);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, center, center, center, center;
    background-size: cover, cover, cover, cover, cover;
    background-attachment: fixed, fixed, fixed, fixed, fixed;
}

html[data-rs-theme="gelap"] .rs-global-topbar,
html[data-rs-theme="gelap"] .rs-global-footer {
    background: rgba(10, 14, 19, 0.62);
    border-color: rgba(255, 255, 255, 0.07);
}
