.grc-pwa-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 10050;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.28);
    animation: grcPwaSlideUp 0.35s ease;
}

.grc-pwa-banner--push {
    bottom: max(88px, calc(12px + env(safe-area-inset-bottom)));
    z-index: 10051;
}

.grc-pwa-banner--ios {
    bottom: max(12px, env(safe-area-inset-bottom));
}

.grc-pwa-banner--ios.grc-pwa-banner--push {
    bottom: max(88px, calc(12px + env(safe-area-inset-bottom)));
}

@media (min-width: 640px) {
    .grc-pwa-banner--push {
        bottom: 100px;
    }
}


.grc-pwa-banner__icon-wrap {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    padding: 6px;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid rgba(20, 184, 166, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grc-pwa-banner__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.grc-pwa-banner__body {
    flex: 1 1 auto;
    min-width: 0;
}

.grc-pwa-banner__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.grc-pwa-banner__text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #cbd5e1;
}

.grc-pwa-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
}

.grc-pwa-banner__btn {
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.grc-pwa-banner__btn--primary {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #fff;
}

.grc-pwa-banner__btn--ghost {
    background: transparent;
    color: #94a3b8;
}

@media (min-width: 640px) {
    .grc-pwa-banner {
        left: auto;
        right: 20px;
        bottom: 20px;
        max-width: 420px;
    }

    .grc-pwa-banner__actions {
        flex-direction: row;
        align-items: center;
    }
}

@keyframes grcPwaSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão push — navbar do painel */
.grc-push-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    border: 1px solid rgba(20, 184, 166, 0.45);
    border-radius: 999px;
    padding: 7px 14px 7px 11px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: #0f766e;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 55%, #ccfbf1 100%);
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.grc-push-nav-btn i {
    font-size: 1.05rem;
    line-height: 1;
}

.grc-push-nav-btn:hover:not(:disabled) {
    color: #115e59;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    box-shadow: 0 3px 10px rgba(13, 148, 136, 0.2);
    transform: translateY(-1px);
}

.grc-push-nav-btn:active:not(:disabled) {
    transform: translateY(0);
}

.grc-push-nav-btn--blocked {
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.grc-push-nav-btn--blocked:hover:not(:disabled) {
    color: #92400e;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.grc-push-nav-btn--loading {
    opacity: 0.75;
    cursor: wait;
}

.grc-push-nav-btn__label {
    letter-spacing: 0.01em;
}

@media (max-width: 1199px) {
    .grc-push-nav-btn {
        padding: 7px 10px;
    }
    .grc-push-nav-btn__label {
        display: none;
    }
}
