html,
body,
body.employee-app-shell,
body.employee-auth-screen,
body.employee-password-screen,
body.landing-screen {
    --bs-body-font-family: system-ui, sans-serif;
    font-family: system-ui, sans-serif;
}

input,
button,
select,
textarea {
    font-family: system-ui, sans-serif;
}

html.is-standalone,
body.is-standalone {
    overscroll-behavior-y: contain;
}

body.is-standalone.employee-app-shell {
    background:
        radial-gradient(circle at top left, rgba(31, 94, 255, 0.2), transparent 24%),
        linear-gradient(180deg, #eaf1ff 0%, #f5f8fc 48%, #f2f5fb 100%);
}

body.is-standalone.employee-auth-screen,
body.is-standalone.landing-screen {
    min-height: 100svh;
}

.pwa-install-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(140deg, #0f2357 0%, #1547b7 58%, #1f5eff 100%);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 35, 87, 0.18);
}

.pwa-install-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -42px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.pwa-install-card > * {
    position: relative;
    z-index: 1;
}

.pwa-install-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pwa-install-title {
    margin: 14px 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.pwa-install-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.pwa-install-button,
.pwa-secondary-button {
    min-height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pwa-install-button {
    background: #ffffff;
    color: #1547b7;
    box-shadow: 0 12px 24px rgba(7, 19, 56, 0.2);
}

.pwa-secondary-button {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.pwa-install-button:active,
.pwa-secondary-button:active {
    transform: scale(0.98);
}

.pwa-install-button[disabled] {
    opacity: 0.7;
    cursor: default;
}

.pwa-install-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 420px) {
    .pwa-install-card {
        padding: 16px;
        border-radius: 22px;
    }

    .pwa-install-title {
        font-size: 20px;
    }

    .pwa-install-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pwa-install-button,
    .pwa-secondary-button {
        width: 100%;
    }
}
