/* GR Push Notifications — Modal frontend */

.grpush-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    animation: grpush-fadein .25s ease;
}

@media (min-width: 480px) {
    .grpush-overlay { align-items: center; }
}

@keyframes grpush-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.grpush-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    max-width: 380px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    animation: grpush-slidein .3s ease;
}

@keyframes grpush-slidein {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.grpush-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.grpush-close:hover { color: #475569; }

.grpush-body { text-align: center; }

.grpush-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.grpush-modal h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.grpush-modal p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.grpush-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.grpush-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
}

.grpush-accept {
    background: #4f46e5;
    color: #fff;
}

.grpush-accept:hover { background: #4338ca; }

.grpush-decline {
    background: #f1f5f9;
    color: #475569;
}

.grpush-decline:hover { background: #e2e8f0; }
