/* PWA Notification Styles */
#pwa-install-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    width: 90%;
    max-width: 500px;
    animation: pwa-notification-slide-up 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.pwa-notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.pwa-notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pwa-notification-text {
    flex: 1;
    min-width: 0;
}

.pwa-notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.pwa-notification-subtitle {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

.pwa-notification-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pwa-install-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.pwa-install-btn:hover {
    background: #3a80d2;
}

.pwa-close-btn {
    background: transparent;
    color: #999;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.pwa-close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.pwa-notification-hiding {
    animation: pwa-notification-slide-down 0.3s ease forwards;
}

/* Animations */
@keyframes pwa-notification-slide-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes pwa-notification-slide-down {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    #pwa-install-notification {
        bottom: 10px;
        width: calc(100% - 20px);
    }
    
    .pwa-notification-content {
        padding: 12px;
    }
    
    .pwa-notification-icon {
        font-size: 20px;
    }
    
    .pwa-notification-title {
        font-size: 13px;
    }
    
    .pwa-notification-subtitle {
        font-size: 11px;
    }
    
    .pwa-install-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}