/* 
   📱 IFRINA PWA Styling
   Premium App Banner & UI
*/

.pwa-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10001;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 105, 180, 0.3);
    animation: pwaSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 576px) {
    .pwa-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
    }
}

.pwa-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.pwa-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pwa-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
    object-fit: cover;
}

.pwa-text {
    display: flex;
    flex-direction: column;
}

.pwa-text strong {
    font-size: 1rem;
    color: #111;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.pwa-text span {
    font-size: 0.8rem;
    color: #666;
    font-family: 'Montserrat', sans-serif;
}

.btn-close-pwa {
    background: #f1f3f5;
    border: none;
    color: #333;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-pwa:hover {
    background: #ff69b4;
    color: white;
    transform: rotate(90deg);
}

#pwa-nav-btn {
    position: relative;
    font-weight: 700 !important;
}

#pwa-nav-btn i {
    animation: pwaPulseIcon 2s infinite;
    display: inline-block;
}

@keyframes pwaSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pwaSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes pwaPulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        color: #ff69b4;
    }

    100% {
        transform: scale(1);
    }
}

.pwa-success-message {
    font-family: 'Montserrat', sans-serif !important;
    border: none !important;
}