.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;
    }
}

/* Toast push — painel (logo do escritório) */
.jur-push-toast-host {
    position: fixed;
    top: calc(76px + env(safe-area-inset-top, 0px));
    right: 16px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.jur-push-toast {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 12px 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.jur-push-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2a5080 0%, #1e3a5f 100%);
    border-radius: 14px 0 0 14px;
}

.jur-push-toast--error::before {
    background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
}

.jur-push-toast--in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.jur-push-toast--out {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
}

.jur-push-toast--clickable {
    cursor: pointer;
}

.jur-push-toast__icon {
    display: block;
    width: 60px;
    height: 48px;
    padding: 5px;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
}

.jur-push-toast__content {
    min-width: 0;
    padding-top: 1px;
}

.jur-push-toast__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2px;
}

.jur-push-toast__title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
}

.jur-push-toast__body {
    margin: 4px 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #475569;
}

.jur-push-toast__close {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.jur-push-toast__close:hover {
    color: #334155;
}

@media (max-width: 575px) {
    .jur-push-toast-host {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}
