/**
 * GI Push — Styles frontend
 * Eat's For Me · GIANNARELLI Web & Communication
 */

/* ── Bandeau de permission ──────────────────────────────────────────────── */

#gi-push-banner {
    position: fixed;
    bottom: 72px; /* au-dessus de la tabbar GI */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 480px;
    z-index: 99998;
    background: var(--gi-dark-2, #2C2F38);
    border: 1px solid rgba(87, 225, 255, 0.20);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    padding: 14px 16px;
    font-family: var(--gi-font, 'Quicksand', sans-serif);

    /* Entrée animée */
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#gi-push-banner.gi-push-banner--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.gi-push-banner__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gi-push-banner__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.gi-push-banner__text {
    flex: 1;
    min-width: 0;
}

.gi-push-banner__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gi-white, #ffffff);
    margin: 0 0 2px;
    line-height: 1.2;
}

.gi-push-banner__subtitle {
    font-size: 0.78rem;
    color: var(--gi-grey-300, #CDD3DE);
    margin: 0;
    line-height: 1.35;
}

.gi-push-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.gi-push-banner__btn {
    background: var(--gi-cyan, #57E1FF);
    color: var(--gi-dark, #22242A);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.gi-push-banner__btn:active {
    opacity: 0.8;
    transform: scale(0.96);
}

.gi-push-banner__close {
    background: none;
    border: none;
    color: var(--gi-grey-500, #8892A4);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.gi-push-banner__close:hover {
    color: var(--gi-white, #fff);
}
