.upkeo-pwa-assistant {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 14px 34px rgba(15, 23, 42, .22);
    color: #1f2937;
    display: none;
    gap: 10px;
    left: 12px;
    max-width: min(560px, calc(100vw - 24px));
    padding: 12px;
    position: fixed;
    right: 12px;
    z-index: 1040;
}

.upkeo-pwa-assistant.is-visible {
    display: flex;
}

.upkeo-pwa-assistant__icon {
    align-items: center;
    background: #f0f6ff;
    border-radius: 8px;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.upkeo-pwa-assistant__body {
    flex: 1 1 auto;
    min-width: 0;
}

.upkeo-pwa-assistant__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 3px;
}

.upkeo-pwa-assistant__message,
.upkeo-pwa-assistant__instructions {
    font-size: 12px;
    line-height: 1.35;
}

.upkeo-pwa-assistant__message {
    color: #4b5563;
}

.upkeo-pwa-assistant__instructions {
    background: #f8fafc;
    border-radius: 8px;
    color: #334155;
    display: none;
    margin-top: 8px;
    padding: 8px;
}

.upkeo-pwa-assistant__instructions.is-visible {
    display: block;
}

.upkeo-pwa-assistant__actions {
    align-items: stretch;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
}

.upkeo-pwa-assistant__actions .btn {
    white-space: nowrap;
}

.upkeo-pwa-assistant__close {
    align-items: center;
    display: inline-flex;
    height: 31px;
    justify-content: center;
    min-width: 31px;
}

.dark-mode .upkeo-pwa-assistant {
    background: #1f2937;
    border-color: rgba(255, 255, 255, .14);
    color: #f8fafc;
}

.dark-mode .upkeo-pwa-assistant__message {
    color: #cbd5e1;
}

.dark-mode .upkeo-pwa-assistant__instructions {
    background: rgba(15, 23, 42, .55);
    color: #e2e8f0;
}

@media (min-width: 576px) {
    .upkeo-pwa-assistant {
        left: auto;
    }
}

@media (max-width: 420px) {
    .upkeo-pwa-assistant {
        flex-wrap: wrap;
    }

    .upkeo-pwa-assistant__actions {
        flex: 1 0 100%;
        justify-content: flex-end;
    }
}
